| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| 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/drivers/net/ethernet/netronome/nfp/ |
| A D | nfp_port.c | 69 if ((netdev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in nfp_port_set_features()
|
| 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/drivers/net/ethernet/microchip/sparx5/ |
| A D | sparx5_netdev.c | 271 ndev->hw_features |= NETIF_F_HW_TC; in sparx5_create_netdev() 272 ndev->features |= NETIF_F_HW_TC; in sparx5_create_netdev()
|
| /linux/drivers/net/netdevsim/ |
| A D | netdev.c | 312 if ((dev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC)) in nsim_set_features() 627 dev->hw_features |= NETIF_F_HW_TC; in nsim_setup()
|
| /linux/include/linux/ |
| A D | netdev_features.h | 151 #define NETIF_F_HW_TC __NETIF_F(HW_TC) macro
|
| /linux/drivers/net/ethernet/freescale/enetc/ |
| A D | enetc_pf.c | 706 if (changed & NETIF_F_HW_TC) { in enetc_pf_set_features() 707 err = enetc_set_psfp(ndev, !!(features & NETIF_F_HW_TC)); in enetc_pf_set_features() 807 ndev->features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup() 808 ndev->hw_features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup()
|
| /linux/drivers/net/ethernet/mscc/ |
| A D | ocelot_net.c | 857 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/drivers/net/ethernet/intel/ice/ |
| A D | ice_repr.c | 307 netdev->hw_features |= NETIF_F_HW_TC; in ice_repr_reg_netdev()
|
| A D | ice_main.c | 3638 netdev->hw_features |= NETIF_F_HW_TC; in ice_set_netdev_features() 6507 if (!(features & NETIF_F_HW_TC) && ice_is_adq_active(pf)) { in ice_set_features() 6512 if (changed & NETIF_F_HW_TC) { in ice_set_features() 6513 bool ena = !!(features & NETIF_F_HW_TC); in ice_set_features() 9132 if (vsi->netdev->features & NETIF_F_HW_TC) in ice_setup_tc_mqprio_qdisc()
|
| /linux/drivers/net/ethernet/sfc/ |
| A D | ef100_nic.c | 1194 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/drivers/net/ethernet/microchip/lan966x/ |
| 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/drivers/net/ethernet/wangxun/txgbe/ |
| A D | txgbe_main.c | 600 netdev->hw_features |= NETIF_F_NTUPLE | NETIF_F_HW_TC; in txgbe_probe()
|
| /linux/drivers/net/ethernet/wangxun/ngbe/ |
| A D | ngbe_main.c | 593 netdev->hw_features |= NETIF_F_NTUPLE | NETIF_F_HW_TC; in ngbe_probe()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| A D | otx2_common.c | 1871 bool tc = !!(features & NETIF_F_HW_TC); in otx2_handle_ntuple_tc_features() 1884 if ((changed & NETIF_F_HW_TC) && !tc && in otx2_handle_ntuple_tc_features() 1891 otx2_tc_flower_rule_cnt(pfvf) && !(changed & NETIF_F_HW_TC)) { in otx2_handle_ntuple_tc_features()
|
| A D | otx2_vf.c | 665 netdev->hw_features |= NETIF_F_HW_TC; in otx2vf_probe()
|
| /linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
| A D | hw_atl2.c | 53 NETIF_F_HW_TC, \
|
| /linux/include/net/ |
| A D | pkt_cls.h | 693 return dev->features & NETIF_F_HW_TC; in tc_can_offload()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | en_rep.c | 890 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_rep_netdev() 1338 netdev->wanted_features |= NETIF_F_HW_TC; in mlx5e_uplink_rep_enable()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| 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/drivers/net/ethernet/mediatek/ |
| A D | mtk_eth_soc.h | 55 NETIF_F_HW_TC)
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
| A D | init.c | 362 hw->netdev_features |= NETIF_F_HW_TC; in mt7915_init_wiphy()
|
| /linux/drivers/net/ethernet/marvell/prestera/ |
| A D | prestera_main.c | 636 dev->features |= NETIF_F_HW_TC; in prestera_port_create()
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
| A D | init.c | 364 hw->netdev_features |= NETIF_F_HW_TC; in mt7996_init_wiphy()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| A D | hns3_enet.c | 2440 if ((netdev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in hns3_nic_set_features() 3340 netdev->features |= NETIF_F_HW_TC; in hns3_set_default_feature() 3349 NETIF_F_HW_TC); in hns3_set_default_feature()
|