| /Linux-v6.1/drivers/net/ethernet/netronome/nfp/ |
| 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 …]
|
| D | nfp_net_common.c | 2355 netdev->hw_features = NETIF_F_HIGHDMA; in nfp_net_netdev_init() 2357 netdev->hw_features |= NETIF_F_RXCSUM; in nfp_net_netdev_init() 2361 netdev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in nfp_net_netdev_init() 2365 netdev->hw_features |= NETIF_F_SG; in nfp_net_netdev_init() 2370 netdev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in nfp_net_netdev_init() 2375 netdev->hw_features |= NETIF_F_RXHASH; in nfp_net_netdev_init() 2378 netdev->hw_features |= NETIF_F_GSO_UDP_TUNNEL | in nfp_net_netdev_init() 2388 netdev->hw_features |= NETIF_F_GSO_GRE; in nfp_net_netdev_init() 2392 netdev->hw_enc_features = netdev->hw_features; in nfp_net_netdev_init() 2394 netdev->vlan_features = netdev->hw_features; in nfp_net_netdev_init() [all …]
|
| /Linux-v6.1/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-v6.1/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
| D | ipoib.c | 91 netdev->hw_features |= NETIF_F_SG; in mlx5i_init() 92 netdev->hw_features |= NETIF_F_IP_CSUM; in mlx5i_init() 93 netdev->hw_features |= NETIF_F_IPV6_CSUM; in mlx5i_init() 94 netdev->hw_features |= NETIF_F_GRO; in mlx5i_init() 95 netdev->hw_features |= NETIF_F_TSO; in mlx5i_init() 96 netdev->hw_features |= NETIF_F_TSO6; in mlx5i_init() 97 netdev->hw_features |= NETIF_F_RXCSUM; in mlx5i_init() 98 netdev->hw_features |= NETIF_F_RXHASH; in mlx5i_init() 334 !!(priv->netdev->hw_features & NETIF_F_NTUPLE)); in mlx5i_create_flow_steering() 338 priv->netdev->hw_features &= ~NETIF_F_NTUPLE; in mlx5i_create_flow_steering() [all …]
|
| /Linux-v6.1/drivers/net/ethernet/pensando/ionic/ |
| D | ionic_lif.c | 1430 old_hw_features = lif->hw_features; in ionic_set_nic_features() 1431 lif->hw_features = le64_to_cpu(ctx.cmd.lif_setattr.features & in ionic_set_nic_features() 1434 if ((old_hw_features ^ lif->hw_features) & IONIC_ETH_HW_RX_HASH) in ionic_set_nic_features() 1441 if (lif->hw_features & IONIC_ETH_HW_VLAN_TX_TAG) in ionic_set_nic_features() 1443 if (lif->hw_features & IONIC_ETH_HW_VLAN_RX_STRIP) in ionic_set_nic_features() 1445 if (lif->hw_features & IONIC_ETH_HW_VLAN_RX_FILTER) in ionic_set_nic_features() 1447 if (lif->hw_features & IONIC_ETH_HW_RX_HASH) in ionic_set_nic_features() 1449 if (lif->hw_features & IONIC_ETH_HW_TX_SG) in ionic_set_nic_features() 1451 if (lif->hw_features & IONIC_ETH_HW_TX_CSUM) in ionic_set_nic_features() 1453 if (lif->hw_features & IONIC_ETH_HW_RX_CSUM) in ionic_set_nic_features() [all …]
|
| /Linux-v6.1/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-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/ |
| D | otx2_vf.c | 640 netdev->hw_features = NETIF_F_RXCSUM | NETIF_F_IP_CSUM | in otx2vf_probe() 644 netdev->features = netdev->hw_features; in otx2vf_probe() 647 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_TX | in otx2vf_probe() 649 netdev->features |= netdev->hw_features; in otx2vf_probe() 651 netdev->hw_features |= NETIF_F_NTUPLE; in otx2vf_probe() 652 netdev->hw_features |= NETIF_F_RXALL; in otx2vf_probe() 653 netdev->hw_features |= NETIF_F_HW_TC; in otx2vf_probe()
|
| /Linux-v6.1/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-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| D | ktls.c | 122 netdev->hw_features |= NETIF_F_HW_TLS_TX; in mlx5e_ktls_build_netdev() 127 netdev->hw_features |= NETIF_F_HW_TLS_RX; in mlx5e_ktls_build_netdev()
|
| /Linux-v6.1/net/ethtool/ |
| D | features.c | 44 ethnl_features_to_bitmap32(data->hw, dev->hw_features); in features_prepare_data() 255 dev->wanted_features &= ~dev->hw_features; in ethnl_set_features() 256 dev->wanted_features |= ethnl_bitmap_to_features(req_wanted) & dev->hw_features; in ethnl_set_features()
|
| /Linux-v6.1/drivers/net/wwan/t7xx/ |
| D | t7xx_netdev.c | 178 dev->hw_features |= NETIF_F_SG; in t7xx_ccmni_wwan_setup() 181 dev->hw_features |= NETIF_F_HW_CSUM; in t7xx_ccmni_wwan_setup() 184 dev->hw_features |= NETIF_F_RXCSUM; in t7xx_ccmni_wwan_setup()
|
| /Linux-v6.1/drivers/net/hyperv/ |
| D | rndis_filter.c | 1369 net->hw_features &= ~NETVSC_SUPPORTED_HW_FEATURES; in rndis_netdev_set_hwcaps() 1373 net->hw_features |= NETIF_F_RXCSUM; in rndis_netdev_set_hwcaps() 1374 net->hw_features |= NETIF_F_SG; in rndis_netdev_set_hwcaps() 1375 net->hw_features |= NETIF_F_RXHASH; in rndis_netdev_set_hwcaps() 1379 net->hw_features |= NETIF_F_IP_CSUM; in rndis_netdev_set_hwcaps() 1386 net->hw_features |= NETIF_F_TSO; in rndis_netdev_set_hwcaps() 1399 net->hw_features |= NETIF_F_IPV6_CSUM; in rndis_netdev_set_hwcaps() 1407 net->hw_features |= NETIF_F_TSO6; in rndis_netdev_set_hwcaps() 1420 net->hw_features |= NETIF_F_LRO; in rndis_netdev_set_hwcaps() 1434 net->features &= ~NETVSC_SUPPORTED_HW_FEATURES | net->hw_features; in rndis_netdev_set_hwcaps()
|
| /Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_rep.c | 728 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_rep_netdev() 730 netdev->hw_features |= NETIF_F_SG; in mlx5e_build_rep_netdev() 731 netdev->hw_features |= NETIF_F_IP_CSUM; in mlx5e_build_rep_netdev() 732 netdev->hw_features |= NETIF_F_IPV6_CSUM; in mlx5e_build_rep_netdev() 733 netdev->hw_features |= NETIF_F_GRO; in mlx5e_build_rep_netdev() 734 netdev->hw_features |= NETIF_F_TSO; in mlx5e_build_rep_netdev() 735 netdev->hw_features |= NETIF_F_TSO6; in mlx5e_build_rep_netdev() 736 netdev->hw_features |= NETIF_F_RXCSUM; in mlx5e_build_rep_netdev() 738 netdev->features |= netdev->hw_features; in mlx5e_build_rep_netdev()
|
| /Linux-v6.1/drivers/net/ethernet/freescale/enetc/ |
| D | enetc_vf.c | 136 ndev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | in enetc_vf_netdev_setup() 148 ndev->hw_features |= NETIF_F_RXHASH; in enetc_vf_netdev_setup()
|
| /Linux-v6.1/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-v6.1/drivers/net/ethernet/google/gve/ |
| D | gve_main.c | 1590 dev->hw_features = NETIF_F_HIGHDMA; in gve_probe() 1591 dev->hw_features |= NETIF_F_SG; in gve_probe() 1592 dev->hw_features |= NETIF_F_HW_CSUM; in gve_probe() 1593 dev->hw_features |= NETIF_F_TSO; in gve_probe() 1594 dev->hw_features |= NETIF_F_TSO6; in gve_probe() 1595 dev->hw_features |= NETIF_F_TSO_ECN; in gve_probe() 1596 dev->hw_features |= NETIF_F_RXCSUM; in gve_probe() 1597 dev->hw_features |= NETIF_F_RXHASH; in gve_probe() 1598 dev->features = dev->hw_features; in gve_probe()
|
| /Linux-v6.1/drivers/gpu/drm/panfrost/ |
| D | panfrost_features.h | 124 return test_bit(feat, pfdev->features.hw_features); in panfrost_has_hw_feature()
|
| /Linux-v6.1/drivers/net/ethernet/intel/iavf/ |
| D | iavf_main.c | 4451 netdev_features_t hw_features = 0; in iavf_get_netdev_vlan_hw_features() local 4454 return hw_features; in iavf_get_netdev_vlan_hw_features() 4458 hw_features |= (NETIF_F_HW_VLAN_CTAG_TX | in iavf_get_netdev_vlan_hw_features() 4472 hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in iavf_get_netdev_vlan_hw_features() 4475 hw_features |= NETIF_F_HW_VLAN_STAG_RX; in iavf_get_netdev_vlan_hw_features() 4481 hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in iavf_get_netdev_vlan_hw_features() 4488 hw_features |= NETIF_F_HW_VLAN_CTAG_TX; in iavf_get_netdev_vlan_hw_features() 4491 hw_features |= NETIF_F_HW_VLAN_STAG_TX; in iavf_get_netdev_vlan_hw_features() 4496 hw_features |= NETIF_F_HW_VLAN_CTAG_TX; in iavf_get_netdev_vlan_hw_features() 4500 return hw_features; in iavf_get_netdev_vlan_hw_features() [all …]
|
| /Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/af/ |
| D | lmac_common.h | 135 u64 hw_features; member
|
| /Linux-v6.1/drivers/net/ethernet/sun/ |
| 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-v6.1/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-v6.1/drivers/net/ethernet/chelsio/cxgb/ |
| D | cxgb2.c | 189 if (adapter->port[0].dev->hw_features & NETIF_F_TSO) in enable_hw_csum() 1034 netdev->hw_features |= NETIF_F_SG | NETIF_F_IP_CSUM | in init_one() 1043 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in init_one() 1047 netdev->hw_features |= NETIF_F_TSO; in init_one() 1053 netdev->hard_header_len += (netdev->hw_features & NETIF_F_TSO) ? in init_one()
|
| /Linux-v6.1/drivers/vdpa/ifcvf/ |
| D | ifcvf_base.h | 80 u64 hw_features; member
|
| /Linux-v6.1/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()
|