/linux/drivers/net/ethernet/netronome/nfp/ |
A D | nfp_net_repr.c | 344 netdev->hw_features = NETIF_F_HIGHDMA; in nfp_repr_init() 346 netdev->hw_features |= NETIF_F_RXCSUM; in nfp_repr_init() 350 netdev->hw_features |= NETIF_F_SG; in nfp_repr_init() 355 netdev->hw_features |= NETIF_F_RXHASH; in nfp_repr_init() 358 netdev->hw_features |= NETIF_F_GSO_UDP_TUNNEL; in nfp_repr_init() 362 netdev->hw_features |= NETIF_F_GSO_GRE; in nfp_repr_init() 365 netdev->hw_enc_features = netdev->hw_features; in nfp_repr_init() 367 netdev->vlan_features = netdev->hw_features; in nfp_repr_init() 370 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in nfp_repr_init() 380 netdev->features = netdev->hw_features; in nfp_repr_init() [all …]
|
A D | nfp_net_common.c | 4029 netdev->hw_features = NETIF_F_HIGHDMA; in nfp_net_netdev_init() 4031 netdev->hw_features |= NETIF_F_RXCSUM; in nfp_net_netdev_init() 4039 netdev->hw_features |= NETIF_F_SG; in nfp_net_netdev_init() 4049 netdev->hw_features |= NETIF_F_RXHASH; in nfp_net_netdev_init() 4052 netdev->hw_features |= NETIF_F_GSO_UDP_TUNNEL; in nfp_net_netdev_init() 4058 netdev->hw_features |= NETIF_F_GSO_GRE; in nfp_net_netdev_init() 4062 netdev->hw_enc_features = netdev->hw_features; in nfp_net_netdev_init() 4064 netdev->vlan_features = netdev->hw_features; in nfp_net_netdev_init() 4067 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in nfp_net_netdev_init() 4083 netdev->features = netdev->hw_features; in nfp_net_netdev_init() [all …]
|
/linux/drivers/net/ethernet/synopsys/ |
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 …]
|
/linux/drivers/net/ethernet/pensando/ionic/ |
A D | ionic_lif.c | 1429 old_hw_features = lif->hw_features; in ionic_set_nic_features() 1446 if (lif->hw_features & IONIC_ETH_HW_RX_HASH) in ionic_set_nic_features() 1448 if (lif->hw_features & IONIC_ETH_HW_TX_SG) in ionic_set_nic_features() 1450 if (lif->hw_features & IONIC_ETH_HW_TX_CSUM) in ionic_set_nic_features() 1452 if (lif->hw_features & IONIC_ETH_HW_RX_CSUM) in ionic_set_nic_features() 1454 if (lif->hw_features & IONIC_ETH_HW_TSO) in ionic_set_nic_features() 1512 netdev->hw_features |= NETIF_F_RXHASH; in ionic_init_nic_features() 1513 if (lif->hw_features & IONIC_ETH_HW_TX_SG) in ionic_init_nic_features() 1514 netdev->hw_features |= NETIF_F_SG; in ionic_init_nic_features() 1520 if (lif->hw_features & IONIC_ETH_HW_TSO) in ionic_init_nic_features() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
A D | ipoib.c | 90 netdev->hw_features |= NETIF_F_SG; in mlx5i_init() 91 netdev->hw_features |= NETIF_F_IP_CSUM; in mlx5i_init() 92 netdev->hw_features |= NETIF_F_IPV6_CSUM; in mlx5i_init() 93 netdev->hw_features |= NETIF_F_GRO; in mlx5i_init() 94 netdev->hw_features |= NETIF_F_TSO; in mlx5i_init() 95 netdev->hw_features |= NETIF_F_TSO6; in mlx5i_init() 96 netdev->hw_features |= NETIF_F_RXCSUM; in mlx5i_init() 97 netdev->hw_features |= NETIF_F_RXHASH; in mlx5i_init() 329 priv->netdev->hw_features &= ~NETIF_F_NTUPLE; in mlx5i_create_flow_steering()
|
/linux/drivers/net/ethernet/amd/xgbe/ |
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()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
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()
|
A D | ktls.c | 66 netdev->hw_features |= NETIF_F_HW_TLS_TX; in mlx5e_ktls_build_netdev() 71 netdev->hw_features |= NETIF_F_HW_TLS_RX; in mlx5e_ktls_build_netdev()
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_vf.c | 652 netdev->hw_features = NETIF_F_RXCSUM | NETIF_F_IP_CSUM | in otx2vf_probe() 656 netdev->features = netdev->hw_features; in otx2vf_probe() 659 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_TX | in otx2vf_probe() 661 netdev->features |= netdev->hw_features; in otx2vf_probe() 663 netdev->hw_features |= NETIF_F_NTUPLE; in otx2vf_probe() 664 netdev->hw_features |= NETIF_F_RXALL; in otx2vf_probe()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_rep.c | 641 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_rep_netdev() 643 netdev->hw_features |= NETIF_F_SG; in mlx5e_build_rep_netdev() 644 netdev->hw_features |= NETIF_F_IP_CSUM; in mlx5e_build_rep_netdev() 645 netdev->hw_features |= NETIF_F_IPV6_CSUM; in mlx5e_build_rep_netdev() 646 netdev->hw_features |= NETIF_F_GRO; in mlx5e_build_rep_netdev() 647 netdev->hw_features |= NETIF_F_TSO; in mlx5e_build_rep_netdev() 648 netdev->hw_features |= NETIF_F_TSO6; in mlx5e_build_rep_netdev() 649 netdev->hw_features |= NETIF_F_RXCSUM; in mlx5e_build_rep_netdev() 651 netdev->features |= netdev->hw_features; in mlx5e_build_rep_netdev()
|
/linux/drivers/net/ethernet/qualcomm/rmnet/ |
A D | rmnet_vnd.c | 264 rmnet_dev->hw_features = NETIF_F_RXCSUM; in rmnet_vnd_newlink() 265 rmnet_dev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in rmnet_vnd_newlink() 266 rmnet_dev->hw_features |= NETIF_F_SG; in rmnet_vnd_newlink()
|
/linux/net/ethtool/ |
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()
|
/linux/drivers/net/hyperv/ |
A D | rndis_filter.c | 1365 net->hw_features &= ~NETVSC_SUPPORTED_HW_FEATURES; in rndis_netdev_set_hwcaps() 1369 net->hw_features |= NETIF_F_RXCSUM; in rndis_netdev_set_hwcaps() 1370 net->hw_features |= NETIF_F_SG; in rndis_netdev_set_hwcaps() 1371 net->hw_features |= NETIF_F_RXHASH; in rndis_netdev_set_hwcaps() 1375 net->hw_features |= NETIF_F_IP_CSUM; in rndis_netdev_set_hwcaps() 1382 net->hw_features |= NETIF_F_TSO; in rndis_netdev_set_hwcaps() 1395 net->hw_features |= NETIF_F_IPV6_CSUM; in rndis_netdev_set_hwcaps() 1403 net->hw_features |= NETIF_F_TSO6; in rndis_netdev_set_hwcaps() 1416 net->hw_features |= NETIF_F_LRO; in rndis_netdev_set_hwcaps() 1430 net->features &= ~NETVSC_SUPPORTED_HW_FEATURES | net->hw_features; in rndis_netdev_set_hwcaps()
|
/linux/drivers/net/ethernet/freescale/enetc/ |
A D | enetc_vf.c | 123 ndev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | in enetc_vf_netdev_setup() 135 ndev->hw_features |= NETIF_F_RXHASH; in enetc_vf_netdev_setup()
|
/linux/arch/um/drivers/ |
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()
|
/linux/drivers/net/ethernet/google/gve/ |
A D | gve_main.c | 1577 dev->hw_features = NETIF_F_HIGHDMA; in gve_probe() 1578 dev->hw_features |= NETIF_F_SG; in gve_probe() 1579 dev->hw_features |= NETIF_F_HW_CSUM; in gve_probe() 1580 dev->hw_features |= NETIF_F_TSO; in gve_probe() 1581 dev->hw_features |= NETIF_F_TSO6; in gve_probe() 1582 dev->hw_features |= NETIF_F_TSO_ECN; in gve_probe() 1583 dev->hw_features |= NETIF_F_RXCSUM; in gve_probe() 1584 dev->hw_features |= NETIF_F_RXHASH; in gve_probe() 1585 dev->features = dev->hw_features; in gve_probe()
|
/linux/drivers/net/ethernet/mediatek/ |
A D | mtk_eth_soc.c | 2864 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc() 2878 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc() 2882 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc() 2899 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc() 2903 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc() 3028 eth->netdev[id]->hw_features = eth->soc->hw_features; in mtk_add_mac() 3284 .hw_features = MTK_HW_FEATURES, 3291 .hw_features = MTK_HW_FEATURES, 3300 .hw_features = MTK_HW_FEATURES, 3308 .hw_features = MTK_HW_FEATURES, [all …]
|
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
A D | lmac_common.h | 121 u64 hw_features; member
|
/linux/drivers/net/ethernet/intel/fm10k/ |
A D | fm10k_netdev.c | 1543 netdev_features_t hw_features; in fm10k_alloc_netdev() local 1585 hw_features = dev->features; in fm10k_alloc_netdev() 1588 hw_features |= NETIF_F_HW_L2FW_DOFFLOAD; in fm10k_alloc_netdev() 1603 dev->hw_features |= hw_features; in fm10k_alloc_netdev()
|
/linux/drivers/net/ethernet/sun/ |
A D | ldmvsw.c | 249 dev->hw_features = NETIF_F_HW_CSUM | NETIF_F_SG; in vsw_alloc_netdev() 250 dev->features = dev->hw_features; in vsw_alloc_netdev()
|
/linux/drivers/net/ethernet/ibm/ |
A D | ibmveth.c | 1683 netdev->hw_features = NETIF_F_SG; in ibmveth_probe() 1685 netdev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in ibmveth_probe() 1689 netdev->features |= netdev->hw_features; in ibmveth_probe() 1696 netdev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in ibmveth_probe() 1697 netdev->features |= netdev->hw_features; in ibmveth_probe() 1699 netdev->hw_features |= NETIF_F_TSO; in ibmveth_probe() 1705 netdev->hw_features |= NETIF_F_FRAGLIST; in ibmveth_probe()
|
/linux/drivers/net/ |
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()
|
/linux/drivers/vdpa/ifcvf/ |
A D | ifcvf_base.h | 71 u64 hw_features; member
|
/linux/drivers/net/ethernet/qlogic/qede/ |
A D | qede_main.c | 767 netdev_features_t hw_features; in qede_init_ndev() local 792 hw_features = NETIF_F_GRO | NETIF_F_GRO_HW | NETIF_F_SG | in qede_init_ndev() 797 hw_features |= NETIF_F_NTUPLE; in qede_init_ndev() 804 hw_features |= NETIF_F_TSO_ECN; in qede_init_ndev() 812 hw_features |= (NETIF_F_GSO_UDP_TUNNEL | in qede_init_ndev() 821 hw_features |= (NETIF_F_GSO_GRE | NETIF_F_GSO_GRE_CSUM); in qede_init_ndev() 826 ndev->vlan_features = hw_features | NETIF_F_RXHASH | NETIF_F_RXCSUM | in qede_init_ndev() 828 ndev->features = hw_features | NETIF_F_RXHASH | NETIF_F_RXCSUM | in qede_init_ndev() 832 ndev->hw_features = hw_features; in qede_init_ndev()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | en_netdev.c | 3330 dev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in mlx4_en_init_netdev() 3334 dev->hw_features |= NETIF_F_GSO_UDP_TUNNEL | in mlx4_en_init_netdev() 3351 dev->vlan_features = dev->hw_features; in mlx4_en_init_netdev() 3357 dev->hw_features |= NETIF_F_LOOPBACK | in mlx4_en_init_netdev() 3363 dev->hw_features |= NETIF_F_HW_VLAN_STAG_RX; in mlx4_en_init_netdev() 3372 dev->hw_features |= NETIF_F_HW_VLAN_STAG_TX; in mlx4_en_init_netdev() 3378 dev->hw_features &= ~(NETIF_F_HW_VLAN_CTAG_TX | in mlx4_en_init_netdev() 3391 dev->hw_features |= NETIF_F_HW_VLAN_STAG_TX; in mlx4_en_init_netdev() 3395 dev->hw_features |= NETIF_F_RXFCS; in mlx4_en_init_netdev() 3398 dev->hw_features |= NETIF_F_RXALL; in mlx4_en_init_netdev() [all …]
|