Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/sched/
Dsch_mq.c56 unsigned int ntx; in mq_destroy() local
62 for (ntx = 0; ntx < dev->num_tx_queues && priv->qdiscs[ntx]; ntx++) in mq_destroy()
63 qdisc_put(priv->qdiscs[ntx]); in mq_destroy()
74 unsigned int ntx; in mq_init() local
88 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in mq_init()
89 dev_queue = netdev_get_tx_queue(dev, ntx); in mq_init()
90 qdisc = qdisc_create_dflt(dev_queue, get_default_qdisc_ops(dev, ntx), in mq_init()
92 TC_H_MIN(ntx + 1)), in mq_init()
96 priv->qdiscs[ntx] = qdisc; in mq_init()
111 unsigned int ntx; in mq_attach() local
[all …]
Dsch_mqprio.c34 unsigned int ntx; in mqprio_destroy() local
37 for (ntx = 0; in mqprio_destroy()
38 ntx < dev->num_tx_queues && priv->qdiscs[ntx]; in mqprio_destroy()
39 ntx++) in mqprio_destroy()
40 qdisc_put(priv->qdiscs[ntx]); in mqprio_destroy()
294 unsigned int ntx; in mqprio_attach() local
297 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in mqprio_attach()
298 qdisc = priv->qdiscs[ntx]; in mqprio_attach()
302 if (ntx < dev->real_num_tx_queues) in mqprio_attach()
335 unsigned long ntx = cl - 1; in mqprio_queue_get() local
[all …]
Dsch_taprio.c1734 unsigned long ntx = cl - 1; in taprio_queue_get() local
1736 if (ntx >= dev->num_tx_queues) in taprio_queue_get()
1739 return netdev_get_tx_queue(dev, ntx); in taprio_queue_get()
1916 unsigned int ntx = TC_H_MIN(classid); in taprio_find() local
1918 if (!taprio_queue_get(sch, ntx)) in taprio_find()
1920 return ntx; in taprio_find()
1952 unsigned long ntx; in taprio_walk() local
1958 for (ntx = arg->skip; ntx < dev->num_tx_queues; ntx++) { in taprio_walk()
1959 if (arg->fn(sch, ntx + 1, arg) < 0) { in taprio_walk()
/kernel/linux/linux-5.10/include/net/
Dsch_generic.h630 get_default_qdisc_ops(const struct net_device *dev, int ntx) in get_default_qdisc_ops() argument
632 return ntx < dev->real_num_tx_queues ? in get_default_qdisc_ops()
/kernel/linux/linux-5.10/drivers/atm/
Dlanai.c1712 int ntx = 0; in run_service() local
1716 ntx += handle_service(lanai, in run_service()
1722 if (ntx != 0) { in run_service()