| /linux-6.15/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_tc_u32.h | 44 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 D | nfp_port.c | 69 if ((netdev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in nfp_port_set_features()
|
| H A D | nfp_net_repr.c | 250 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 D | sparx5_netdev.c | 279 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 D | enetc_pf_common.c | 147 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 D | enetc_pf.c | 670 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 D | netdev_features.h | 152 #define NETIF_F_HW_TC __NETIF_F(HW_TC) macro
|
| /linux-6.15/drivers/net/netdevsim/ |
| H A D | netdev.c | 328 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 D | ocelot_net.c | 858 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 D | ice_repr.c | 307 netdev->hw_features |= NETIF_F_HW_TC; in ice_repr_reg_netdev()
|
| /linux-6.15/drivers/net/ethernet/sfc/ |
| H A D | ef100_nic.c | 1189 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 D | lan966x_main.c | 817 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 D | ngbe_main.c | 611 netdev->hw_features |= NETIF_F_NTUPLE | NETIF_F_HW_TC; in ngbe_probe()
|
| /linux-6.15/drivers/net/ethernet/wangxun/txgbe/ |
| H A D | txgbe_main.c | 651 netdev->hw_features |= NETIF_F_NTUPLE | NETIF_F_HW_TC; in txgbe_probe()
|
| /linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_common.c | 2028 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 D | otx2_vf.c | 667 netdev->hw_features |= NETIF_F_HW_TC; in otx2vf_probe()
|
| H A D | rep.c | 681 ndev->hw_features |= NETIF_F_HW_TC; in rvu_rep_create()
|
| /linux-6.15/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
| H A D | hw_atl2.c | 53 NETIF_F_HW_TC, \
|
| /linux-6.15/include/net/ |
| H A D | pkt_cls.h | 693 return dev->features & NETIF_F_HW_TC; in tc_can_offload()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_rep.c | 896 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 D | bnxt_tc.c | 2059 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 D | mtk_eth_soc.h | 55 NETIF_F_HW_TC)
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/mt7915/ |
| H A D | init.c | 365 hw->netdev_features |= NETIF_F_HW_TC; in mt7915_init_wiphy()
|
| /linux-6.15/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_main.c | 636 dev->features |= NETIF_F_HW_TC; in prestera_port_create()
|
| /linux-6.15/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hns3_enet.c | 2447 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()
|