Home
last modified time | relevance | path

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

12

/Linux-v6.6/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-v6.6/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()
392 netdev->features |= NETIF_F_HW_TC; in nfp_repr_init()
393 netdev->hw_features |= NETIF_F_HW_TC; in nfp_repr_init()
/Linux-v6.6/drivers/net/netdevsim/
Dnetdev.c262 if ((dev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC)) in nsim_set_features()
314 dev->hw_features |= NETIF_F_HW_TC; in nsim_setup()
/Linux-v6.6/drivers/net/ethernet/microchip/sparx5/
Dsparx5_netdev.c271 ndev->hw_features |= NETIF_F_HW_TC; in sparx5_create_netdev()
272 ndev->features |= NETIF_F_HW_TC; in sparx5_create_netdev()
/Linux-v6.6/include/linux/
Dnetdev_features.h155 #define NETIF_F_HW_TC __NETIF_F(HW_TC) macro
/Linux-v6.6/drivers/net/ethernet/freescale/enetc/
Denetc_pf.c715 if (changed & NETIF_F_HW_TC) { in enetc_pf_set_features()
716 err = enetc_set_psfp(ndev, !!(features & NETIF_F_HW_TC)); in enetc_pf_set_features()
816 ndev->features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup()
817 ndev->hw_features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup()
/Linux-v6.6/drivers/net/ethernet/intel/ice/
Dice_repr.c273 netdev->hw_features |= NETIF_F_HW_TC; in ice_repr_reg_netdev()
Dice_main.c3475 netdev->hw_features |= NETIF_F_HW_TC; in ice_set_netdev_features()
6231 if (!(features & NETIF_F_HW_TC) && ice_is_adq_active(pf)) { in ice_set_features()
6236 if (changed & NETIF_F_HW_TC) { in ice_set_features()
6237 bool ena = !!(features & NETIF_F_HW_TC); in ice_set_features()
8771 if (vsi->netdev->features & NETIF_F_HW_TC) in ice_setup_tc_mqprio_qdisc()
/Linux-v6.6/drivers/net/ethernet/mscc/
Docelot_net.c857 if ((dev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in ocelot_set_features()
1808 NETIF_F_HW_TC; in ocelot_probe_port()
1809 dev->features |= NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_TC; in ocelot_probe_port()
/Linux-v6.6/drivers/net/ethernet/microchip/lan966x/
Dlan966x_main.c818 NETIF_F_HW_TC; in lan966x_probe_port()
819 dev->hw_features |= NETIF_F_HW_TC; in lan966x_probe_port()
/Linux-v6.6/drivers/net/ethernet/sfc/
Def100_nic.c1194 net_dev->features |= NETIF_F_HW_TC; in ef100_probe_netdev_pf()
1195 efx->fixed_features |= NETIF_F_HW_TC; in ef100_probe_netdev_pf()
/Linux-v6.6/drivers/net/ethernet/wangxun/ngbe/
Dngbe_main.c578 netdev->hw_features |= NETIF_F_NTUPLE | NETIF_F_HW_TC; in ngbe_probe()
/Linux-v6.6/drivers/net/ethernet/wangxun/txgbe/
Dtxgbe_main.c635 netdev->hw_features |= NETIF_F_NTUPLE | NETIF_F_HW_TC; in txgbe_probe()
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_common.c1866 bool tc = !!(features & NETIF_F_HW_TC); in otx2_handle_ntuple_tc_features()
1879 if ((changed & NETIF_F_HW_TC) && !tc && in otx2_handle_ntuple_tc_features()
1886 otx2_tc_flower_rule_cnt(pfvf) && !(changed & NETIF_F_HW_TC)) { in otx2_handle_ntuple_tc_features()
Dotx2_vf.c650 netdev->hw_features |= NETIF_F_HW_TC; in otx2vf_probe()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c830 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_rep_netdev()
1286 netdev->wanted_features |= NETIF_F_HW_TC; in mlx5e_uplink_rep_enable()
/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2.c53 NETIF_F_HW_TC, \
/Linux-v6.6/include/net/
Dpkt_cls.h682 return dev->features & NETIF_F_HW_TC; in tc_can_offload()
/Linux-v6.6/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-v6.6/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.h53 NETIF_F_HW_TC)
/Linux-v6.6/drivers/net/ethernet/marvell/prestera/
Dprestera_main.c636 dev->features |= NETIF_F_NETNS_LOCAL | NETIF_F_HW_TC; in prestera_port_create()
/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c2444 if ((netdev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in hns3_nic_set_features()
3344 netdev->features |= NETIF_F_HW_TC; in hns3_set_default_feature()
3353 NETIF_F_HW_TC); in hns3_set_default_feature()
/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_b0.c52 NETIF_F_HW_TC, \
/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c1267 err |= mlxsw_sp_handle_feature(dev, features, NETIF_F_HW_TC, in mlxsw_sp_set_features()
1695 NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_TC; in mlxsw_sp_port_create()
1696 dev->hw_features |= NETIF_F_HW_TC | NETIF_F_LOOPBACK; in mlxsw_sp_port_create()

12