Home
last modified time | relevance | path

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

/linux/net/sched/
H A 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 …]
H A Dsch_mqprio.c99 unsigned int ntx; in mqprio_destroy() local
102 for (ntx = 0; in mqprio_destroy()
103 ntx < dev->num_tx_queues && priv->qdiscs[ntx]; in mqprio_destroy()
104 ntx++) in mqprio_destroy()
105 qdisc_put(priv->qdiscs[ntx]); in mqprio_destroy()
437 unsigned int ntx; in mqprio_attach() local
440 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in mqprio_attach()
441 qdisc = priv->qdiscs[ntx]; in mqprio_attach()
445 if (ntx < dev->real_num_tx_queues) in mqprio_attach()
456 unsigned long ntx = cl - 1; in mqprio_queue_get() local
[all …]
H A Dsch_htb.c1058 unsigned int ntx; in htb_init() local
1121 for (ntx = 0; ntx < q->num_direct_qdiscs; ntx++) { in htb_init()
1122 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, ntx); in htb_init()
1131 q->direct_qdiscs[ntx] = qdisc; in htb_init()
1159 unsigned int ntx; in htb_attach_offload() local
1161 for (ntx = 0; ntx < q->num_direct_qdiscs; ntx++) { in htb_attach_offload()
1162 struct Qdisc *old, *qdisc = q->direct_qdiscs[ntx]; in htb_attach_offload()
1168 for (ntx = q->num_direct_qdiscs; ntx < dev->num_tx_queues; ntx++) { in htb_attach_offload()
1169 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, ntx); in htb_attach_offload()
1182 unsigned int ntx; in htb_attach_software() local
[all …]
H A Dsch_taprio.c2133 unsigned int ntx; in taprio_attach()
2136 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in taprio_attach()
2137 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, ntx); in taprio_attach()
2141 struct Qdisc *qdisc = q->qdiscs[ntx]; in taprio_attach()
2169 unsigned long ntx = cl - 1; in taprio_queue_get()
2171 if (ntx >= dev->num_tx_queues) in taprio_queue_get()
2174 return netdev_get_tx_queue(dev, ntx); in taprio_queue_get()
2453 unsigned int ntx in taprio_leaf()
2132 unsigned int ntx; taprio_attach() local
2168 unsigned long ntx = cl - 1; taprio_queue_get() local
2452 unsigned int ntx = cl - 1; taprio_leaf() local
2462 unsigned int ntx = TC_H_MIN(classid); taprio_find() local
2504 unsigned long ntx; taprio_walk() local
[all...]
/linux/drivers/net/ethernet/davicom/
H A Ddm9051.c842 int ntx = 0; in dm9051_loop_tx() local
851 ntx++; in dm9051_loop_tx()
868 return ntx; in dm9051_loop_tx()
/linux/include/net/
H A Dsch_generic.h621 get_default_qdisc_ops(const struct net_device *dev, int ntx) in qdisc_class_hash()
623 return ntx < dev->real_num_tx_queues ? in qdisc_class_hash()
601 get_default_qdisc_ops(const struct net_device * dev,int ntx) get_default_qdisc_ops() argument
/linux/drivers/atm/
H A Dlanai.c1711 int ntx = 0; in run_service() local
1715 ntx += handle_service(lanai, in run_service()
1721 if (ntx != 0) { in run_service()