]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
net: add doc for ip_early_demux sysctl
authorCong Wang <amwang@redhat.com>
Tue, 11 Jun 2013 10:54:39 +0000 (18:54 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Jun 2013 22:10:13 +0000 (15:10 -0700)
commit 6648bd7e0e62c0c8c03b (ipv4: Add sysctl knob to control
early socket demux) introduced such sysctl, but forgot to add
doc into Documentation/networking/ip-sysctl.txt. This patch adds it.

Basically I grab the doc from the description of commit 41063e9dd11956f2d285
(ipv4: Early TCP socket demux.) and the above commit.

Cc: Eric Dumazet <edumazet@google.com>
Cc: Alexander Duyck <alexander.h.duyck@intel.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ip-sysctl.txt

index 9cea5d3b3c50510835182ef27052ab7396af7e85..36e5a402ed0ee32eabb532d7135db0df39619558 100644 (file)
@@ -685,6 +685,15 @@ ip_dynaddr - BOOLEAN
        occurs.
        Default: 0
 
+ip_early_demux - BOOLEAN
+       Optimize input packet processing down to one demux for
+       certain kinds of local sockets.  Currently we only do this
+       for established TCP sockets.
+
+       It may add an additional cost for pure routing workloads that
+       reduces overall throughput, in such case you should disable it.
+       Default: 1
+
 icmp_echo_ignore_all - BOOLEAN
        If set non-zero, then the kernel will ignore all ICMP ECHO
        requests sent to it.