pkt_sched: Add multiqueue scheduler support
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 12 Sep 2008 23:29:34 +0000 (16:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Sep 2008 23:29:34 +0000 (16:29 -0700)
commit92651940ab00dbe64722e908f70d816713d677b7
treeb68fdef99784bfa46b67aabaf70c19b0e5e0a144
parent78d15e82754945ee9821fb491b57faf43abfb9d7
pkt_sched: Add multiqueue scheduler support

This patch is intended to add a qdisc to support the new tx multiqueue
architecture by providing a band for each hardware queue.  By doing
this it is possible to support a different qdisc per physical hardware
queue.

This qdisc uses the skb->queue_mapping to select which band to place
the traffic onto.  It then uses a round robin w/ a check to see if the
subqueue is stopped to determine which band to dequeue the packet from.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/multiqueue.txt
include/linux/pkt_sched.h
net/sched/Kconfig
net/sched/Makefile
net/sched/sch_multiq.c [new file with mode: 0644]