Searched refs:qdiscs (Results 1 - 8 of 8) sorted by relevance

/linux-4.1.27/net/sched/
H A Dsch_mq.c22 struct Qdisc **qdiscs; member in struct:mq_sched
31 if (!priv->qdiscs) mq_destroy()
33 for (ntx = 0; ntx < dev->num_tx_queues && priv->qdiscs[ntx]; ntx++) mq_destroy()
34 qdisc_destroy(priv->qdiscs[ntx]); mq_destroy()
35 kfree(priv->qdiscs); mq_destroy()
52 /* pre-allocate qdiscs, attachment can't fail */ mq_init()
53 priv->qdiscs = kcalloc(dev->num_tx_queues, sizeof(priv->qdiscs[0]), mq_init()
55 if (priv->qdiscs == NULL) mq_init()
65 priv->qdiscs[ntx] = qdisc; mq_init()
85 qdisc = priv->qdiscs[ntx]; mq_attach()
95 kfree(priv->qdiscs); mq_attach()
96 priv->qdiscs = NULL; mq_attach()
H A Dsch_mqprio.c23 struct Qdisc **qdiscs; member in struct:mqprio_sched
33 if (priv->qdiscs) { mqprio_destroy()
35 ntx < dev->num_tx_queues && priv->qdiscs[ntx]; mqprio_destroy()
37 qdisc_destroy(priv->qdiscs[ntx]); mqprio_destroy()
38 kfree(priv->qdiscs); mqprio_destroy()
118 priv->qdiscs = kcalloc(dev->num_tx_queues, sizeof(priv->qdiscs[0]), mqprio_init()
120 if (priv->qdiscs == NULL) { mqprio_init()
134 priv->qdiscs[i] = qdisc; mqprio_init()
175 qdisc = priv->qdiscs[ntx]; mqprio_attach()
182 kfree(priv->qdiscs); mqprio_attach()
183 priv->qdiscs = NULL; mqprio_attach()
H A Dsch_api.c65 In turn, classes may have child qdiscs (as rule, queues)
71 checks and part of work, which is common to all qdiscs
1018 * Any broken qdiscs that would require a ops->reset() here? qdisc_create()
H A Dsch_tbf.c10 * Dmitry Torokhov <dtor@mail.ru> - allow attaching inner qdiscs -
/linux-4.1.27/include/net/
H A Dact_api.h5 * Public police action API for classifiers/qdiscs
H A Dsch_generic.h408 /* Reset all TX qdiscs greater then index of a device. */ qdisc_reset_all_tx_gt()
447 /* Are any of the TX qdiscs changing? */ qdisc_tx_changing()
652 /* we can reuse ->gso_skb because peek isn't called for root qdiscs */ qdisc_peek_dequeued()
663 /* use instead of qdisc->dequeue() for all qdiscs queried with ->peek() */ qdisc_dequeue_peeked()
/linux-4.1.27/drivers/net/
H A Difb.c6 1) qdiscs/policies that are per device as opposed to system wide.
/linux-4.1.27/include/linux/
H A Dnetdevice.h80 * function. Real network devices commonly used with qdiscs should only return
81 * the driver transmit return codes though - when qdiscs are used, the actual

Completed in 236 milliseconds