| /OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_repr.c | 343 netdev->hw_features = NETIF_F_HIGHDMA; in nfp_repr_init() 345 netdev->hw_features |= NETIF_F_RXCSUM; in nfp_repr_init() 347 netdev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in nfp_repr_init() 349 netdev->hw_features |= NETIF_F_SG; in nfp_repr_init() 352 netdev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in nfp_repr_init() 354 netdev->hw_features |= NETIF_F_RXHASH; in nfp_repr_init() 357 netdev->hw_features |= NETIF_F_GSO_UDP_TUNNEL; in nfp_repr_init() 361 netdev->hw_features |= NETIF_F_GSO_GRE; in nfp_repr_init() 364 netdev->hw_enc_features = netdev->hw_features; in nfp_repr_init() 366 netdev->vlan_features = netdev->hw_features; in nfp_repr_init() [all …]
|
| H A D | nfp_net_common.c | 3919 netdev->hw_features = NETIF_F_HIGHDMA; in nfp_net_netdev_init() 3921 netdev->hw_features |= NETIF_F_RXCSUM; in nfp_net_netdev_init() 3925 netdev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in nfp_net_netdev_init() 3929 netdev->hw_features |= NETIF_F_SG; in nfp_net_netdev_init() 3934 netdev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in nfp_net_netdev_init() 3939 netdev->hw_features |= NETIF_F_RXHASH; in nfp_net_netdev_init() 3942 netdev->hw_features |= NETIF_F_GSO_UDP_TUNNEL; in nfp_net_netdev_init() 3948 netdev->hw_features |= NETIF_F_GSO_GRE; in nfp_net_netdev_init() 3952 netdev->hw_enc_features = netdev->hw_features; in nfp_net_netdev_init() 3954 netdev->vlan_features = netdev->hw_features; in nfp_net_netdev_init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/synopsys/ |
| H A D | dwc-xlgmac-common.c | 182 netdev->hw_features = NETIF_F_TSO; in xlgmac_init() 183 netdev->hw_features |= NETIF_F_TSO6; in xlgmac_init() 184 netdev->hw_features |= NETIF_F_SG; in xlgmac_init() 185 netdev->hw_features |= NETIF_F_IP_CSUM; in xlgmac_init() 186 netdev->hw_features |= NETIF_F_IPV6_CSUM; in xlgmac_init() 188 netdev->hw_features = NETIF_F_IP_CSUM; in xlgmac_init() 189 netdev->hw_features |= NETIF_F_IPV6_CSUM; in xlgmac_init() 193 netdev->hw_features |= NETIF_F_RXCSUM; in xlgmac_init() 194 netdev->hw_features |= NETIF_F_GRO; in xlgmac_init() 198 netdev->hw_features |= NETIF_F_RXHASH; in xlgmac_init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/pensando/ionic/ |
| H A D | ionic_lif.c | 1282 old_hw_features = lif->hw_features; in ionic_set_nic_features() 1283 lif->hw_features = le64_to_cpu(ctx.cmd.lif_setattr.features & in ionic_set_nic_features() 1286 if ((old_hw_features ^ lif->hw_features) & IONIC_ETH_HW_RX_HASH) in ionic_set_nic_features() 1293 if (lif->hw_features & IONIC_ETH_HW_VLAN_TX_TAG) in ionic_set_nic_features() 1295 if (lif->hw_features & IONIC_ETH_HW_VLAN_RX_STRIP) in ionic_set_nic_features() 1297 if (lif->hw_features & IONIC_ETH_HW_VLAN_RX_FILTER) in ionic_set_nic_features() 1299 if (lif->hw_features & IONIC_ETH_HW_RX_HASH) in ionic_set_nic_features() 1301 if (lif->hw_features & IONIC_ETH_HW_TX_SG) in ionic_set_nic_features() 1303 if (lif->hw_features & IONIC_ETH_HW_TX_CSUM) in ionic_set_nic_features() 1305 if (lif->hw_features & IONIC_ETH_HW_RX_CSUM) in ionic_set_nic_features() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
| H A D | ipoib.c | 97 netdev->hw_features |= NETIF_F_SG; in mlx5i_init() 98 netdev->hw_features |= NETIF_F_IP_CSUM; in mlx5i_init() 99 netdev->hw_features |= NETIF_F_IPV6_CSUM; in mlx5i_init() 100 netdev->hw_features |= NETIF_F_GRO; in mlx5i_init() 101 netdev->hw_features |= NETIF_F_TSO; in mlx5i_init() 102 netdev->hw_features |= NETIF_F_TSO6; in mlx5i_init() 103 netdev->hw_features |= NETIF_F_RXCSUM; in mlx5i_init() 104 netdev->hw_features |= NETIF_F_RXHASH; in mlx5i_init() 336 priv->netdev->hw_features &= ~NETIF_F_NTUPLE; in mlx5i_create_flow_steering()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/amd/xgbe/ |
| H A D | xgbe-main.c | 345 netdev->hw_features = NETIF_F_SG | in xgbe_config_netdev() 357 netdev->hw_features |= NETIF_F_RXHASH; in xgbe_config_netdev() 370 netdev->hw_features |= NETIF_F_GSO_UDP_TUNNEL | in xgbe_config_netdev() 382 netdev->features |= netdev->hw_features; in xgbe_config_netdev()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc_vf.c | 125 ndev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | NETIF_F_HW_CSUM | in enetc_vf_netdev_setup() 134 ndev->hw_features |= NETIF_F_RXHASH; in enetc_vf_netdev_setup() 137 ndev->hw_features &= ~NETIF_F_HW_CSUM; in enetc_vf_netdev_setup()
|
| H A D | enetc_pf.c | 733 ndev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | NETIF_F_HW_CSUM | in enetc_pf_netdev_setup() 742 ndev->hw_features |= NETIF_F_RXHASH; in enetc_pf_netdev_setup() 745 ndev->hw_features &= ~NETIF_F_HW_CSUM; in enetc_pf_netdev_setup() 751 if (si->hw_features & ENETC_SI_F_PSFP && !enetc_psfp_enable(priv)) { in enetc_pf_netdev_setup() 754 ndev->hw_features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup() 997 if (pf->si->hw_features & ENETC_SI_F_QBV) in enetc_pl_mac_link_up()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| H A D | tls.c | 207 netdev->hw_features |= NETIF_F_HW_TLS_TX; in mlx5e_tls_build_netdev() 212 netdev->hw_features |= NETIF_F_HW_TLS_RX; in mlx5e_tls_build_netdev() 217 netdev->hw_features &= ~NETIF_F_LRO; in mlx5e_tls_build_netdev()
|
| H A D | ktls.c | 62 netdev->hw_features |= NETIF_F_HW_TLS_TX; in mlx5e_ktls_build_netdev() 67 netdev->hw_features |= NETIF_F_HW_TLS_RX; in mlx5e_ktls_build_netdev()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_rep.c | 744 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_rep_netdev() 746 netdev->hw_features |= NETIF_F_SG; in mlx5e_build_rep_netdev() 747 netdev->hw_features |= NETIF_F_IP_CSUM; in mlx5e_build_rep_netdev() 748 netdev->hw_features |= NETIF_F_IPV6_CSUM; in mlx5e_build_rep_netdev() 749 netdev->hw_features |= NETIF_F_GRO; in mlx5e_build_rep_netdev() 750 netdev->hw_features |= NETIF_F_TSO; in mlx5e_build_rep_netdev() 751 netdev->hw_features |= NETIF_F_TSO6; in mlx5e_build_rep_netdev() 752 netdev->hw_features |= NETIF_F_RXCSUM; in mlx5e_build_rep_netdev() 755 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in mlx5e_build_rep_netdev() 759 netdev->features |= netdev->hw_features; in mlx5e_build_rep_netdev()
|
| /OK3568_Linux_fs/kernel/drivers/net/hyperv/ |
| H A D | rndis_filter.c | 1268 net->hw_features &= ~NETVSC_SUPPORTED_HW_FEATURES; in rndis_netdev_set_hwcaps() 1272 net->hw_features |= NETIF_F_RXCSUM; in rndis_netdev_set_hwcaps() 1273 net->hw_features |= NETIF_F_SG; in rndis_netdev_set_hwcaps() 1274 net->hw_features |= NETIF_F_RXHASH; in rndis_netdev_set_hwcaps() 1278 net->hw_features |= NETIF_F_IP_CSUM; in rndis_netdev_set_hwcaps() 1285 net->hw_features |= NETIF_F_TSO; in rndis_netdev_set_hwcaps() 1298 net->hw_features |= NETIF_F_IPV6_CSUM; in rndis_netdev_set_hwcaps() 1306 net->hw_features |= NETIF_F_TSO6; in rndis_netdev_set_hwcaps() 1319 net->hw_features |= NETIF_F_LRO; in rndis_netdev_set_hwcaps() 1333 net->features &= ~NETVSC_SUPPORTED_HW_FEATURES | net->hw_features; in rndis_netdev_set_hwcaps()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qualcomm/rmnet/ |
| H A D | rmnet_vnd.c | 261 rmnet_dev->hw_features = NETIF_F_RXCSUM; in rmnet_vnd_newlink() 262 rmnet_dev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in rmnet_vnd_newlink() 263 rmnet_dev->hw_features |= NETIF_F_SG; in rmnet_vnd_newlink()
|
| /OK3568_Linux_fs/kernel/net/ethtool/ |
| H A D | features.c | 44 ethnl_features_to_bitmap32(data->hw, dev->hw_features); in features_prepare_data() 256 dev->wanted_features &= ~dev->hw_features; in ethnl_set_features() 257 dev->wanted_features |= ethnl_bitmap_to_features(req_wanted) & dev->hw_features; in ethnl_set_features()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/google/gve/ |
| H A D | gve_main.c | 1361 dev->hw_features = NETIF_F_HIGHDMA; in gve_probe() 1362 dev->hw_features |= NETIF_F_SG; in gve_probe() 1363 dev->hw_features |= NETIF_F_HW_CSUM; in gve_probe() 1364 dev->hw_features |= NETIF_F_TSO; in gve_probe() 1365 dev->hw_features |= NETIF_F_TSO6; in gve_probe() 1366 dev->hw_features |= NETIF_F_TSO_ECN; in gve_probe() 1367 dev->hw_features |= NETIF_F_RXCSUM; in gve_probe() 1368 dev->hw_features |= NETIF_F_RXHASH; in gve_probe() 1369 dev->features = dev->hw_features; in gve_probe()
|
| /OK3568_Linux_fs/kernel/arch/um/drivers/ |
| H A D | vector_transports.c | 409 vp->dev->hw_features |= (NETIF_F_TSO | NETIF_F_GRO); in build_raw_transport_data() 428 vp->dev->hw_features |= in build_hybrid_transport_data() 453 vp->dev->hw_features |= in build_tap_transport_data()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mediatek/ |
| H A D | mtk_eth_soc.c | 2769 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc() 2775 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc() 2783 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc() 2787 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc() 2804 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc() 2808 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc() 2931 eth->netdev[id]->hw_features = eth->soc->hw_features; in mtk_add_mac() 2933 eth->netdev[id]->hw_features |= NETIF_F_LRO; in mtk_add_mac() 2935 eth->netdev[id]->vlan_features = eth->soc->hw_features & in mtk_add_mac() 2937 eth->netdev[id]->features |= eth->soc->hw_features; in mtk_add_mac() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_ptp.c | 576 if (!(pf->hw_features & I40E_HW_PTP_L4_CAPABLE)) in i40e_ptp_set_timestamp_mode() 590 if (!(pf->hw_features & I40E_HW_PTP_L4_CAPABLE)) in i40e_ptp_set_timestamp_mode() 599 if (pf->hw_features & I40E_HW_PTP_L4_CAPABLE) { in i40e_ptp_set_timestamp_mode()
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/bit-rot/sys/ |
| H A D | audioio.h | 110 uint_t hw_features; /* hardware features this driver supports */ member
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/fm10k/ |
| H A D | fm10k_netdev.c | 1545 netdev_features_t hw_features; in fm10k_alloc_netdev() local 1587 hw_features = dev->features; in fm10k_alloc_netdev() 1590 hw_features |= NETIF_F_HW_L2FW_DOFFLOAD; in fm10k_alloc_netdev() 1605 dev->hw_features |= hw_features; in fm10k_alloc_netdev()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sun/ |
| H A D | ldmvsw.c | 252 dev->hw_features = NETIF_F_HW_CSUM | NETIF_F_SG; in vsw_alloc_netdev() 253 dev->features = dev->hw_features; in vsw_alloc_netdev()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/ibm/ |
| H A D | ibmveth.c | 1696 netdev->hw_features = NETIF_F_SG; in ibmveth_probe() 1698 netdev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in ibmveth_probe() 1702 netdev->features |= netdev->hw_features; in ibmveth_probe() 1709 netdev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in ibmveth_probe() 1710 netdev->features |= netdev->hw_features; in ibmveth_probe() 1712 netdev->hw_features |= NETIF_F_TSO; in ibmveth_probe() 1718 netdev->hw_features |= NETIF_F_FRAGLIST; in ibmveth_probe()
|
| /OK3568_Linux_fs/kernel/drivers/net/ |
| H A D | net_failover.c | 743 failover_dev->hw_features = FAILOVER_VLAN_FEATURES | in net_failover_create() 748 failover_dev->hw_features |= NETIF_F_GSO_ENCAP_ALL; in net_failover_create() 749 failover_dev->features |= failover_dev->hw_features; in net_failover_create()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qede/ |
| H A D | qede_main.c | 778 netdev_features_t hw_features; in qede_init_ndev() local 803 hw_features = NETIF_F_GRO | NETIF_F_GRO_HW | NETIF_F_SG | in qede_init_ndev() 808 hw_features |= NETIF_F_NTUPLE; in qede_init_ndev() 815 hw_features |= NETIF_F_TSO_ECN; in qede_init_ndev() 823 hw_features |= (NETIF_F_GSO_UDP_TUNNEL | in qede_init_ndev() 832 hw_features |= (NETIF_F_GSO_GRE | NETIF_F_GSO_GRE_CSUM); in qede_init_ndev() 837 ndev->vlan_features = hw_features | NETIF_F_RXHASH | NETIF_F_RXCSUM | in qede_init_ndev() 839 ndev->features = hw_features | NETIF_F_RXHASH | NETIF_F_RXCSUM | in qede_init_ndev() 843 ndev->hw_features = hw_features; in qede_init_ndev()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | en_netdev.c | 3322 dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in mlx4_en_init_netdev() 3324 dev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in mlx4_en_init_netdev() 3328 dev->hw_features |= NETIF_F_GSO_UDP_TUNNEL | in mlx4_en_init_netdev() 3345 dev->vlan_features = dev->hw_features; in mlx4_en_init_netdev() 3347 dev->hw_features |= NETIF_F_RXCSUM | NETIF_F_RXHASH; in mlx4_en_init_netdev() 3348 dev->features = dev->hw_features | NETIF_F_HIGHDMA | in mlx4_en_init_netdev() 3351 dev->hw_features |= NETIF_F_LOOPBACK | in mlx4_en_init_netdev() 3357 dev->hw_features |= NETIF_F_HW_VLAN_STAG_RX; in mlx4_en_init_netdev() 3366 dev->hw_features |= NETIF_F_HW_VLAN_STAG_TX; in mlx4_en_init_netdev() 3372 dev->hw_features &= ~(NETIF_F_HW_VLAN_CTAG_TX | in mlx4_en_init_netdev() [all …]
|