Home
last modified time | relevance | path

Searched refs:ntx (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/net/sched/
Dsch_mq.c61 unsigned int ntx; in mq_destroy() local
67 for (ntx = 0; ntx < dev->num_tx_queues && priv->qdiscs[ntx]; ntx++) in mq_destroy()
68 qdisc_destroy(priv->qdiscs[ntx]); in mq_destroy()
79 unsigned int ntx; in mq_init() local
93 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in mq_init()
94 dev_queue = netdev_get_tx_queue(dev, ntx); in mq_init()
95 qdisc = qdisc_create_dflt(dev_queue, get_default_qdisc_ops(dev, ntx), in mq_init()
97 TC_H_MIN(ntx + 1)), in mq_init()
101 priv->qdiscs[ntx] = qdisc; in mq_init()
116 unsigned int ntx; in mq_attach() local
[all …]
Dsch_mqprio.c37 unsigned int ntx; in mqprio_destroy() local
40 for (ntx = 0; in mqprio_destroy()
41 ntx < dev->num_tx_queues && priv->qdiscs[ntx]; in mqprio_destroy()
42 ntx++) in mqprio_destroy()
43 qdisc_destroy(priv->qdiscs[ntx]); in mqprio_destroy()
296 unsigned int ntx; in mqprio_attach() local
299 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in mqprio_attach()
300 qdisc = priv->qdiscs[ntx]; in mqprio_attach()
304 if (ntx < dev->real_num_tx_queues) in mqprio_attach()
315 unsigned long ntx = cl - 1; in mqprio_queue_get() local
[all …]
/Linux-v4.19/include/net/
Dsch_generic.h491 get_default_qdisc_ops(const struct net_device *dev, int ntx) in get_default_qdisc_ops() argument
493 return ntx < dev->real_num_tx_queues ? in get_default_qdisc_ops()
/Linux-v4.19/drivers/atm/
Dlanai.c1716 int ntx = 0; in run_service() local
1720 ntx += handle_service(lanai, in run_service()
1726 if (ntx != 0) { in run_service()