diff options
author | Phil Sutter <phil@nwl.cc> | 2015-08-27 21:21:38 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-27 17:14:30 -0700 |
commit | d66d6c3152e8d5a6db42a56bf7ae1c6cae87ba48 (patch) | |
tree | 15e538fa64d6f8dcb0c69dff2a1daffc74c59d7a /net/sched/sch_api.c | |
parent | db4094bca7a5746bc8e36db0557e8732963e88f0 (diff) |
net: sched: register noqueue qdisc
This way users can attach noqueue just like any other qdisc using tc
without having to mess with tx_queue_len first.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_api.c')
-rw-r--r-- | net/sched/sch_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c index 59c227f26b56..a3c70a18a764 100644 --- a/net/sched/sch_api.c +++ b/net/sched/sch_api.c @@ -1942,6 +1942,7 @@ static int __init pktsched_init(void) register_qdisc(&bfifo_qdisc_ops); register_qdisc(&pfifo_head_drop_qdisc_ops); register_qdisc(&mq_qdisc_ops); + register_qdisc(&noqueue_qdisc_ops); rtnl_register(PF_UNSPEC, RTM_NEWQDISC, tc_modify_qdisc, NULL, NULL); rtnl_register(PF_UNSPEC, RTM_DELQDISC, tc_get_qdisc, NULL, NULL); |