| /Linux-v5.15/drivers/net/ethernet/netronome/nfp/ |
| 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() 348 netdev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in nfp_repr_init() 350 netdev->hw_features |= NETIF_F_SG; in nfp_repr_init() 353 netdev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; 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() [all …]
|
| D | nfp_net_common.c | 4033 netdev->hw_features = NETIF_F_HIGHDMA; in nfp_net_netdev_init() 4035 netdev->hw_features |= NETIF_F_RXCSUM; in nfp_net_netdev_init() 4039 netdev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in nfp_net_netdev_init() 4043 netdev->hw_features |= NETIF_F_SG; in nfp_net_netdev_init() 4048 netdev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in nfp_net_netdev_init() 4053 netdev->hw_features |= NETIF_F_RXHASH; in nfp_net_netdev_init() 4056 netdev->hw_features |= NETIF_F_GSO_UDP_TUNNEL; in nfp_net_netdev_init() 4062 netdev->hw_features |= NETIF_F_GSO_GRE; in nfp_net_netdev_init() 4066 netdev->hw_enc_features = netdev->hw_features; in nfp_net_netdev_init() 4068 netdev->vlan_features = netdev->hw_features; in nfp_net_netdev_init() [all …]
|
| /Linux-v5.15/drivers/net/ethernet/synopsys/ |
| 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-v5.15/drivers/net/ethernet/pensando/ionic/ |
| D | ionic_lif.c | 1561 old_hw_features = lif->hw_features; in ionic_set_nic_features() 1562 lif->hw_features = le64_to_cpu(ctx.cmd.lif_setattr.features & in ionic_set_nic_features() 1565 if ((old_hw_features ^ lif->hw_features) & IONIC_ETH_HW_RX_HASH) in ionic_set_nic_features() 1572 if (lif->hw_features & IONIC_ETH_HW_VLAN_TX_TAG) in ionic_set_nic_features() 1574 if (lif->hw_features & IONIC_ETH_HW_VLAN_RX_STRIP) in ionic_set_nic_features() 1576 if (lif->hw_features & IONIC_ETH_HW_VLAN_RX_FILTER) in ionic_set_nic_features() 1578 if (lif->hw_features & IONIC_ETH_HW_RX_HASH) in ionic_set_nic_features() 1580 if (lif->hw_features & IONIC_ETH_HW_TX_SG) in ionic_set_nic_features() 1582 if (lif->hw_features & IONIC_ETH_HW_TX_CSUM) in ionic_set_nic_features() 1584 if (lif->hw_features & IONIC_ETH_HW_RX_CSUM) in ionic_set_nic_features() [all …]
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
| 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-v5.15/drivers/net/ethernet/amd/xgbe/ |
| 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-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| 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()
|
| 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()
|
| /Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/nic/ |
| D | otx2_vf.c | 646 netdev->hw_features = NETIF_F_RXCSUM | NETIF_F_IP_CSUM | in otx2vf_probe() 650 netdev->features = netdev->hw_features; in otx2vf_probe() 653 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_TX | in otx2vf_probe() 655 netdev->features |= netdev->hw_features; in otx2vf_probe() 657 netdev->hw_features |= NETIF_F_NTUPLE; in otx2vf_probe() 658 netdev->hw_features |= NETIF_F_RXALL; in otx2vf_probe()
|
| /Linux-v5.15/drivers/net/ethernet/qualcomm/rmnet/ |
| 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-v5.15/net/ethtool/ |
| 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-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_rep.c | 640 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_rep_netdev() 642 netdev->hw_features |= NETIF_F_SG; in mlx5e_build_rep_netdev() 643 netdev->hw_features |= NETIF_F_IP_CSUM; in mlx5e_build_rep_netdev() 644 netdev->hw_features |= NETIF_F_IPV6_CSUM; in mlx5e_build_rep_netdev() 645 netdev->hw_features |= NETIF_F_GRO; in mlx5e_build_rep_netdev() 646 netdev->hw_features |= NETIF_F_TSO; in mlx5e_build_rep_netdev() 647 netdev->hw_features |= NETIF_F_TSO6; in mlx5e_build_rep_netdev() 648 netdev->hw_features |= NETIF_F_RXCSUM; in mlx5e_build_rep_netdev() 650 netdev->features |= netdev->hw_features; in mlx5e_build_rep_netdev()
|
| /Linux-v5.15/drivers/net/hyperv/ |
| 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-v5.15/drivers/net/ethernet/freescale/enetc/ |
| D | enetc_vf.c | 123 ndev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | in enetc_vf_netdev_setup() 131 ndev->hw_features |= NETIF_F_RXHASH; in enetc_vf_netdev_setup()
|
| /Linux-v5.15/drivers/net/ethernet/google/gve/ |
| D | gve_main.c | 1534 dev->hw_features = NETIF_F_HIGHDMA; in gve_probe() 1535 dev->hw_features |= NETIF_F_SG; in gve_probe() 1536 dev->hw_features |= NETIF_F_HW_CSUM; in gve_probe() 1537 dev->hw_features |= NETIF_F_TSO; in gve_probe() 1538 dev->hw_features |= NETIF_F_TSO6; in gve_probe() 1539 dev->hw_features |= NETIF_F_TSO_ECN; in gve_probe() 1540 dev->hw_features |= NETIF_F_RXCSUM; in gve_probe() 1541 dev->hw_features |= NETIF_F_RXHASH; in gve_probe() 1542 dev->features = dev->hw_features; in gve_probe()
|
| /Linux-v5.15/arch/um/drivers/ |
| 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-v5.15/drivers/net/ethernet/mediatek/ |
| D | mtk_eth_soc.c | 2864 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc() 2870 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() 3030 eth->netdev[id]->hw_features |= NETIF_F_LRO; in mtk_add_mac() 3032 eth->netdev[id]->vlan_features = eth->soc->hw_features & in mtk_add_mac() 3034 eth->netdev[id]->features |= eth->soc->hw_features; in mtk_add_mac() [all …]
|
| /Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/af/ |
| D | lmac_common.h | 116 u64 hw_features; member
|
| /Linux-v5.15/drivers/vdpa/ifcvf/ |
| D | ifcvf_base.h | 71 u64 hw_features; member
|
| /Linux-v5.15/drivers/net/ethernet/sun/ |
| 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()
|
| /Linux-v5.15/drivers/net/ |
| D | dummy.c | 130 dev->hw_features |= dev->features; in dummy_setup()
|
| 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-v5.15/drivers/net/ethernet/intel/fm10k/ |
| 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-v5.15/drivers/net/ethernet/ibm/ |
| D | ibmveth.c | 1701 netdev->hw_features = NETIF_F_SG; in ibmveth_probe() 1703 netdev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in ibmveth_probe() 1707 netdev->features |= netdev->hw_features; in ibmveth_probe() 1714 netdev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in ibmveth_probe() 1715 netdev->features |= netdev->hw_features; in ibmveth_probe() 1717 netdev->hw_features |= NETIF_F_TSO; in ibmveth_probe() 1723 netdev->hw_features |= NETIF_F_FRAGLIST; in ibmveth_probe()
|
| /Linux-v5.15/drivers/net/ethernet/qlogic/qede/ |
| 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()
|