Lines Matching refs:ntx
31 unsigned int ntx; in mqprio_destroy() local
34 for (ntx = 0; in mqprio_destroy()
35 ntx < dev->num_tx_queues && priv->qdiscs[ntx]; in mqprio_destroy()
36 ntx++) in mqprio_destroy()
37 qdisc_destroy(priv->qdiscs[ntx]); in mqprio_destroy()
171 unsigned int ntx; in mqprio_attach() local
174 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in mqprio_attach()
175 qdisc = priv->qdiscs[ntx]; in mqprio_attach()
179 if (ntx < dev->real_num_tx_queues) in mqprio_attach()
190 unsigned long ntx = cl - 1 - netdev_get_num_tc(dev); in mqprio_queue_get() local
192 if (ntx >= dev->num_tx_queues) in mqprio_queue_get()
194 return netdev_get_tx_queue(dev, ntx); in mqprio_queue_get()
277 unsigned int ntx = TC_H_MIN(classid); in mqprio_get() local
279 if (ntx > dev->num_tx_queues + netdev_get_num_tc(dev)) in mqprio_get()
281 return ntx; in mqprio_get()
376 unsigned long ntx; in mqprio_walk() local
383 for (ntx = arg->skip; in mqprio_walk()
384 ntx < dev->num_tx_queues + netdev_get_num_tc(dev); in mqprio_walk()
385 ntx++) { in mqprio_walk()
386 if (arg->fn(sch, ntx + 1, arg) < 0) { in mqprio_walk()