diff options
author | Florian Westphal <fwestphal@astaro.com> | 2009-08-20 16:39:05 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2009-08-20 16:39:05 +0200 |
commit | 4282d89a798adcf50973a22c5a17563b5e9421cb (patch) | |
tree | 0b5584148fd644a623f0e3420aeb200d0e6efff7 /extensions/libxt_NFQUEUE.man | |
parent | 8e4dacaed17701cb1891b962bb856e0e8cfbb5c8 (diff) |
libxt_NFQUEUE: add new v1 version with queue-balance option
New version that adds support for specifying a queue range instead
of a single queue id.
The kernel will distribute flows across the given queue range.
This is useful for multicore systems, simply start multiple instances
of the userspace program on queues x, x+1, .. x+n and use
"--queue-balance x:x+n".
Packets belonging to the same connection are put into the same queue.
With fixes from Jan Engelhardt.
Signed-off-by: Florian Westphal <fwestphal@astaro.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'extensions/libxt_NFQUEUE.man')
-rw-r--r-- | extensions/libxt_NFQUEUE.man | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/extensions/libxt_NFQUEUE.man b/extensions/libxt_NFQUEUE.man index b2c90bba..59eddfcb 100644 --- a/extensions/libxt_NFQUEUE.man +++ b/extensions/libxt_NFQUEUE.man @@ -1,12 +1,18 @@ This target is an extension of the QUEUE target. As opposed to QUEUE, it allows you to put a packet into any specific queue, identified by its 16-bit queue -number. -.TP -\fB\-\-queue\-num\fP \fIvalue\fP -This specifies the QUEUE number to use. Valid queue numbers are 0 to 65535. The default value is 0. -.PP +number. It can only be used with Kernel versions 2.6.14 or later, since it requires the .B nfnetlink_queue -kernel support. +kernel support. The \fBqueue-balance\fP option was added in Linux 2.6.31. +.TP +\fB\-\-queue\-num\fP \fIvalue\fP +This specifies the QUEUE number to use. Valid queue numbers are 0 to 65535. The default value is 0. +.PP +.TP +\fB\-\-queue\-balance\fP \fIvalue\fP\fB:\fP\fIvalue\fP +This specifies a range of queues to use. Packets are then balanced across the given queues. +This is useful for multicore systems: start multiple instances of the userspace program on +queues x, x+1, .. x+n and use "\-\-queue\-balance \fIx\fP\fB:\fP\fIx+n\fP". +Packets belonging to the same connection are put into the same nfqueue. |