/Linux-v4.19/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-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
D | ipoib.c | 98 netdev->hw_features |= NETIF_F_SG; in mlx5i_init() 99 netdev->hw_features |= NETIF_F_IP_CSUM; in mlx5i_init() 100 netdev->hw_features |= NETIF_F_IPV6_CSUM; in mlx5i_init() 101 netdev->hw_features |= NETIF_F_GRO; in mlx5i_init() 102 netdev->hw_features |= NETIF_F_TSO; in mlx5i_init() 103 netdev->hw_features |= NETIF_F_TSO6; in mlx5i_init() 104 netdev->hw_features |= NETIF_F_RXCSUM; in mlx5i_init() 105 netdev->hw_features |= NETIF_F_RXHASH; in mlx5i_init() 264 priv->netdev->hw_features &= ~NETIF_F_NTUPLE; in mlx5i_create_flow_steering()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | tls.c | 195 netdev->hw_features |= NETIF_F_HW_TLS_TX; in mlx5e_tls_build_netdev() 200 netdev->hw_features |= NETIF_F_HW_TLS_RX; in mlx5e_tls_build_netdev() 205 netdev->hw_features &= ~NETIF_F_LRO; in mlx5e_tls_build_netdev()
|
/Linux-v4.19/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-main.c | 347 netdev->hw_features = NETIF_F_SG | in xgbe_config_netdev() 359 netdev->hw_features |= NETIF_F_RXHASH; in xgbe_config_netdev() 373 netdev->hw_features |= NETIF_F_GSO_UDP_TUNNEL | in xgbe_config_netdev() 389 netdev->features |= netdev->hw_features; in xgbe_config_netdev()
|
/Linux-v4.19/drivers/net/ethernet/qualcomm/rmnet/ |
D | rmnet_vnd.c | 246 rmnet_dev->hw_features = NETIF_F_RXCSUM; in rmnet_vnd_newlink() 247 rmnet_dev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in rmnet_vnd_newlink() 248 rmnet_dev->hw_features |= NETIF_F_SG; in rmnet_vnd_newlink()
|
/Linux-v4.19/drivers/net/hyperv/ |
D | rndis_filter.c | 1139 net->hw_features &= ~NETVSC_SUPPORTED_HW_FEATURES; in rndis_netdev_set_hwcaps() 1143 net->hw_features |= NETIF_F_RXCSUM; in rndis_netdev_set_hwcaps() 1147 net->hw_features |= NETIF_F_IP_CSUM; in rndis_netdev_set_hwcaps() 1154 net->hw_features |= NETIF_F_TSO; in rndis_netdev_set_hwcaps() 1167 net->hw_features |= NETIF_F_IPV6_CSUM; in rndis_netdev_set_hwcaps() 1175 net->hw_features |= NETIF_F_TSO6; in rndis_netdev_set_hwcaps() 1190 net->features &= ~NETVSC_SUPPORTED_HW_FEATURES | net->hw_features; in rndis_netdev_set_hwcaps()
|
/Linux-v4.19/drivers/net/ethernet/intel/i40e/ |
D | i40e_ptp.c | 567 if (!(pf->hw_features & I40E_HW_PTP_L4_CAPABLE)) in i40e_ptp_set_timestamp_mode() 581 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()
|
D | i40e_ethtool.c | 285 if (pf->hw_features & I40E_HW_100M_SGMII_CAPABLE) { in i40e_phy_type_to_ethtool() 364 !(pf->hw_features & I40E_HW_HAVE_CRT_RETIMER)) { in i40e_phy_type_to_ethtool() 372 !(pf->hw_features & I40E_HW_HAVE_CRT_RETIMER)) { in i40e_phy_type_to_ethtool() 610 if (pf->hw_features & I40E_HW_100M_SGMII_CAPABLE) { in i40e_get_settings_link_up() 2089 if (pf->hw_features & I40E_HW_PTP_L4_CAPABLE) in i40e_get_ts_info() 2329 if (!(pf->hw_features & I40E_HW_PHY_CONTROLS_LEDS)) { in i40e_set_phys_id() 2341 if (!(pf->hw_features & I40E_HW_PHY_CONTROLS_LEDS)) in i40e_set_phys_id() 2347 if (!(pf->hw_features & I40E_HW_PHY_CONTROLS_LEDS)) in i40e_set_phys_id() 2353 if (!(pf->hw_features & I40E_HW_PHY_CONTROLS_LEDS)) { in i40e_set_phys_id() 3077 if (pf->hw_features & I40E_HW_MULTIPLE_TCP_UDP_RSS_PCTYPE) in i40e_set_rss_hash_opt() [all …]
|
/Linux-v4.19/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_main.c | 103 if (aq_cfg->hw_features & NETIF_F_LRO) { in aq_ndev_set_features()
|
D | aq_nic.c | 121 cfg->hw_features = cfg->aq_hw_caps->hw_features; in aq_nic_cfg_start() 248 self->ndev->hw_features |= aq_hw_caps->hw_features; in aq_nic_ndev_init() 249 self->ndev->features = aq_hw_caps->hw_features; in aq_nic_ndev_init()
|
D | aq_nic.h | 26 u64 hw_features; member
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qede/ |
D | qede_main.c | 757 netdev_features_t hw_features; in qede_init_ndev() local 782 hw_features = NETIF_F_GRO | NETIF_F_GRO_HW | NETIF_F_SG | in qede_init_ndev() 787 hw_features |= NETIF_F_NTUPLE; in qede_init_ndev() 794 hw_features |= NETIF_F_TSO_ECN; in qede_init_ndev() 802 hw_features |= (NETIF_F_GSO_UDP_TUNNEL | in qede_init_ndev() 809 hw_features |= (NETIF_F_GSO_GRE | NETIF_F_GSO_GRE_CSUM); in qede_init_ndev() 814 ndev->vlan_features = hw_features | NETIF_F_RXHASH | NETIF_F_RXCSUM | in qede_init_ndev() 816 ndev->features = hw_features | NETIF_F_RXHASH | NETIF_F_RXCSUM | in qede_init_ndev() 820 ndev->hw_features = hw_features; in qede_init_ndev()
|
/Linux-v4.19/drivers/staging/mt7621-eth/ |
D | soc_mt7621.c | 127 .hw_features = NETIF_F_IP_CSUM | NETIF_F_RXCSUM |
|
/Linux-v4.19/drivers/net/ethernet/sun/ |
D | ldmvsw.c | 253 dev->hw_features = NETIF_F_HW_CSUM | NETIF_F_SG; in vsw_alloc_netdev() 254 dev->features = dev->hw_features; in vsw_alloc_netdev()
|
/Linux-v4.19/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_tap_transport_data()
|
/Linux-v4.19/net/hsr/ |
D | hsr_device.c | 410 dev->hw_features = NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_HIGHDMA | in hsr_dev_setup() 414 dev->features = dev->hw_features; in hsr_dev_setup()
|
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_common.c | 3733 netdev->hw_features = NETIF_F_HIGHDMA; in nfp_net_netdev_init() 3735 netdev->hw_features |= NETIF_F_RXCSUM; in nfp_net_netdev_init() 3739 netdev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in nfp_net_netdev_init() 3743 netdev->hw_features |= NETIF_F_SG; in nfp_net_netdev_init() 3748 netdev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in nfp_net_netdev_init() 3753 netdev->hw_features |= NETIF_F_RXHASH; in nfp_net_netdev_init() 3757 netdev->hw_features |= NETIF_F_GSO_GRE | in nfp_net_netdev_init() 3761 netdev->hw_enc_features = netdev->hw_features; in nfp_net_netdev_init() 3764 netdev->vlan_features = netdev->hw_features; in nfp_net_netdev_init() 3767 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in nfp_net_netdev_init() [all …]
|
/Linux-v4.19/drivers/net/ |
D | loopback.c | 184 dev->hw_features = NETIF_F_GSO_SOFTWARE; in loopback_setup()
|
D | net_failover.c | 742 failover_dev->hw_features = FAILOVER_VLAN_FEATURES | in net_failover_create() 747 failover_dev->hw_features |= NETIF_F_GSO_ENCAP_ALL; in net_failover_create() 748 failover_dev->features |= failover_dev->hw_features; in net_failover_create()
|
D | dummy.c | 168 dev->hw_features |= dev->features; in dummy_setup()
|
/Linux-v4.19/drivers/net/ethernet/ibm/ |
D | ibmveth.c | 1668 netdev->hw_features = NETIF_F_SG; in ibmveth_probe() 1670 netdev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in ibmveth_probe() 1674 netdev->features |= netdev->hw_features; in ibmveth_probe() 1681 netdev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in ibmveth_probe() 1682 netdev->features |= netdev->hw_features; in ibmveth_probe() 1684 netdev->hw_features |= NETIF_F_TSO; in ibmveth_probe() 1690 netdev->hw_features |= NETIF_F_FRAGLIST; in ibmveth_probe()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | en_netdev.c | 3415 dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in mlx4_en_init_netdev() 3417 dev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in mlx4_en_init_netdev() 3419 dev->vlan_features = dev->hw_features; in mlx4_en_init_netdev() 3421 dev->hw_features |= NETIF_F_RXCSUM | NETIF_F_RXHASH; in mlx4_en_init_netdev() 3422 dev->features = dev->hw_features | NETIF_F_HIGHDMA | in mlx4_en_init_netdev() 3425 dev->hw_features |= NETIF_F_LOOPBACK | in mlx4_en_init_netdev() 3431 dev->hw_features |= NETIF_F_HW_VLAN_STAG_RX; in mlx4_en_init_netdev() 3440 dev->hw_features |= NETIF_F_HW_VLAN_STAG_TX; in mlx4_en_init_netdev() 3446 dev->hw_features &= ~(NETIF_F_HW_VLAN_CTAG_TX | in mlx4_en_init_netdev() 3459 dev->hw_features |= NETIF_F_HW_VLAN_STAG_TX; in mlx4_en_init_netdev() [all …]
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb/ |
D | cxgb2.c | 189 if (adapter->port[0].dev->hw_features & NETIF_F_TSO) in enable_hw_csum() 1081 netdev->hw_features |= NETIF_F_SG | NETIF_F_IP_CSUM | in init_one() 1092 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in init_one() 1096 netdev->hw_features |= NETIF_F_TSO; in init_one() 1102 netdev->hard_header_len += (netdev->hw_features & NETIF_F_TSO) ? in init_one()
|
/Linux-v4.19/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_netdev.c | 1658 netdev_features_t hw_features; in fm10k_alloc_netdev() local 1698 hw_features = dev->features; in fm10k_alloc_netdev() 1701 hw_features |= NETIF_F_HW_L2FW_DOFFLOAD; in fm10k_alloc_netdev() 1716 dev->hw_features |= hw_features; in fm10k_alloc_netdev()
|
/Linux-v4.19/net/ipv4/ |
D | ip_gre.c | 804 dev->hw_features |= NETIF_F_GSO_SOFTWARE; in ipgre_link_update() 807 dev->hw_features &= ~NETIF_F_GSO_SOFTWARE; in ipgre_link_update() 811 dev->hw_features &= ~NETIF_F_GSO_SOFTWARE; in ipgre_link_update() 1001 dev->hw_features |= GRE_FEATURES; in __gre_tunnel_init() 1011 dev->hw_features |= NETIF_F_GSO_SOFTWARE; in __gre_tunnel_init() 1316 dev->hw_features |= GRE_FEATURES; in erspan_tunnel_init()
|