Home
last modified time | relevance | path

Searched refs:NETIF_F_HW_TC (Results 1 – 25 of 33) sorted by relevance

12

/Linux-v5.15/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_u32.h44 return (dev->features & NETIF_F_HW_TC) && adap->tc_u32 ? true : false; in can_tc_u32_offload()
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/
Dnfp_port.c69 if ((netdev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in nfp_port_set_features()
Dnfp_net_repr.c250 features |= old_features & (NETIF_F_SOFT_FEATURES | NETIF_F_HW_TC); in nfp_repr_fix_features()
390 netdev->features |= NETIF_F_HW_TC; in nfp_repr_init()
391 netdev->hw_features |= NETIF_F_HW_TC; in nfp_repr_init()
Dnfp_net_common.c4090 netdev->hw_features |= NETIF_F_HW_TC; in nfp_net_netdev_init()
/Linux-v5.15/drivers/net/netdevsim/
Dnetdev.c235 if ((dev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC)) in nsim_set_features()
296 dev->hw_features |= NETIF_F_HW_TC; in nsim_setup()
/Linux-v5.15/include/linux/
Dnetdev_features.h155 #define NETIF_F_HW_TC __NETIF_F(HW_TC) macro
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_pf.c1839 bool tc = !!(features & NETIF_F_HW_TC); in otx2_set_features()
1860 if ((changed & NETIF_F_HW_TC) && tc) { in otx2_set_features()
1868 if ((changed & NETIF_F_HW_TC) && !tc && in otx2_set_features()
1875 (netdev->features & NETIF_F_HW_TC) && !(changed & NETIF_F_HW_TC)) { in otx2_set_features()
1881 if ((changed & NETIF_F_HW_TC) && tc && in otx2_set_features()
2606 netdev->hw_features |= NETIF_F_HW_TC; in otx2_probe()
/Linux-v5.15/drivers/net/ethernet/mscc/
Docelot_net.c733 if ((dev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in ocelot_set_features()
1705 NETIF_F_HW_TC; in ocelot_probe_port()
1706 dev->features |= NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_TC; in ocelot_probe_port()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c640 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_rep_netdev()
1015 netdev->wanted_features |= NETIF_F_HW_TC; in mlx5e_uplink_rep_enable()
Den_main.c3463 err |= MLX5E_HANDLE_FEATURE(NETIF_F_HW_TC, set_feature_hw_tc); in mlx5e_set_features()
4499 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_nic_netdev()
4515 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_nic_netdev()
/Linux-v5.15/drivers/net/ethernet/freescale/enetc/
Denetc_pf.c780 ndev->features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup()
781 ndev->hw_features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup()
Denetc.c2368 if (changed & NETIF_F_HW_TC) in enetc_set_features()
2369 err = enetc_set_psfp(ndev, !!(features & NETIF_F_HW_TC)); in enetc_set_features()
/Linux-v5.15/include/net/
Dpkt_cls.h639 return dev->features & NETIF_F_HW_TC; in tc_can_offload()
/Linux-v5.15/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.h47 NETIF_F_HW_TC)
/Linux-v5.15/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2.c53 NETIF_F_HW_TC, \
/Linux-v5.15/drivers/net/ethernet/marvell/prestera/
Dprestera_main.c319 dev->features |= NETIF_F_NETNS_LOCAL | NETIF_F_HW_TC; in prestera_port_create()
/Linux-v5.15/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c2055 bp->dev->hw_features |= NETIF_F_HW_TC; in bnxt_init_tc()
2056 bp->dev->features |= NETIF_F_HW_TC; in bnxt_init_tc()
/Linux-v5.15/net/dsa/
Dslave.c1886 slave->features = master->vlan_features | NETIF_F_HW_TC; in dsa_slave_setup_tagger()
1887 slave->hw_features |= NETIF_F_HW_TC; in dsa_slave_setup_tagger()
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c2335 if ((netdev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in hns3_nic_set_features()
3162 netdev->features |= NETIF_F_HW_TC; in hns3_set_default_feature()
3171 NETIF_F_HW_TC); in hns3_set_default_feature()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c1113 err |= mlxsw_sp_handle_feature(dev, features, NETIF_F_HW_TC, in mlxsw_sp_set_features()
1525 NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_TC; in mlxsw_sp_port_create()
1526 dev->hw_features |= NETIF_F_HW_TC | NETIF_F_LOOPBACK; in mlxsw_sp_port_create()
/Linux-v5.15/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_b0.c52 NETIF_F_HW_TC, \
/Linux-v5.15/drivers/net/ethernet/ti/
Dam65-cpsw-nuss.c1980 NETIF_F_HW_TC; in am65_cpsw_nuss_init_port_ndev()
/Linux-v5.15/drivers/net/ethernet/qlogic/qede/
Dqede_main.c794 NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_HW_TC; in qede_init_ndev()
/Linux-v5.15/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch.c3280 NETIF_F_HW_TC; in dpaa2_switch_probe_port()
/Linux-v5.15/drivers/net/ethernet/intel/iavf/
Diavf_main.c3584 hw_features |= NETIF_F_HW_TC; in iavf_process_config()

12