Home
last modified time | relevance | path

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

12345

/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()
194 cfg.hw_features.add(feature)
204 if 'tx-gso-partial' in cfg.hw_features:
211 cfg.partial_features = cfg.hw_features - no_partial
/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/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_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 …]
/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/marvell/octeontx2/af/
H A Dlmac_common.h155 u64 hw_features; member
/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/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/vdpa/ifcvf/
H A Difcvf_base.h75 u64 hw_features; member
/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()
H A Dloopback.c178 dev->hw_features = NETIF_F_GSO_SOFTWARE; in gen_lo_setup()
/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_ktls.c143 netdev->hw_features |= NETIF_F_HW_TLS_TX; in fun_ktls_init()
/linux/net/openvswitch/
H A Dvport-internal_dev.c118 netdev->hw_features = netdev->features; in do_setup()
/linux/drivers/net/ovpn/
H A Dmain.c170 dev->hw_features |= feat; in ovpn_setup()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_netdev.c3327 dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in mlx4_en_init_netdev()
3329 dev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in mlx4_en_init_netdev()
3333 dev->hw_features |= NETIF_F_GSO_UDP_TUNNEL | in mlx4_en_init_netdev()
3350 dev->vlan_features = dev->hw_features; in mlx4_en_init_netdev()
3352 dev->hw_features |= NETIF_F_RXCSUM | NETIF_F_RXHASH; in mlx4_en_init_netdev()
3353 dev->features = dev->hw_features | NETIF_F_HIGHDMA | in mlx4_en_init_netdev()
3356 dev->hw_features |= NETIF_F_LOOPBACK | in mlx4_en_init_netdev()
3362 dev->hw_features |= NETIF_F_HW_VLAN_STAG_RX; in mlx4_en_init_netdev()
3371 dev->hw_features |= NETIF_F_HW_VLAN_STAG_TX; in mlx4_en_init_netdev()
3377 dev->hw_features &= ~(NETIF_F_HW_VLAN_CTAG_TX | in mlx4_en_init_netdev()
[all …]

12345