Home
last modified time | relevance | path

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

123456789

/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.py125 for feature in cfg.hw_features:
144 if feature not in cfg.hw_features:
186 cfg.hw_features = set()
191 cfg.hw_features.add(feature)
201 if 'tx-gso-partial' in cfg.hw_features:
208 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/huawei/hinic3/
H A Dhinic3_main.c249 netdev_features_t hw_features = 0; in netdev_feature_init() local
275 hw_features |= NETIF_F_LRO; in netdev_feature_init()
279 hw_features |= netdev->hw_features | netdev->features; in netdev_feature_init()
280 netdev->hw_features = hw_features; in netdev_feature_init()
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_lif.c1507 old_hw_features = lif->hw_features; in ionic_set_nic_features()
1508 lif->hw_features = le64_to_cpu(ctx.cmd.lif_setattr.features & in ionic_set_nic_features()
1511 if ((old_hw_features ^ lif->hw_features) & IONIC_ETH_HW_RX_HASH) in ionic_set_nic_features()
1518 if (lif->hw_features & IONIC_ETH_HW_VLAN_TX_TAG) in ionic_set_nic_features()
1520 if (lif->hw_features & IONIC_ETH_HW_VLAN_RX_STRIP) in ionic_set_nic_features()
1522 if (lif->hw_features & IONIC_ETH_HW_VLAN_RX_FILTER) in ionic_set_nic_features()
1524 if (lif->hw_features & IONIC_ETH_HW_RX_HASH) in ionic_set_nic_features()
1526 if (lif->hw_features & IONIC_ETH_HW_TX_SG) in ionic_set_nic_features()
1528 if (lif->hw_features & IONIC_ETH_HW_TX_CSUM) in ionic_set_nic_features()
1530 if (lif->hw_features & IONIC_ETH_HW_RX_CSUM) in ionic_set_nic_features()
[all …]
/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/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/net/ethtool/
H A Dfeatures.c46 ethnl_features_to_bitmap32(data->hw, dev->hw_features); in features_prepare_data()
261 dev->wanted_features &= ~dev->hw_features; in ethnl_set_features()
262 dev->wanted_features |= ethnl_bitmap_to_features(req_wanted) & dev->hw_features; in ethnl_set_features()
/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/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/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/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/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/mellanox/mlx5/core/
H A Den_rep.c900 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_rep_netdev()
902 netdev->hw_features |= NETIF_F_SG; in mlx5e_build_rep_netdev()
903 netdev->hw_features |= NETIF_F_IP_CSUM; in mlx5e_build_rep_netdev()
904 netdev->hw_features |= NETIF_F_IPV6_CSUM; in mlx5e_build_rep_netdev()
905 netdev->hw_features |= NETIF_F_GRO; in mlx5e_build_rep_netdev()
906 netdev->hw_features |= NETIF_F_TSO; in mlx5e_build_rep_netdev()
907 netdev->hw_features |= NETIF_F_TSO6; in mlx5e_build_rep_netdev()
908 netdev->hw_features |= NETIF_F_RXCSUM; in mlx5e_build_rep_netdev()
910 netdev->features |= netdev->hw_features; in mlx5e_build_rep_netdev()
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_pf.c325 si->hw_features |= ENETC_SI_F_QBV; in enetc_port_get_caps()
328 si->hw_features |= ENETC_SI_F_QBU; in enetc_port_get_caps()
331 si->hw_features |= ENETC_SI_F_PSFP; in enetc_port_get_caps()
699 if (pf->si->hw_features & ENETC_SI_F_QBV) in enetc_pl_mac_link_up()
756 if (si->hw_features & ENETC_SI_F_QBU) in enetc_pl_mac_link_up()
770 if (si->hw_features & ENETC_SI_F_QBU) in enetc_pl_mac_link_down()
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_main.c4756 netdev_features_t hw_features = 0; in iavf_get_netdev_vlan_hw_features() local
4759 return hw_features; in iavf_get_netdev_vlan_hw_features()
4763 hw_features |= (NETIF_F_HW_VLAN_CTAG_TX | in iavf_get_netdev_vlan_hw_features()
4777 hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in iavf_get_netdev_vlan_hw_features()
4780 hw_features |= NETIF_F_HW_VLAN_STAG_RX; in iavf_get_netdev_vlan_hw_features()
4786 hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in iavf_get_netdev_vlan_hw_features()
4793 hw_features |= NETIF_F_HW_VLAN_CTAG_TX; in iavf_get_netdev_vlan_hw_features()
4796 hw_features |= NETIF_F_HW_VLAN_STAG_TX; in iavf_get_netdev_vlan_hw_features()
4801 hw_features |= NETIF_F_HW_VLAN_CTAG_TX; in iavf_get_netdev_vlan_hw_features()
4806 hw_features |= NETIF_F_RXFCS; in iavf_get_netdev_vlan_hw_features()
[all …]
/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/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 Ddummy.c119 dev->hw_features |= dev->features; in dummy_setup()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dlmac_common.h155 u64 hw_features; member
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_main.c826 netdev_features_t hw_features; in qede_init_ndev() local
851 hw_features = NETIF_F_GRO | NETIF_F_GRO_HW | NETIF_F_SG | in qede_init_ndev()
856 hw_features |= NETIF_F_NTUPLE; in qede_init_ndev()
863 hw_features |= NETIF_F_TSO_ECN; in qede_init_ndev()
871 hw_features |= (NETIF_F_GSO_UDP_TUNNEL | in qede_init_ndev()
880 hw_features |= (NETIF_F_GSO_GRE | NETIF_F_GSO_GRE_CSUM); in qede_init_ndev()
885 ndev->vlan_features = hw_features | NETIF_F_RXHASH | NETIF_F_RXCSUM | in qede_init_ndev()
887 ndev->features = hw_features | NETIF_F_RXHASH | NETIF_F_RXCSUM | in qede_init_ndev()
891 ndev->hw_features = hw_features; in qede_init_ndev()

123456789