Home
last modified time | relevance | path

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

12345678

/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 …]
/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/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()
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/
H 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/pensando/ionic/
H A Dionic_lif.c1506 old_hw_features = lif->hw_features; in ionic_set_nic_features()
1507 lif->hw_features = le64_to_cpu(ctx.cmd.lif_setattr.features & in ionic_set_nic_features()
1510 if ((old_hw_features ^ lif->hw_features) & IONIC_ETH_HW_RX_HASH) in ionic_set_nic_features()
1517 if (lif->hw_features & IONIC_ETH_HW_VLAN_TX_TAG) in ionic_set_nic_features()
1519 if (lif->hw_features & IONIC_ETH_HW_VLAN_RX_STRIP) in ionic_set_nic_features()
1521 if (lif->hw_features & IONIC_ETH_HW_VLAN_RX_FILTER) 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()
[all …]
/linux/drivers/net/ethernet/amd/xgbe/
H 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/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.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/freescale/enetc/
H 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()
326 if (si->hw_features & ENETC_SI_F_QBU) in enetc_get_pause_stats()
413 if (si->hw_features & ENETC_SI_F_QBU) in enetc_get_eth_mac_stats()
434 if (si->hw_features & ENETC_SI_F_QBU) in enetc_get_eth_ctrl_stats()
458 if (si->hw_features & ENETC_SI_F_QBU) in enetc_get_rmon_stats()
937 if (!(si->hw_features & ENETC_SI_F_QBU)) in enetc_get_mm_stats()
955 if (!(si->hw_features & ENETC_SI_F_QBU)) in enetc_get_mm()
1085 if (!(si->hw_features & ENETC_SI_F_QBU)) in enetc_set_mm()
H A Denetc_pf.c420 si->hw_features |= ENETC_SI_F_QBV; in enetc_port_get_caps()
423 si->hw_features |= ENETC_SI_F_QBU; in enetc_port_get_caps()
426 si->hw_features |= ENETC_SI_F_PSFP; in enetc_port_get_caps()
794 if (pf->si->hw_features & ENETC_SI_F_QBV) in enetc_pl_mac_link_up()
851 if (si->hw_features & ENETC_SI_F_QBU) in enetc_pl_mac_link_up()
865 if (si->hw_features & ENETC_SI_F_QBU) in enetc_pl_mac_link_down()
/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/arch/um/drivers/
H 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/mellanox/mlx5/core/
H A Den_rep.c891 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_rep_netdev()
893 netdev->hw_features |= NETIF_F_SG; in mlx5e_build_rep_netdev()
894 netdev->hw_features |= NETIF_F_IP_CSUM; in mlx5e_build_rep_netdev()
895 netdev->hw_features |= NETIF_F_IPV6_CSUM; in mlx5e_build_rep_netdev()
896 netdev->hw_features |= NETIF_F_GRO; in mlx5e_build_rep_netdev()
897 netdev->hw_features |= NETIF_F_TSO; in mlx5e_build_rep_netdev()
898 netdev->hw_features |= NETIF_F_TSO6; in mlx5e_build_rep_netdev()
899 netdev->hw_features |= NETIF_F_RXCSUM; in mlx5e_build_rep_netdev()
901 netdev->features |= netdev->hw_features; in mlx5e_build_rep_netdev()
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_main.c4719 netdev_features_t hw_features = 0; in iavf_get_netdev_vlan_hw_features() local
4722 return hw_features; in iavf_get_netdev_vlan_hw_features()
4726 hw_features |= (NETIF_F_HW_VLAN_CTAG_TX | in iavf_get_netdev_vlan_hw_features()
4740 hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in iavf_get_netdev_vlan_hw_features()
4743 hw_features |= NETIF_F_HW_VLAN_STAG_RX; in iavf_get_netdev_vlan_hw_features()
4749 hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in iavf_get_netdev_vlan_hw_features()
4756 hw_features |= NETIF_F_HW_VLAN_CTAG_TX; in iavf_get_netdev_vlan_hw_features()
4759 hw_features |= NETIF_F_HW_VLAN_STAG_TX; in iavf_get_netdev_vlan_hw_features()
4764 hw_features |= NETIF_F_HW_VLAN_CTAG_TX; in iavf_get_netdev_vlan_hw_features()
4769 hw_features |= NETIF_F_RXFCS; in iavf_get_netdev_vlan_hw_features()
[all …]
/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_features.h124 return test_bit(feat, pfdev->features.hw_features); in panfrost_has_hw_feature()
/linux/drivers/net/ethernet/wangxun/ngbe/
H 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()
/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/ethernet/chelsio/cxgb/
H A Dcxgb2.c189 if (adapter->port[0].dev->hw_features & NETIF_F_TSO) in enable_hw_csum()
1034 netdev->hw_features |= NETIF_F_SG | NETIF_F_IP_CSUM | in init_one()
1044 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in init_one()
1048 netdev->hw_features |= NETIF_F_TSO; in init_one()
1054 netdev->hard_header_len += (netdev->hw_features & NETIF_F_TSO) ? in init_one()
/linux/drivers/net/
H A Ddummy.c117 dev->hw_features |= dev->features; in dummy_setup()
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()
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c4414 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc()
4420 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc()
4428 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc()
4432 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc()
4449 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc()
4453 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc()
4681 eth->netdev[id]->hw_features = eth->soc->hw_features; in mtk_add_mac()
4683 eth->netdev[id]->hw_features |= NETIF_F_LRO; in mtk_add_mac()
4685 eth->netdev[id]->vlan_features = eth->soc->hw_features & in mtk_add_mac()
4687 eth->netdev[id]->features |= eth->soc->hw_features; in mtk_add_mac()
[all …]
/linux/drivers/net/ethernet/ibm/
H A Dibmveth.c1682 netdev->hw_features = NETIF_F_SG; in ibmveth_probe()
1684 netdev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in ibmveth_probe()
1688 netdev->features |= netdev->hw_features; in ibmveth_probe()
1695 netdev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in ibmveth_probe()
1696 netdev->features |= netdev->hw_features; in ibmveth_probe()
1698 netdev->hw_features |= NETIF_F_TSO; in ibmveth_probe()
1704 netdev->hw_features |= NETIF_F_FRAGLIST; in ibmveth_probe()

12345678