Home
last modified time | relevance | path

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

12345678910

/linux/drivers/net/ethernet/netronome/nfp/
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()
347 netdev->hw_features |= NETIF_F_SG; 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()
367 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in nfp_repr_init()
379 netdev->features = netdev->hw_features; in nfp_repr_init()
[all …]
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()
2693 netdev->hw_features |= NETIF_F_SG; 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()
2724 netdev->hw_features |= NETIF_F_GSO_GRE; in nfp_net_netdev_init()
2728 netdev->hw_enc_features = netdev->hw_features; in nfp_net_netdev_init()
2730 netdev->vlan_features = netdev->hw_features; in nfp_net_netdev_init()
2733 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in nfp_net_netdev_init()
2755 netdev->features = netdev->hw_features; in nfp_net_netdev_init()
[all …]
/linux/drivers/net/ethernet/synopsys/
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/drivers/vdpa/pds/
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()
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()
848 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/
A Dipoib.c94 netdev->hw_features |= NETIF_F_SG; in mlx5i_init()
95 netdev->hw_features |= NETIF_F_IP_CSUM; in mlx5i_init()
96 netdev->hw_features |= NETIF_F_IPV6_CSUM; in mlx5i_init()
97 netdev->hw_features |= NETIF_F_GRO; in mlx5i_init()
98 netdev->hw_features |= NETIF_F_TSO; in mlx5i_init()
99 netdev->hw_features |= NETIF_F_TSO6; in mlx5i_init()
100 netdev->hw_features |= NETIF_F_RXCSUM; in mlx5i_init()
101 netdev->hw_features |= NETIF_F_RXHASH; in mlx5i_init()
379 priv->netdev->hw_features &= ~NETIF_F_NTUPLE; in mlx5i_create_flow_steering()
/linux/drivers/net/ethernet/amd/xgbe/
A Dxgbe-main.c345 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/drivers/net/ethernet/pensando/ionic/
A Dionic_lif.c1506 old_hw_features = lif->hw_features; in ionic_set_nic_features()
1523 if (lif->hw_features & IONIC_ETH_HW_RX_HASH) in ionic_set_nic_features()
1525 if (lif->hw_features & IONIC_ETH_HW_TX_SG) in ionic_set_nic_features()
1527 if (lif->hw_features & IONIC_ETH_HW_TX_CSUM) in ionic_set_nic_features()
1529 if (lif->hw_features & IONIC_ETH_HW_RX_CSUM) in ionic_set_nic_features()
1531 if (lif->hw_features & IONIC_ETH_HW_TSO) in ionic_set_nic_features()
1595 netdev->hw_features |= NETIF_F_RXHASH; in ionic_init_nic_features()
1596 if (lif->hw_features & IONIC_ETH_HW_TX_SG) in ionic_init_nic_features()
1597 netdev->hw_features |= NETIF_F_SG; in ionic_init_nic_features()
1603 if (lif->hw_features & IONIC_ETH_HW_TSO) in ionic_init_nic_features()
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_vf.c652 netdev->hw_features = NETIF_F_RXCSUM | NETIF_F_IP_CSUM | in otx2vf_probe()
656 netdev->features = netdev->hw_features; in otx2vf_probe()
659 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_TX | in otx2vf_probe()
661 netdev->features |= netdev->hw_features; in otx2vf_probe()
663 netdev->hw_features |= NETIF_F_NTUPLE; in otx2vf_probe()
664 netdev->hw_features |= NETIF_F_RXALL; in otx2vf_probe()
665 netdev->hw_features |= NETIF_F_HW_TC; in otx2vf_probe()
/linux/drivers/net/wwan/t7xx/
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/
A Dfeatures.c44 ethnl_features_to_bitmap32(data->hw, dev->hw_features); in features_prepare_data()
258 dev->wanted_features &= ~dev->hw_features; in ethnl_set_features()
259 dev->wanted_features |= ethnl_bitmap_to_features(req_wanted) & dev->hw_features; in ethnl_set_features()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
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/
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/
A Drndis_filter.c1369 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/drivers/net/ethernet/freescale/enetc/
A Denetc_ethtool.c54 if (hw->port && !!(priv->si->hw_features & ENETC_SI_F_QBU)) in enetc_get_reglen()
103 if (priv->si->hw_features & ENETC_SI_F_QBU) { in enetc_get_regs()
339 if (si->hw_features & ENETC_SI_F_QBU) in enetc_get_pause_stats()
426 if (si->hw_features & ENETC_SI_F_QBU) in enetc_get_eth_mac_stats()
447 if (si->hw_features & ENETC_SI_F_QBU) in enetc_get_eth_ctrl_stats()
471 if (si->hw_features & ENETC_SI_F_QBU) in enetc_get_rmon_stats()
945 if (!(si->hw_features & ENETC_SI_F_QBU)) in enetc_get_mm_stats()
963 if (!(si->hw_features & ENETC_SI_F_QBU)) in enetc_get_mm()
1093 if (!(si->hw_features & ENETC_SI_F_QBU)) in enetc_set_mm()
A Denetc_vf.c143 ndev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | in enetc_vf_netdev_setup()
155 ndev->hw_features |= NETIF_F_RXHASH; in enetc_vf_netdev_setup()
A Denetc_pf.c786 ndev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | in enetc_pf_netdev_setup()
798 ndev->hw_features |= NETIF_F_RXHASH; in enetc_pf_netdev_setup()
805 if (si->hw_features & ENETC_SI_F_PSFP && !enetc_psfp_enable(priv)) { in enetc_pf_netdev_setup()
808 ndev->hw_features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup()
1011 if (pf->si->hw_features & ENETC_SI_F_QBV) in enetc_pl_mac_link_up()
1068 if (si->hw_features & ENETC_SI_F_QBU) in enetc_pl_mac_link_up()
1082 if (si->hw_features & ENETC_SI_F_QBU) in enetc_pl_mac_link_down()
/linux/arch/um/drivers/
A Dvector_transports.c409 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/drivers/net/ethernet/marvell/octeon_ep_vf/
A Doctep_vf_main.c897 if ((features & netdev->hw_features) != features) in octep_vf_set_features()
1119 netdev->hw_features = NETIF_F_SG; in octep_vf_probe()
1121 netdev->hw_features |= (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM); in octep_vf_probe()
1124 netdev->hw_features |= NETIF_F_RXCSUM; in octep_vf_probe()
1131 netdev->hw_features |= NETIF_F_TSO; in octep_vf_probe()
1135 netdev->features |= netdev->hw_features; in octep_vf_probe()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den_rep.c890 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_rep_netdev()
892 netdev->hw_features |= NETIF_F_SG; in mlx5e_build_rep_netdev()
893 netdev->hw_features |= NETIF_F_IP_CSUM; in mlx5e_build_rep_netdev()
894 netdev->hw_features |= NETIF_F_IPV6_CSUM; in mlx5e_build_rep_netdev()
895 netdev->hw_features |= NETIF_F_GRO; in mlx5e_build_rep_netdev()
896 netdev->hw_features |= NETIF_F_TSO; in mlx5e_build_rep_netdev()
897 netdev->hw_features |= NETIF_F_TSO6; in mlx5e_build_rep_netdev()
898 netdev->hw_features |= NETIF_F_RXCSUM; in mlx5e_build_rep_netdev()
900 netdev->features |= netdev->hw_features; in mlx5e_build_rep_netdev()
/linux/drivers/net/ethernet/marvell/octeon_ep/
A Doctep_main.c1112 if ((features & dev->hw_features) != features) in octep_set_features()
1465 netdev->hw_features = NETIF_F_SG; in octep_probe()
1467 netdev->hw_features |= (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM); in octep_probe()
1470 netdev->hw_features |= NETIF_F_RXCSUM; in octep_probe()
1484 netdev->hw_features |= NETIF_F_TSO; in octep_probe()
1488 netdev->features |= netdev->hw_features; in octep_probe()
/linux/drivers/net/ethernet/intel/iavf/
A Diavf_main.c4612 netdev_features_t hw_features = 0; in iavf_get_netdev_vlan_hw_features() local
4615 return hw_features; in iavf_get_netdev_vlan_hw_features()
4619 hw_features |= (NETIF_F_HW_VLAN_CTAG_TX | in iavf_get_netdev_vlan_hw_features()
4662 hw_features |= NETIF_F_RXFCS; in iavf_get_netdev_vlan_hw_features()
4664 return hw_features; in iavf_get_netdev_vlan_hw_features()
4948 netdev_features_t hw_features; in iavf_process_config() local
4991 hw_features = hw_enc_features; in iavf_process_config()
4999 hw_features |= NETIF_F_HW_TC; in iavf_process_config()
5002 hw_features |= NETIF_F_GSO_UDP_L4; in iavf_process_config()
5004 netdev->hw_features |= hw_features | hw_vlan_features; in iavf_process_config()
[all …]
/linux/drivers/gpu/drm/panfrost/
A Dpanfrost_features.h124 return test_bit(feat, pfdev->features.hw_features); in panfrost_has_hw_feature()
/linux/drivers/net/ethernet/wangxun/txgbe/
A Dtxgbe_main.c599 netdev->hw_features |= netdev->features | NETIF_F_RXALL; in txgbe_probe()
600 netdev->hw_features |= NETIF_F_NTUPLE | NETIF_F_HW_TC; in txgbe_probe()
602 netdev->hw_features |= NETIF_F_GRO; in txgbe_probe()
/linux/drivers/net/ethernet/wangxun/ngbe/
A Dngbe_main.c592 netdev->hw_features |= netdev->features | NETIF_F_RXALL; in ngbe_probe()
593 netdev->hw_features |= NETIF_F_NTUPLE | NETIF_F_HW_TC; in ngbe_probe()
595 netdev->hw_features |= NETIF_F_GRO; in ngbe_probe()

Completed in 86 milliseconds

12345678910