Home
last modified time | relevance | path

Searched refs:qdiscs (Results 1 – 6 of 6) sorted by relevance

/net/sched/
Dsch_mq.c21 struct Qdisc **qdiscs; member
60 if (!priv->qdiscs) in mq_destroy()
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()
64 kfree(priv->qdiscs); in mq_destroy()
83 priv->qdiscs = kcalloc(dev->num_tx_queues, sizeof(priv->qdiscs[0]), in mq_init()
85 if (!priv->qdiscs) in mq_init()
96 priv->qdiscs[ntx] = qdisc; in mq_init()
114 qdisc = priv->qdiscs[ntx]; in mq_attach()
124 kfree(priv->qdiscs); in mq_attach()
[all …]
Dsch_skbprio.c34 struct sk_buff_head qdiscs[SKBPRIO_MAX_PRIORITY]; member
45 if (!skb_queue_empty(&q->qdiscs[prio])) in calc_new_high_prio()
58 if (!skb_queue_empty(&q->qdiscs[prio])) in calc_new_low_prio()
81 qdisc = &q->qdiscs[prio]; in skbprio_enqueue()
111 lp_qdisc = &q->qdiscs[lp]; in skbprio_enqueue()
142 struct sk_buff_head *hpq = &q->qdiscs[q->highest_prio]; in skbprio_dequeue()
187 __skb_queue_head_init(&q->qdiscs[prio]); in skbprio_init()
217 __skb_queue_purge(&q->qdiscs[prio]); in skbprio_reset()
230 __skb_queue_purge(&q->qdiscs[prio]); in skbprio_destroy()
Dsch_mqprio.c21 struct Qdisc **qdiscs; member
36 if (priv->qdiscs) { in mqprio_destroy()
38 ntx < dev->num_tx_queues && priv->qdiscs[ntx]; in mqprio_destroy()
40 qdisc_put(priv->qdiscs[ntx]); in mqprio_destroy()
41 kfree(priv->qdiscs); in mqprio_destroy()
263 priv->qdiscs = kcalloc(dev->num_tx_queues, sizeof(priv->qdiscs[0]), in mqprio_init()
265 if (!priv->qdiscs) in mqprio_init()
277 priv->qdiscs[i] = qdisc; in mqprio_init()
340 qdisc = priv->qdiscs[ntx]; in mqprio_attach()
347 kfree(priv->qdiscs); in mqprio_attach()
[all …]
Dsch_taprio.c64 struct Qdisc **qdiscs; member
457 child = q->qdiscs[queue]; in taprio_enqueue()
521 struct Qdisc *child = q->qdiscs[i]; in taprio_peek()
579 struct Qdisc *child = q->qdiscs[i]; in taprio_dequeue()
1715 if (q->qdiscs) { in taprio_reset()
1717 if (q->qdiscs[i]) in taprio_reset()
1718 qdisc_reset(q->qdiscs[i]); in taprio_reset()
1739 if (q->qdiscs) { in taprio_destroy()
1741 qdisc_put(q->qdiscs[i]); in taprio_destroy()
1743 kfree(q->qdiscs); in taprio_destroy()
[all …]
DKconfig388 qdiscs in one scheduler. ETS makes it easy to configure a set of
/net/netfilter/
DKconfig838 the priority of a packet. Some qdiscs can use this value for