aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking/multiqueue.txt
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2008-09-12 20:57:23 -0400
committerDavid S. Miller <davem@davemloft.net>2008-09-12 20:57:23 -0400
commitf07d1501292b3b0d3276ee0e537005526a45e242 (patch)
treedf132456469046ec7f71ea4ac39723450c8e3c6e /Documentation/networking/multiqueue.txt
parent67333bb5679325db310bb612c1de3e6e47bb0043 (diff)
multiq: Further multiqueue cleanup
This patch resolves a few issues found with multiq including wording suggestions and a problem seen in the allocation of queues. 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>
Diffstat (limited to 'Documentation/networking/multiqueue.txt')
-rw-r--r--Documentation/networking/multiqueue.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/Documentation/networking/multiqueue.txt b/Documentation/networking/multiqueue.txt
index 8c2b06b77f61..4caa0e314cc2 100644
--- a/Documentation/networking/multiqueue.txt
+++ b/Documentation/networking/multiqueue.txt
@@ -29,15 +29,15 @@ Section 2: Qdisc support for multiqueue devices
29 29
30----------------------------------------------- 30-----------------------------------------------
31 31
32Currently two qdiscs support multiqueue devices. The first is the default 32Currently two qdiscs are optimized for multiqueue devices. The first is the
33pfifo_fast qdisc. This qdisc supports one qdisc per hardware queue. A new 33default pfifo_fast qdisc. This qdisc supports one qdisc per hardware queue.
34round-robin qdisc, sch_multiq also supports multiple hardware queues. The 34A new round-robin qdisc, sch_multiq also supports multiple hardware queues. The
35qdisc is responsible for classifying the skb's and then directing the skb's to 35qdisc is responsible for classifying the skb's and then directing the skb's to
36bands and queues based on the value in skb->queue_mapping. Use this field in 36bands and queues based on the value in skb->queue_mapping. Use this field in
37the base driver to determine which queue to send the skb to. 37the base driver to determine which queue to send the skb to.
38 38
39sch_multiq has been added for hardware that wishes to avoid unnecessary 39sch_multiq has been added for hardware that wishes to avoid head-of-line
40requeuing. It will cycle though the bands and verify that the hardware queue 40blocking. It will cycle though the bands and verify that the hardware queue
41associated with the band is not stopped prior to dequeuing a packet. 41associated with the band is not stopped prior to dequeuing a packet.
42 42
43On qdisc load, the number of bands is based on the number of queues on the 43On qdisc load, the number of bands is based on the number of queues on the
@@ -63,8 +63,8 @@ band 1 => queue 1
63band 2 => queue 2 63band 2 => queue 2
64band 3 => queue 3 64band 3 => queue 3
65 65
66Traffic will begin flowing through each queue if your base device has either 66Traffic will begin flowing through each queue based on either the simple_tx_hash
67the default simple_tx_hash or a custom netdev->select_queue() defined. 67function or based on netdev->select_queue() if you have it defined.
68 68
69The behavior of tc filters remains the same. However a new tc action, 69The behavior of tc filters remains the same. However a new tc action,
70skbedit, has been added. Assuming you wanted to route all traffic to a 70skbedit, has been added. Assuming you wanted to route all traffic to a