]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit154b5cbf17b0d4dd66ce1ad2e7f9303a72c0e326
tree603380aee1a70b573c604abded1190d4203a8ca8
parentc737bee6faf002f1b010c0bec11e60fe6546e19a
pkt_sched: give visibility to mq slave qdiscs

Commit 976089dfb9c7 ("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