Home
last modified time | relevance | path

Searched refs:hw_features (Results 1 – 25 of 194) sorted by relevance

12345678

/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_repr.c341 netdev->hw_features = NETIF_F_HIGHDMA; in nfp_repr_init()
343 netdev->hw_features |= NETIF_F_RXCSUM; in nfp_repr_init()
345 netdev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in nfp_repr_init()
347 netdev->hw_features |= NETIF_F_SG; in nfp_repr_init()
350 netdev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in nfp_repr_init()
352 netdev->hw_features |= NETIF_F_RXHASH; in nfp_repr_init()
355 netdev->hw_features |= NETIF_F_GSO_UDP_TUNNEL; in nfp_repr_init()
359 netdev->hw_features |= NETIF_F_GSO_GRE; in nfp_repr_init()
362 netdev->hw_enc_features = netdev->hw_features; in nfp_repr_init()
364 netdev->vlan_features = netdev->hw_features; in nfp_repr_init()
[all …]
H A Dnfp_net_common.c2683 netdev->hw_features = NETIF_F_HIGHDMA; in nfp_net_netdev_init()
2685 netdev->hw_features |= NETIF_F_RXCSUM; in nfp_net_netdev_init()
2689 netdev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in nfp_net_netdev_init()
2693 netdev->hw_features |= NETIF_F_SG; in nfp_net_netdev_init()
2698 netdev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in nfp_net_netdev_init()
2700 netdev->hw_features |= NETIF_F_GSO_UDP_L4; in nfp_net_netdev_init()
2705 netdev->hw_features |= NETIF_F_RXHASH; in nfp_net_netdev_init()
2709 netdev->hw_features |= NETIF_F_HW_ESP | NETIF_F_HW_ESP_TX_CSUM; in nfp_net_netdev_init()
2714 netdev->hw_features |= NETIF_F_GSO_UDP_TUNNEL | in nfp_net_netdev_init()
2724 netdev->hw_features |= NETIF_F_GSO_GRE; in nfp_net_netdev_init()
[all …]
/linux/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-common.c180 netdev->hw_features = NETIF_F_TSO; in xlgmac_init()
181 netdev->hw_features |= NETIF_F_TSO6; in xlgmac_init()
182 netdev->hw_features |= NETIF_F_SG; in xlgmac_init()
183 netdev->hw_features |= NETIF_F_IP_CSUM; in xlgmac_init()
184 netdev->hw_features |= NETIF_F_IPV6_CSUM; in xlgmac_init()
186 netdev->hw_features = NETIF_F_IP_CSUM; in xlgmac_init()
187 netdev->hw_features |= NETIF_F_IPV6_CSUM; in xlgmac_init()
191 netdev->hw_features |= NETIF_F_RXCSUM; in xlgmac_init()
192 netdev->hw_features |= NETIF_F_GRO; in xlgmac_init()
196 netdev->hw_features |= NETIF_F_RXHASH; in xlgmac_init()
[all …]
/linux/tools/testing/selftests/drivers/net/hw/
H A Dtso.py128 for feature in cfg.hw_features:
147 if feature not in cfg.hw_features:
189 cfg.hw_features = set()
192 cfg.hw_features.add(f["name"])
196 if 'tx-gso-partial' in cfg.hw_features:
197 seg_features = {f for f in cfg.hw_features if "segmentation" in f}
/linux/drivers/vdpa/pds/
H A Ddebugfs.c179 u64 hw_features; in identity_show() local
187 hw_features = le64_to_cpu(vdpa_aux->ident.hw_features); in identity_show()
188 seq_printf(seq, "hw_features: %#llx\n", hw_features); in identity_show()
189 print_feature_bits_all(seq, hw_features); in identity_show()
H A Dvdpa_dev.c304 u64 hw_features; in pds_vdpa_set_driver_features() local
327 hw_features = le64_to_cpu(pdsv->vdpa_aux->ident.hw_features); in pds_vdpa_set_driver_features()
328 if (!(hw_features & BIT_ULL(VIRTIO_NET_F_MAC))) in pds_vdpa_set_driver_features()
849 mgmt->supported_features = le64_to_cpu(vdpa_aux->ident.hw_features); in pds_vdpa_get_mgmt_info()
/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dipoib.c113 netdev->hw_features |= NETIF_F_SG; in mlx5i_init()
114 netdev->hw_features |= NETIF_F_IP_CSUM; in mlx5i_init()
115 netdev->hw_features |= NETIF_F_IPV6_CSUM; in mlx5i_init()
116 netdev->hw_features |= NETIF_F_GRO; in mlx5i_init()
117 netdev->hw_features |= NETIF_F_TSO; in mlx5i_init()
118 netdev->hw_features |= NETIF_F_TSO6; in mlx5i_init()
119 netdev->hw_features |= NETIF_F_RXCSUM; in mlx5i_init()
120 netdev->hw_features |= NETIF_F_RXHASH; in mlx5i_init()
401 priv->netdev->hw_features &= ~NETIF_F_NTUPLE; in mlx5i_create_flow_steering()
/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-main.c235 netdev->hw_features = NETIF_F_SG | in xgbe_config_netdev()
247 netdev->hw_features |= NETIF_F_RXHASH; in xgbe_config_netdev()
260 netdev->hw_features |= NETIF_F_GSO_UDP_TUNNEL | in xgbe_config_netdev()
272 netdev->features |= netdev->hw_features; in xgbe_config_netdev()
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_pf_common.c216 ndev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | in enetc_pf_netdev_setup()
234 if (si->hw_features & ENETC_SI_F_LSO) in enetc_pf_netdev_setup()
238 ndev->hw_features |= NETIF_F_RXHASH; in enetc_pf_netdev_setup()
243 ndev->hw_features |= NETIF_F_LOOPBACK; in enetc_pf_netdev_setup()
253 if (si->hw_features & ENETC_SI_F_PSFP && pf->ops->enable_psfp && in enetc_pf_netdev_setup()
257 ndev->hw_features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup()
H A Denetc_ethtool.c57 if (hw->port && !!(priv->si->hw_features & ENETC_SI_F_QBU)) in enetc_get_reglen()
106 if (priv->si->hw_features & ENETC_SI_F_QBU) { in enetc_get_regs()
276 if (si->hw_features & ENETC_SI_F_QBU) in enetc_get_sset_count()
285 if (si->hw_features & ENETC_SI_F_QBU) in enetc_get_sset_count()
302 if (!(si->hw_features & ENETC_SI_F_QBU)) in enetc_get_pf_strings()
322 if (!(si->hw_features & ENETC_SI_F_QBU)) in enetc4_get_pf_strings()
369 if (!(si->hw_features & ENETC_SI_F_QBU)) in enetc_pf_get_ethtool_stats()
390 if (!(si->hw_features & ENETC_SI_F_QBU)) in enetc4_pf_get_ethtool_stats()
465 if (si->hw_features & ENETC_SI_F_QBU) in enetc_get_pause_stats()
627 if (si->hw_features & ENETC_SI_F_QBU) in enetc_get_eth_mac_stats()
[all …]
H A Denetc_pf.c281 si->hw_features |= ENETC_SI_F_QBV; in enetc_port_get_caps()
284 si->hw_features |= ENETC_SI_F_QBU; in enetc_port_get_caps()
287 si->hw_features |= ENETC_SI_F_PSFP; in enetc_port_get_caps()
564 if (pf->si->hw_features & ENETC_SI_F_QBV) in enetc_pl_mac_link_up()
621 if (si->hw_features & ENETC_SI_F_QBU) in enetc_pl_mac_link_up()
635 if (si->hw_features & ENETC_SI_F_QBU) in enetc_pl_mac_link_down()
H A Denetc_vf.c266 ndev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | in enetc_vf_netdev_setup()
280 ndev->hw_features |= NETIF_F_RXHASH; in enetc_vf_netdev_setup()
/linux/drivers/net/wwan/t7xx/
H A Dt7xx_netdev.c238 dev->hw_features |= NETIF_F_SG; in t7xx_ccmni_wwan_setup()
241 dev->hw_features |= NETIF_F_HW_CSUM; in t7xx_ccmni_wwan_setup()
244 dev->hw_features |= NETIF_F_RXCSUM; in t7xx_ccmni_wwan_setup()
247 dev->hw_features |= NETIF_F_GRO; in t7xx_ccmni_wwan_setup()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dktls.c122 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/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_vnd.c314 rmnet_dev->hw_features = NETIF_F_RXCSUM; in rmnet_vnd_newlink()
315 rmnet_dev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in rmnet_vnd_newlink()
316 rmnet_dev->hw_features |= NETIF_F_SG; in rmnet_vnd_newlink()
/linux/drivers/net/hyperv/
H A Drndis_filter.c1370 net->hw_features &= ~NETVSC_SUPPORTED_HW_FEATURES; in rndis_netdev_set_hwcaps()
1374 net->hw_features |= NETIF_F_RXCSUM; in rndis_netdev_set_hwcaps()
1375 net->hw_features |= NETIF_F_SG; in rndis_netdev_set_hwcaps()
1376 net->hw_features |= NETIF_F_RXHASH; in rndis_netdev_set_hwcaps()
1380 net->hw_features |= NETIF_F_IP_CSUM; in rndis_netdev_set_hwcaps()
1387 net->hw_features |= NETIF_F_TSO; in rndis_netdev_set_hwcaps()
1400 net->hw_features |= NETIF_F_IPV6_CSUM; in rndis_netdev_set_hwcaps()
1408 net->hw_features |= NETIF_F_TSO6; in rndis_netdev_set_hwcaps()
1421 net->hw_features |= NETIF_F_LRO; in rndis_netdev_set_hwcaps()
1435 net->features &= ~NETVSC_SUPPORTED_HW_FEATURES | net->hw_features; in rndis_netdev_set_hwcaps()
/linux/arch/um/drivers/
H A Dvector_transports.c408 vp->dev->hw_features |= (NETIF_F_TSO | NETIF_F_GRO); in build_raw_transport_data()
427 vp->dev->hw_features |= in build_hybrid_transport_data()
452 vp->dev->hw_features |= in build_tap_transport_data()
/linux/drivers/net/ethernet/marvell/octeon_ep_vf/
H A Doctep_vf_main.c904 if ((features & netdev->hw_features) != features) in octep_vf_set_features()
1126 netdev->hw_features = NETIF_F_SG; in octep_vf_probe()
1128 netdev->hw_features |= (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM); in octep_vf_probe()
1131 netdev->hw_features |= NETIF_F_RXCSUM; in octep_vf_probe()
1138 netdev->hw_features |= NETIF_F_TSO; in octep_vf_probe()
1142 netdev->features |= netdev->hw_features; in octep_vf_probe()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.c902 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_rep_netdev()
904 netdev->hw_features |= NETIF_F_SG; in mlx5e_build_rep_netdev()
905 netdev->hw_features |= NETIF_F_IP_CSUM; in mlx5e_build_rep_netdev()
906 netdev->hw_features |= NETIF_F_IPV6_CSUM; in mlx5e_build_rep_netdev()
907 netdev->hw_features |= NETIF_F_GRO; in mlx5e_build_rep_netdev()
908 netdev->hw_features |= NETIF_F_TSO; in mlx5e_build_rep_netdev()
909 netdev->hw_features |= NETIF_F_TSO6; in mlx5e_build_rep_netdev()
910 netdev->hw_features |= NETIF_F_RXCSUM; in mlx5e_build_rep_netdev()
912 netdev->features |= netdev->hw_features; in mlx5e_build_rep_netdev()
/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_main.c834 netdev->hw_features |= netdev->features | NETIF_F_RXALL; in txgbe_probe()
835 netdev->hw_features |= NETIF_F_NTUPLE | NETIF_F_HW_TC; in txgbe_probe()
837 netdev->hw_features |= NETIF_F_GRO; in txgbe_probe()
839 netdev->hw_features |= NETIF_F_LRO; in txgbe_probe()
/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_main.c1114 if ((features & dev->hw_features) != features) in octep_set_features()
1522 netdev->hw_features = NETIF_F_SG; in octep_probe()
1524 netdev->hw_features |= (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM); in octep_probe()
1527 netdev->hw_features |= NETIF_F_RXCSUM; in octep_probe()
1541 netdev->hw_features |= NETIF_F_TSO; in octep_probe()
1545 netdev->features |= netdev->hw_features; in octep_probe()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dlmac_common.h155 u64 hw_features; member
/linux/drivers/net/ethernet/sun/
H A Dldmvsw.c248 dev->hw_features = NETIF_F_HW_CSUM | NETIF_F_SG; in vsw_alloc_netdev()
249 dev->features = dev->hw_features; in vsw_alloc_netdev()
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_netdev.c1543 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/
H A Dnet_failover.c739 failover_dev->hw_features = FAILOVER_VLAN_FEATURES | in net_failover_create()
744 failover_dev->hw_features |= NETIF_F_GSO_ENCAP_ALL; in net_failover_create()
745 failover_dev->features |= failover_dev->hw_features; in net_failover_create()

12345678