tcp: allow for bigger reordering level
authorEric Dumazet <edumazet@google.com>
Tue, 28 Oct 2014 04:45:24 +0000 (21:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Oct 2014 19:05:15 +0000 (15:05 -0400)
commitdca145ffaa8d39ea1904491ac81b92b7049372c0
treeebe67ece694b9e54281047a6037b7d5776f9f56b
parent7aef06db0f91c7b48305d07b62edf43179adb28c
tcp: allow for bigger reordering level

While testing upcoming Yaogong patch (converting out of order queue
into an RB tree), I hit the max reordering level of linux TCP stack.

Reordering level was limited to 127 for no good reason, and some
network setups [1] can easily reach this limit and get limited
throughput.

Allow a new max limit of 300, and add a sysctl to allow admins to even
allow bigger (or lower) values if needed.

[1] Aggregation of links, per packet load balancing, fabrics not doing
 deep packet inspections, alternative TCP congestion modules...

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Yaogong Wang <wygivan@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/bonding.txt
Documentation/networking/ip-sysctl.txt
include/linux/tcp.h
include/net/tcp.h
net/ipv4/sysctl_net_ipv4.c
net/ipv4/tcp_input.c