diff options
author | David S. Miller <davem@davemloft.net> | 2009-09-06 01:58:51 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-06 02:07:05 -0700 |
commit | 6ec1c69a8f6492fd25722f4762721921da074c12 (patch) | |
tree | a78323d1f7f84acbe08c25d7300b935ae4bb7c62 /arch | |
parent | 589983cd21f4a2e4ed74a958805a90fa676845c5 (diff) | |
download | linux-3.10-6ec1c69a8f6492fd25722f4762721921da074c12.tar.gz linux-3.10-6ec1c69a8f6492fd25722f4762721921da074c12.tar.bz2 linux-3.10-6ec1c69a8f6492fd25722f4762721921da074c12.zip |
net_sched: add classful multiqueue dummy scheduler
This patch adds a classful dummy scheduler which can be used as root qdisc
for multiqueue devices and exposes each device queue as a child class.
This allows to address queues individually and graft them similar to regular
classes. Additionally it presents an accumulated view of the statistics of
all real root qdiscs in the dummy root.
Two new callbacks are added to the qdisc_ops and qdisc_class_ops:
- cl_ops->select_queue selects the tx queue number for new child classes.
- qdisc_ops->attach() overrides root qdisc device grafting to attach
non-shared qdiscs to the queues.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions