Home
last modified time | relevance | path

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

123456789

/Linux-v5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_repr.c343 netdev->hw_features = NETIF_F_HIGHDMA; in nfp_repr_init()
345 netdev->hw_features |= NETIF_F_RXCSUM; in nfp_repr_init()
347 netdev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in nfp_repr_init()
349 netdev->hw_features |= NETIF_F_SG; in nfp_repr_init()
352 netdev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in nfp_repr_init()
354 netdev->hw_features |= NETIF_F_RXHASH; in nfp_repr_init()
357 netdev->hw_features |= NETIF_F_GSO_UDP_TUNNEL; in nfp_repr_init()
361 netdev->hw_features |= NETIF_F_GSO_GRE; in nfp_repr_init()
364 netdev->hw_enc_features = netdev->hw_features; in nfp_repr_init()
366 netdev->vlan_features = netdev->hw_features; in nfp_repr_init()
[all …]
Dnfp_net_common.c3919 netdev->hw_features = NETIF_F_HIGHDMA; in nfp_net_netdev_init()
3921 netdev->hw_features |= NETIF_F_RXCSUM; in nfp_net_netdev_init()
3925 netdev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in nfp_net_netdev_init()
3929 netdev->hw_features |= NETIF_F_SG; in nfp_net_netdev_init()
3934 netdev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in nfp_net_netdev_init()
3939 netdev->hw_features |= NETIF_F_RXHASH; in nfp_net_netdev_init()
3942 netdev->hw_features |= NETIF_F_GSO_UDP_TUNNEL; in nfp_net_netdev_init()
3948 netdev->hw_features |= NETIF_F_GSO_GRE; in nfp_net_netdev_init()
3952 netdev->hw_enc_features = netdev->hw_features; in nfp_net_netdev_init()
3954 netdev->vlan_features = netdev->hw_features; in nfp_net_netdev_init()
[all …]
/Linux-v5.10/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-common.c182 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-v5.10/drivers/net/ethernet/pensando/ionic/
Dionic_lif.c1275 old_hw_features = lif->hw_features; in ionic_set_nic_features()
1276 lif->hw_features = le64_to_cpu(ctx.cmd.lif_setattr.features & in ionic_set_nic_features()
1279 if ((old_hw_features ^ lif->hw_features) & IONIC_ETH_HW_RX_HASH) in ionic_set_nic_features()
1286 if (lif->hw_features & IONIC_ETH_HW_VLAN_TX_TAG) in ionic_set_nic_features()
1288 if (lif->hw_features & IONIC_ETH_HW_VLAN_RX_STRIP) in ionic_set_nic_features()
1290 if (lif->hw_features & IONIC_ETH_HW_VLAN_RX_FILTER) in ionic_set_nic_features()
1292 if (lif->hw_features & IONIC_ETH_HW_RX_HASH) in ionic_set_nic_features()
1294 if (lif->hw_features & IONIC_ETH_HW_TX_SG) in ionic_set_nic_features()
1296 if (lif->hw_features & IONIC_ETH_HW_TX_CSUM) in ionic_set_nic_features()
1298 if (lif->hw_features & IONIC_ETH_HW_RX_CSUM) in ionic_set_nic_features()
[all …]
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.c97 netdev->hw_features |= NETIF_F_SG; in mlx5i_init()
98 netdev->hw_features |= NETIF_F_IP_CSUM; in mlx5i_init()
99 netdev->hw_features |= NETIF_F_IPV6_CSUM; in mlx5i_init()
100 netdev->hw_features |= NETIF_F_GRO; in mlx5i_init()
101 netdev->hw_features |= NETIF_F_TSO; in mlx5i_init()
102 netdev->hw_features |= NETIF_F_TSO6; in mlx5i_init()
103 netdev->hw_features |= NETIF_F_RXCSUM; in mlx5i_init()
104 netdev->hw_features |= NETIF_F_RXHASH; in mlx5i_init()
336 priv->netdev->hw_features &= ~NETIF_F_NTUPLE; in mlx5i_create_flow_steering()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls.c62 netdev->hw_features |= NETIF_F_HW_TLS_TX; in mlx5e_ktls_build_netdev()
67 netdev->hw_features |= NETIF_F_HW_TLS_RX; in mlx5e_ktls_build_netdev()
Dtls.c207 netdev->hw_features |= NETIF_F_HW_TLS_TX; in mlx5e_tls_build_netdev()
212 netdev->hw_features |= NETIF_F_HW_TLS_RX; in mlx5e_tls_build_netdev()
217 netdev->hw_features &= ~NETIF_F_LRO; in mlx5e_tls_build_netdev()
/Linux-v5.10/drivers/net/ethernet/amd/xgbe/
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-v5.10/drivers/net/ethernet/freescale/enetc/
Denetc_vf.c123 ndev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | NETIF_F_HW_CSUM | in enetc_vf_netdev_setup()
132 ndev->hw_features |= NETIF_F_RXHASH; in enetc_vf_netdev_setup()
135 ndev->hw_features &= ~NETIF_F_HW_CSUM; in enetc_vf_netdev_setup()
Denetc_pf.c717 ndev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | NETIF_F_HW_CSUM | in enetc_pf_netdev_setup()
726 ndev->hw_features |= NETIF_F_RXHASH; in enetc_pf_netdev_setup()
729 ndev->hw_features &= ~NETIF_F_HW_CSUM; in enetc_pf_netdev_setup()
735 if (si->hw_features & ENETC_SI_F_QBV) in enetc_pf_netdev_setup()
738 if (si->hw_features & ENETC_SI_F_PSFP && !enetc_psfp_enable(priv)) { in enetc_pf_netdev_setup()
741 ndev->hw_features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup()
/Linux-v5.10/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_vnd.c239 rmnet_dev->hw_features = NETIF_F_RXCSUM; in rmnet_vnd_newlink()
240 rmnet_dev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in rmnet_vnd_newlink()
241 rmnet_dev->hw_features |= NETIF_F_SG; in rmnet_vnd_newlink()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c741 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_rep_netdev()
742 netdev->hw_features |= NETIF_F_SG; in mlx5e_build_rep_netdev()
743 netdev->hw_features |= NETIF_F_IP_CSUM; in mlx5e_build_rep_netdev()
744 netdev->hw_features |= NETIF_F_IPV6_CSUM; in mlx5e_build_rep_netdev()
745 netdev->hw_features |= NETIF_F_GRO; in mlx5e_build_rep_netdev()
746 netdev->hw_features |= NETIF_F_TSO; in mlx5e_build_rep_netdev()
747 netdev->hw_features |= NETIF_F_TSO6; in mlx5e_build_rep_netdev()
748 netdev->hw_features |= NETIF_F_RXCSUM; in mlx5e_build_rep_netdev()
751 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in mlx5e_build_rep_netdev()
755 netdev->features |= netdev->hw_features; in mlx5e_build_rep_netdev()
/Linux-v5.10/net/ethtool/
Dfeatures.c44 ethnl_features_to_bitmap32(data->hw, dev->hw_features); in features_prepare_data()
256 dev->wanted_features &= ~dev->hw_features; in ethnl_set_features()
257 dev->wanted_features |= ethnl_bitmap_to_features(req_wanted) & dev->hw_features; in ethnl_set_features()
/Linux-v5.10/drivers/net/hyperv/
Drndis_filter.c1270 net->hw_features &= ~NETVSC_SUPPORTED_HW_FEATURES; in rndis_netdev_set_hwcaps()
1274 net->hw_features |= NETIF_F_RXCSUM; in rndis_netdev_set_hwcaps()
1275 net->hw_features |= NETIF_F_SG; in rndis_netdev_set_hwcaps()
1276 net->hw_features |= NETIF_F_RXHASH; in rndis_netdev_set_hwcaps()
1280 net->hw_features |= NETIF_F_IP_CSUM; in rndis_netdev_set_hwcaps()
1287 net->hw_features |= NETIF_F_TSO; in rndis_netdev_set_hwcaps()
1300 net->hw_features |= NETIF_F_IPV6_CSUM; in rndis_netdev_set_hwcaps()
1308 net->hw_features |= NETIF_F_TSO6; in rndis_netdev_set_hwcaps()
1321 net->hw_features |= NETIF_F_LRO; in rndis_netdev_set_hwcaps()
1335 net->features &= ~NETVSC_SUPPORTED_HW_FEATURES | net->hw_features; in rndis_netdev_set_hwcaps()
/Linux-v5.10/drivers/net/ethernet/google/gve/
Dgve_main.c1299 dev->hw_features = NETIF_F_HIGHDMA; in gve_probe()
1300 dev->hw_features |= NETIF_F_SG; in gve_probe()
1301 dev->hw_features |= NETIF_F_HW_CSUM; in gve_probe()
1302 dev->hw_features |= NETIF_F_TSO; in gve_probe()
1303 dev->hw_features |= NETIF_F_TSO6; in gve_probe()
1304 dev->hw_features |= NETIF_F_TSO_ECN; in gve_probe()
1305 dev->hw_features |= NETIF_F_RXCSUM; in gve_probe()
1306 dev->hw_features |= NETIF_F_RXHASH; in gve_probe()
1307 dev->features = dev->hw_features; in gve_probe()
/Linux-v5.10/arch/um/drivers/
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-v5.10/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c2725 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc()
2731 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc()
2739 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc()
2743 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc()
2760 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc()
2764 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc()
2887 eth->netdev[id]->hw_features = eth->soc->hw_features; in mtk_add_mac()
2889 eth->netdev[id]->hw_features |= NETIF_F_LRO; in mtk_add_mac()
2891 eth->netdev[id]->vlan_features = eth->soc->hw_features & in mtk_add_mac()
2893 eth->netdev[id]->features |= eth->soc->hw_features; in mtk_add_mac()
[all …]
/Linux-v5.10/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c572 if (!(pf->hw_features & I40E_HW_PTP_L4_CAPABLE)) in i40e_ptp_set_timestamp_mode()
586 if (!(pf->hw_features & I40E_HW_PTP_L4_CAPABLE)) in i40e_ptp_set_timestamp_mode()
595 if (pf->hw_features & I40E_HW_PTP_L4_CAPABLE) { in i40e_ptp_set_timestamp_mode()
/Linux-v5.10/drivers/gpu/drm/panfrost/
Dpanfrost_device.h54 unsigned long hw_features[64 / BITS_PER_LONG]; member
/Linux-v5.10/drivers/net/ethernet/sun/
Dldmvsw.c252 dev->hw_features = NETIF_F_HW_CSUM | NETIF_F_SG; in vsw_alloc_netdev()
253 dev->features = dev->hw_features; in vsw_alloc_netdev()
/Linux-v5.10/drivers/net/
Ddummy.c130 dev->hw_features |= dev->features; in dummy_setup()
Dnet_failover.c743 failover_dev->hw_features = FAILOVER_VLAN_FEATURES | in net_failover_create()
748 failover_dev->hw_features |= NETIF_F_GSO_ENCAP_ALL; in net_failover_create()
749 failover_dev->features |= failover_dev->hw_features; in net_failover_create()
/Linux-v5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c1545 netdev_features_t hw_features; in fm10k_alloc_netdev() local
1587 hw_features = dev->features; in fm10k_alloc_netdev()
1590 hw_features |= NETIF_F_HW_L2FW_DOFFLOAD; in fm10k_alloc_netdev()
1605 dev->hw_features |= hw_features; in fm10k_alloc_netdev()
/Linux-v5.10/drivers/net/ethernet/ibm/
Dibmveth.c1696 netdev->hw_features = NETIF_F_SG; in ibmveth_probe()
1698 netdev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in ibmveth_probe()
1702 netdev->features |= netdev->hw_features; in ibmveth_probe()
1709 netdev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in ibmveth_probe()
1710 netdev->features |= netdev->hw_features; in ibmveth_probe()
1712 netdev->hw_features |= NETIF_F_TSO; in ibmveth_probe()
1718 netdev->hw_features |= NETIF_F_FRAGLIST; in ibmveth_probe()
/Linux-v5.10/drivers/net/ethernet/qlogic/qede/
Dqede_main.c778 netdev_features_t hw_features; in qede_init_ndev() local
803 hw_features = NETIF_F_GRO | NETIF_F_GRO_HW | NETIF_F_SG | in qede_init_ndev()
808 hw_features |= NETIF_F_NTUPLE; in qede_init_ndev()
815 hw_features |= NETIF_F_TSO_ECN; in qede_init_ndev()
823 hw_features |= (NETIF_F_GSO_UDP_TUNNEL | in qede_init_ndev()
832 hw_features |= (NETIF_F_GSO_GRE | NETIF_F_GSO_GRE_CSUM); in qede_init_ndev()
837 ndev->vlan_features = hw_features | NETIF_F_RXHASH | NETIF_F_RXCSUM | in qede_init_ndev()
839 ndev->features = hw_features | NETIF_F_RXHASH | NETIF_F_RXCSUM | in qede_init_ndev()
843 ndev->hw_features = hw_features; in qede_init_ndev()

123456789