Home
last modified time | relevance | path

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

12

/linux-6.15/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_u32.h44 return (dev->features & NETIF_F_HW_TC) && adap->tc_u32 ? true : false; in can_tc_u32_offload()
/linux-6.15/drivers/net/ethernet/netronome/nfp/
H A Dnfp_port.c69 if ((netdev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in nfp_port_set_features()
H A Dnfp_net_repr.c250 features |= old_features & (NETIF_F_SOFT_FEATURES | NETIF_F_HW_TC); in nfp_repr_fix_features()
391 netdev->features |= NETIF_F_HW_TC; in nfp_repr_init()
392 netdev->hw_features |= NETIF_F_HW_TC; in nfp_repr_init()
/linux-6.15/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_netdev.c279 ndev->hw_features |= NETIF_F_HW_TC; in sparx5_create_netdev()
280 ndev->features |= NETIF_F_HW_TC; in sparx5_create_netdev()
/linux-6.15/drivers/net/ethernet/freescale/enetc/
H A Denetc_pf_common.c147 ndev->features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup()
148 ndev->hw_features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup()
H A Denetc_pf.c670 if (changed & NETIF_F_HW_TC) { in enetc_pf_set_features()
671 err = enetc_set_psfp(ndev, !!(features & NETIF_F_HW_TC)); in enetc_pf_set_features()
/linux-6.15/include/linux/
H A Dnetdev_features.h152 #define NETIF_F_HW_TC __NETIF_F(HW_TC) macro
/linux-6.15/drivers/net/netdevsim/
H A Dnetdev.c328 if ((dev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC)) in nsim_set_features()
883 dev->hw_features |= NETIF_F_HW_TC | in nsim_setup()
/linux-6.15/drivers/net/ethernet/mscc/
H A Docelot_net.c858 if ((dev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in ocelot_set_features()
1820 NETIF_F_HW_TC; in ocelot_probe_port()
1821 dev->features |= NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_TC; in ocelot_probe_port()
/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_repr.c307 netdev->hw_features |= NETIF_F_HW_TC; in ice_repr_reg_netdev()
/linux-6.15/drivers/net/ethernet/sfc/
H A Def100_nic.c1189 net_dev->features |= NETIF_F_HW_TC; in ef100_probe_netdev_pf()
1190 efx->fixed_features |= NETIF_F_HW_TC; in ef100_probe_netdev_pf()
/linux-6.15/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_main.c817 NETIF_F_HW_TC; in lan966x_probe_port()
818 dev->hw_features |= NETIF_F_HW_TC; in lan966x_probe_port()
/linux-6.15/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_main.c611 netdev->hw_features |= NETIF_F_NTUPLE | NETIF_F_HW_TC; in ngbe_probe()
/linux-6.15/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_main.c651 netdev->hw_features |= NETIF_F_NTUPLE | NETIF_F_HW_TC; in txgbe_probe()
/linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_common.c2028 bool tc = !!(features & NETIF_F_HW_TC); in otx2_handle_ntuple_tc_features()
2041 if ((changed & NETIF_F_HW_TC) && !tc && in otx2_handle_ntuple_tc_features()
2048 otx2_tc_flower_rule_cnt(pfvf) && !(changed & NETIF_F_HW_TC)) { in otx2_handle_ntuple_tc_features()
H A Dotx2_vf.c667 netdev->hw_features |= NETIF_F_HW_TC; in otx2vf_probe()
H A Drep.c681 ndev->hw_features |= NETIF_F_HW_TC; in rvu_rep_create()
/linux-6.15/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A Dhw_atl2.c53 NETIF_F_HW_TC, \
/linux-6.15/include/net/
H A Dpkt_cls.h693 return dev->features & NETIF_F_HW_TC; in tc_can_offload()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.c896 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_rep_netdev()
1344 netdev->wanted_features |= NETIF_F_HW_TC; in mlx5e_uplink_rep_enable()
/linux-6.15/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_tc.c2059 bp->dev->hw_features |= NETIF_F_HW_TC; in bnxt_init_tc()
2060 bp->dev->features |= NETIF_F_HW_TC; in bnxt_init_tc()
/linux-6.15/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.h55 NETIF_F_HW_TC)
/linux-6.15/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dinit.c365 hw->netdev_features |= NETIF_F_HW_TC; in mt7915_init_wiphy()
/linux-6.15/drivers/net/ethernet/marvell/prestera/
H A Dprestera_main.c636 dev->features |= NETIF_F_HW_TC; in prestera_port_create()
/linux-6.15/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c2447 if ((netdev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in hns3_nic_set_features()
3346 netdev->features |= NETIF_F_HW_TC; in hns3_set_default_feature()
3355 NETIF_F_HW_TC); in hns3_set_default_feature()

12