Home
last modified time | relevance | path

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

12345678

/Linux-v5.4/drivers/net/ethernet/netronome/nfp/
Dnfp_net_repr.c327 netdev->hw_features = NETIF_F_HIGHDMA; in nfp_repr_init()
329 netdev->hw_features |= NETIF_F_RXCSUM; in nfp_repr_init()
331 netdev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in nfp_repr_init()
333 netdev->hw_features |= NETIF_F_SG; in nfp_repr_init()
336 netdev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in nfp_repr_init()
338 netdev->hw_features |= NETIF_F_RXHASH; in nfp_repr_init()
341 netdev->hw_features |= NETIF_F_GSO_UDP_TUNNEL; in nfp_repr_init()
345 netdev->hw_features |= NETIF_F_GSO_GRE; in nfp_repr_init()
348 netdev->hw_enc_features = netdev->hw_features; in nfp_repr_init()
350 netdev->vlan_features = netdev->hw_features; in nfp_repr_init()
[all …]
Dnfp_net_common.c3983 netdev->hw_features = NETIF_F_HIGHDMA; in nfp_net_netdev_init()
3985 netdev->hw_features |= NETIF_F_RXCSUM; in nfp_net_netdev_init()
3989 netdev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in nfp_net_netdev_init()
3993 netdev->hw_features |= NETIF_F_SG; in nfp_net_netdev_init()
3998 netdev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in nfp_net_netdev_init()
4003 netdev->hw_features |= NETIF_F_RXHASH; in nfp_net_netdev_init()
4006 netdev->hw_features |= NETIF_F_GSO_UDP_TUNNEL; in nfp_net_netdev_init()
4011 netdev->hw_features |= NETIF_F_GSO_GRE; in nfp_net_netdev_init()
4015 netdev->hw_enc_features = netdev->hw_features; in nfp_net_netdev_init()
4017 netdev->vlan_features = netdev->hw_features; in nfp_net_netdev_init()
[all …]
/Linux-v5.4/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.4/drivers/net/ethernet/pensando/ionic/
Dionic_lif.c1086 lif->hw_features = le64_to_cpu(ctx.cmd.lif_setattr.features & in ionic_set_nic_features()
1093 if (lif->hw_features & IONIC_ETH_HW_VLAN_TX_TAG) in ionic_set_nic_features()
1095 if (lif->hw_features & IONIC_ETH_HW_VLAN_RX_STRIP) in ionic_set_nic_features()
1097 if (lif->hw_features & IONIC_ETH_HW_VLAN_RX_FILTER) in ionic_set_nic_features()
1099 if (lif->hw_features & IONIC_ETH_HW_RX_HASH) in ionic_set_nic_features()
1101 if (lif->hw_features & IONIC_ETH_HW_TX_SG) in ionic_set_nic_features()
1103 if (lif->hw_features & IONIC_ETH_HW_TX_CSUM) in ionic_set_nic_features()
1105 if (lif->hw_features & IONIC_ETH_HW_RX_CSUM) in ionic_set_nic_features()
1107 if (lif->hw_features & IONIC_ETH_HW_TSO) in ionic_set_nic_features()
1109 if (lif->hw_features & IONIC_ETH_HW_TSO_IPV6) in ionic_set_nic_features()
[all …]
/Linux-v5.4/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()
318 priv->netdev->hw_features &= ~NETIF_F_NTUPLE; in mlx5i_create_flow_steering()
/Linux-v5.4/drivers/net/ethernet/amd/xgbe/
Dxgbe-main.c347 netdev->hw_features = NETIF_F_SG | in xgbe_config_netdev()
359 netdev->hw_features |= NETIF_F_RXHASH; in xgbe_config_netdev()
373 netdev->hw_features |= NETIF_F_GSO_UDP_TUNNEL | in xgbe_config_netdev()
389 netdev->features |= netdev->hw_features; in xgbe_config_netdev()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dtls.c206 netdev->hw_features |= NETIF_F_HW_TLS_TX; in mlx5e_tls_build_netdev()
211 netdev->hw_features |= NETIF_F_HW_TLS_RX; in mlx5e_tls_build_netdev()
216 netdev->hw_features &= ~NETIF_F_LRO; in mlx5e_tls_build_netdev()
Dktls.c89 netdev->hw_features |= NETIF_F_HW_TLS_TX; in mlx5e_ktls_build_netdev()
/Linux-v5.4/drivers/net/ethernet/freescale/enetc/
Denetc_vf.c135 ndev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | NETIF_F_HW_CSUM | in enetc_vf_netdev_setup()
144 ndev->hw_features |= NETIF_F_RXHASH; in enetc_vf_netdev_setup()
147 ndev->hw_features &= ~NETIF_F_HW_CSUM; in enetc_vf_netdev_setup()
/Linux-v5.4/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_vnd.c236 rmnet_dev->hw_features = NETIF_F_RXCSUM; in rmnet_vnd_newlink()
237 rmnet_dev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in rmnet_vnd_newlink()
238 rmnet_dev->hw_features |= NETIF_F_SG; in rmnet_vnd_newlink()
/Linux-v5.4/drivers/net/ethernet/google/gve/
Dgve_main.c1130 dev->hw_features = NETIF_F_HIGHDMA; in gve_probe()
1131 dev->hw_features |= NETIF_F_SG; in gve_probe()
1132 dev->hw_features |= NETIF_F_HW_CSUM; in gve_probe()
1133 dev->hw_features |= NETIF_F_TSO; in gve_probe()
1134 dev->hw_features |= NETIF_F_TSO6; in gve_probe()
1135 dev->hw_features |= NETIF_F_TSO_ECN; in gve_probe()
1136 dev->hw_features |= NETIF_F_RXCSUM; in gve_probe()
1137 dev->hw_features |= NETIF_F_RXHASH; in gve_probe()
1138 dev->features = dev->hw_features; in gve_probe()
/Linux-v5.4/drivers/net/hyperv/
Drndis_filter.c1205 net->hw_features &= ~NETVSC_SUPPORTED_HW_FEATURES; in rndis_netdev_set_hwcaps()
1209 net->hw_features |= NETIF_F_RXCSUM; in rndis_netdev_set_hwcaps()
1210 net->hw_features |= NETIF_F_SG; in rndis_netdev_set_hwcaps()
1214 net->hw_features |= NETIF_F_IP_CSUM; in rndis_netdev_set_hwcaps()
1221 net->hw_features |= NETIF_F_TSO; in rndis_netdev_set_hwcaps()
1234 net->hw_features |= NETIF_F_IPV6_CSUM; in rndis_netdev_set_hwcaps()
1242 net->hw_features |= NETIF_F_TSO6; in rndis_netdev_set_hwcaps()
1255 net->hw_features |= NETIF_F_LRO; in rndis_netdev_set_hwcaps()
1269 net->features &= ~NETVSC_SUPPORTED_HW_FEATURES | net->hw_features; in rndis_netdev_set_hwcaps()
/Linux-v5.4/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.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c1471 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_rep_netdev()
1472 netdev->hw_features |= NETIF_F_SG; in mlx5e_build_rep_netdev()
1473 netdev->hw_features |= NETIF_F_IP_CSUM; in mlx5e_build_rep_netdev()
1474 netdev->hw_features |= NETIF_F_IPV6_CSUM; in mlx5e_build_rep_netdev()
1475 netdev->hw_features |= NETIF_F_GRO; in mlx5e_build_rep_netdev()
1476 netdev->hw_features |= NETIF_F_TSO; in mlx5e_build_rep_netdev()
1477 netdev->hw_features |= NETIF_F_TSO6; in mlx5e_build_rep_netdev()
1478 netdev->hw_features |= NETIF_F_RXCSUM; in mlx5e_build_rep_netdev()
1481 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in mlx5e_build_rep_netdev()
1485 netdev->features |= netdev->hw_features; in mlx5e_build_rep_netdev()
/Linux-v5.4/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c2676 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc()
2682 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc()
2690 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc()
2694 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc()
2711 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc()
2715 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc()
2838 eth->netdev[id]->hw_features = eth->soc->hw_features; in mtk_add_mac()
2840 eth->netdev[id]->hw_features |= NETIF_F_LRO; in mtk_add_mac()
2842 eth->netdev[id]->vlan_features = eth->soc->hw_features & in mtk_add_mac()
2844 eth->netdev[id]->features |= eth->soc->hw_features; in mtk_add_mac()
[all …]
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c573 if (!(pf->hw_features & I40E_HW_PTP_L4_CAPABLE)) in i40e_ptp_set_timestamp_mode()
587 if (!(pf->hw_features & I40E_HW_PTP_L4_CAPABLE)) in i40e_ptp_set_timestamp_mode()
596 if (pf->hw_features & I40E_HW_PTP_L4_CAPABLE) { in i40e_ptp_set_timestamp_mode()
/Linux-v5.4/drivers/gpu/drm/panfrost/
Dpanfrost_device.h50 unsigned long hw_features[64 / BITS_PER_LONG]; member
Dpanfrost_gpu.c280 bitmap_from_u64(pfdev->features.hw_features, hw_feat); in panfrost_gpu_init_features()
286 pfdev->features.hw_features, in panfrost_gpu_init_features()
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/
Dqede_main.c737 netdev_features_t hw_features; in qede_init_ndev() local
762 hw_features = NETIF_F_GRO | NETIF_F_GRO_HW | NETIF_F_SG | in qede_init_ndev()
767 hw_features |= NETIF_F_NTUPLE; in qede_init_ndev()
774 hw_features |= NETIF_F_TSO_ECN; in qede_init_ndev()
782 hw_features |= (NETIF_F_GSO_UDP_TUNNEL | in qede_init_ndev()
789 hw_features |= (NETIF_F_GSO_GRE | NETIF_F_GSO_GRE_CSUM); in qede_init_ndev()
794 ndev->vlan_features = hw_features | NETIF_F_RXHASH | NETIF_F_RXCSUM | in qede_init_ndev()
796 ndev->features = hw_features | NETIF_F_RXHASH | NETIF_F_RXCSUM | in qede_init_ndev()
800 ndev->hw_features = hw_features; in qede_init_ndev()
/Linux-v5.4/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.4/drivers/net/
Dnet_failover.c742 failover_dev->hw_features = FAILOVER_VLAN_FEATURES | in net_failover_create()
747 failover_dev->hw_features |= NETIF_F_GSO_ENCAP_ALL; in net_failover_create()
748 failover_dev->features |= failover_dev->hw_features; in net_failover_create()
/Linux-v5.4/net/ipv4/
Dip_gre.c734 dev->hw_features |= NETIF_F_GSO_SOFTWARE; in ipgre_link_update()
737 dev->hw_features &= ~NETIF_F_GSO_SOFTWARE; in ipgre_link_update()
741 dev->hw_features &= ~NETIF_F_GSO_SOFTWARE; in ipgre_link_update()
931 dev->hw_features |= GRE_FEATURES; in __gre_tunnel_init()
941 dev->hw_features |= NETIF_F_GSO_SOFTWARE; in __gre_tunnel_init()
1246 dev->hw_features |= GRE_FEATURES; in erspan_tunnel_init()
/Linux-v5.4/net/hsr/
Dhsr_device.c396 dev->hw_features = NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_HIGHDMA | in hsr_dev_setup()
400 dev->features = dev->hw_features; in hsr_dev_setup()
/Linux-v5.4/drivers/net/ethernet/ibm/
Dibmveth.c1658 netdev->hw_features = NETIF_F_SG; in ibmveth_probe()
1660 netdev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in ibmveth_probe()
1664 netdev->features |= netdev->hw_features; in ibmveth_probe()
1671 netdev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in ibmveth_probe()
1672 netdev->features |= netdev->hw_features; in ibmveth_probe()
1674 netdev->hw_features |= NETIF_F_TSO; in ibmveth_probe()
1680 netdev->hw_features |= NETIF_F_FRAGLIST; in ibmveth_probe()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c3407 dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in mlx4_en_init_netdev()
3409 dev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in mlx4_en_init_netdev()
3413 dev->hw_features |= NETIF_F_GSO_UDP_TUNNEL | in mlx4_en_init_netdev()
3428 dev->vlan_features = dev->hw_features; in mlx4_en_init_netdev()
3430 dev->hw_features |= NETIF_F_RXCSUM | NETIF_F_RXHASH; in mlx4_en_init_netdev()
3431 dev->features = dev->hw_features | NETIF_F_HIGHDMA | in mlx4_en_init_netdev()
3434 dev->hw_features |= NETIF_F_LOOPBACK | in mlx4_en_init_netdev()
3440 dev->hw_features |= NETIF_F_HW_VLAN_STAG_RX; in mlx4_en_init_netdev()
3449 dev->hw_features |= NETIF_F_HW_VLAN_STAG_TX; in mlx4_en_init_netdev()
3455 dev->hw_features &= ~(NETIF_F_HW_VLAN_CTAG_TX | in mlx4_en_init_netdev()
[all …]

12345678