Home
last modified time | relevance | path

Searched refs:netdev_get_num_tc (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/net/sched/
Dsch_mqprio.c450 opt.num_tc = netdev_get_num_tc(dev); in mqprio_dump()
454 for (tc = 0; tc < netdev_get_num_tc(dev); tc++) { in mqprio_dump()
507 return ((ntx - TC_H_MIN_PRIORITY) < netdev_get_num_tc(dev)) ? ntx : 0; in mqprio_find()
607 for (ntx = arg->skip; ntx < netdev_get_num_tc(dev); ntx++) { in mqprio_walk()
Dsch_taprio.c1848 opt.num_tc = netdev_get_num_tc(dev); in taprio_dump()
1851 for (i = 0; i < netdev_get_num_tc(dev); i++) { in taprio_dump()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_dcbnl.c59 if (num_tc != netdev_get_num_tc(dev)) { in fm10k_dcbnl_ieee_setets()
Dfm10k_ethtool.c1102 u8 tcs = netdev_get_num_tc(dev); in fm10k_max_channels()
1148 return fm10k_setup_tc(dev, netdev_get_num_tc(dev)); in fm10k_set_channels()
Dfm10k_main.c1491 pcs = netdev_get_num_tc(dev); in fm10k_set_qos_queues()
1872 u8 num_pcs = netdev_get_num_tc(dev); in fm10k_cache_ring_qos()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c284 tc = netdev_get_num_tc(dev); in bnxt_xdp_set()
Dbnxt_dcb.c212 int tc = netdev_get_num_tc(bp->dev); in bnxt_queue_remap()
Dbnxt_ethtool.c816 tcs = netdev_get_num_tc(dev); in bnxt_get_channels()
875 tcs = netdev_get_num_tc(dev); in bnxt_set_channels()
Dbnxt.c8481 tcs = netdev_get_num_tc(dev); in bnxt_setup_msix()
8513 if (netdev_get_num_tc(bp->dev)) in bnxt_setup_inta()
8741 int tcs = netdev_get_num_tc(bp->dev); in bnxt_reserve_rings()
11841 if (netdev_get_num_tc(dev) == tc) in bnxt_setup_mq_tc()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c189 u8 tc_nums = netdev_get_num_tc(ndev); in enetc_setup_tc_cbs()
304 u8 tc_nums = netdev_get_num_tc(ndev); in enetc_setup_tc_txtime()
/kernel/linux/linux-5.10/include/net/
Dsch_generic.h662 return (hwtc < netdev_get_num_tc(dev)) ? hwtc : -EINVAL; in tc_classid_to_hwtc()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_tx.c77 if (!netdev_get_num_tc(dev)) in mlx5e_select_queue()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c731 if (netdev_get_num_tc(dev)) in mlx4_en_select_queue()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
Dqede_main.c2392 num_tc = netdev_get_num_tc(edev->ndev); in qede_load()
/kernel/linux/linux-5.10/include/linux/
Dnetdevice.h2234 int netdev_get_num_tc(struct net_device *dev) in netdev_get_num_tc() function
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c5354 int num_tc = netdev_get_num_tc(adapter->netdev); in ixgbe_fwd_ring_up()