Home
last modified time | relevance | path

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

/Linux-v5.4/net/sched/
Dsch_mqprio.c427 opt.num_tc = netdev_get_num_tc(dev); in mqprio_dump()
431 for (tc = 0; tc < netdev_get_num_tc(dev); tc++) { in mqprio_dump()
484 return ((ntx - TC_H_MIN_PRIORITY) < netdev_get_num_tc(dev)) ? ntx : 0; in mqprio_find()
578 for (ntx = arg->skip; ntx < netdev_get_num_tc(dev); ntx++) { in mqprio_walk()
Dsch_taprio.c1761 opt.num_tc = netdev_get_num_tc(dev); in taprio_dump()
1764 for (i = 0; i < netdev_get_num_tc(dev); i++) { in taprio_dump()
/Linux-v5.4/drivers/net/ethernet/intel/fm10k/
Dfm10k_dcbnl.c59 if (num_tc != netdev_get_num_tc(dev)) { in fm10k_dcbnl_ieee_setets()
Dfm10k_ethtool.c1104 u8 tcs = netdev_get_num_tc(dev); in fm10k_max_channels()
1150 return fm10k_setup_tc(dev, netdev_get_num_tc(dev)); in fm10k_set_channels()
Dfm10k_main.c1496 pcs = netdev_get_num_tc(dev); in fm10k_set_qos_queues()
1877 u8 num_pcs = netdev_get_num_tc(dev); in fm10k_cache_ring_qos()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c283 tc = netdev_get_num_tc(dev); in bnxt_xdp_set()
Dbnxt_dcb.c214 int tc = netdev_get_num_tc(bp->dev); in bnxt_queue_remap()
Dbnxt_ethtool.c786 tcs = netdev_get_num_tc(dev); in bnxt_get_channels()
832 tcs = netdev_get_num_tc(dev); in bnxt_set_channels()
Dbnxt.c7875 tcs = netdev_get_num_tc(dev); in bnxt_setup_msix()
7907 if (netdev_get_num_tc(bp->dev)) in bnxt_setup_inta()
8127 int tcs = netdev_get_num_tc(bp->dev); in bnxt_reserve_rings()
10888 if (netdev_get_num_tc(dev) == tc) in bnxt_setup_mq_tc()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_tx.c78 if (!netdev_get_num_tc(dev)) in mlx5e_select_queue()
/Linux-v5.4/include/net/
Dsch_generic.h614 return (hwtc < netdev_get_num_tc(dev)) ? hwtc : -EINVAL; in tc_classid_to_hwtc()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c693 if (netdev_get_num_tc(dev)) in mlx4_en_select_queue()
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/
Dqede_main.c2292 num_tc = netdev_get_num_tc(edev->ndev); in qede_load()
/Linux-v5.4/include/linux/
Dnetdevice.h2096 int netdev_get_num_tc(struct net_device *dev) in netdev_get_num_tc() function
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c5329 int num_tc = netdev_get_num_tc(adapter->netdev); in ixgbe_fwd_ring_up()