pkt_sched: give visibility to mq slave qdiscs
authorEric Dumazet <edumazet@google.com>
Thu, 5 Dec 2013 19:12:02 +0000 (11:12 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Dec 2013 00:54:47 +0000 (19:54 -0500)
commit95dc19299f741c986227ec33e23cbf9b3321f812
tree603380aee1a70b573c604abded1190d4203a8ca8
parentfbec3706380726e0959fe50e748dd6cda5697f56
pkt_sched: give visibility to mq slave qdiscs

Commit 6da7c8fcbcbd ("qdisc: allow setting default queuing discipline")
added the ability to change default qdisc from pfifo_fast to say fq

But as most modern ethernet devices are multiqueue, we cant really
see all the statistics from "tc -s qdisc show", as the default root
qdisc is mq.

This patch adds the calls to qdisc_list_add() to mq and mqprio

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/pkt_sched.h
net/sched/sch_api.c
net/sched/sch_mq.c
net/sched/sch_mqprio.c