Commit 1d1be912 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

tcp: fix tcp_rmem documentation

tcp_rmem[1] has been changed to 131072, we should update the documentation
to reflect this.

Fixes: a337531b ("tcp: up initial rmem to 128KB and SYN rwin to around 64KB")
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Reported-by: default avatarZhibin Liu <zhibinliu@google.com>
Cc: Yuchung Cheng <ycheng@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f1d77b2e
...@@ -630,16 +630,15 @@ tcp_rmem - vector of 3 INTEGERs: min, default, max ...@@ -630,16 +630,15 @@ tcp_rmem - vector of 3 INTEGERs: min, default, max
default: initial size of receive buffer used by TCP sockets. default: initial size of receive buffer used by TCP sockets.
This value overrides net.core.rmem_default used by other protocols. This value overrides net.core.rmem_default used by other protocols.
Default: 87380 bytes. This value results in window of 65535 with Default: 131072 bytes.
default setting of tcp_adv_win_scale and tcp_app_win:0 and a bit This value results in initial window of 65535.
less for default tcp_app_win. See below about these variables.
max: maximal size of receive buffer allowed for automatically max: maximal size of receive buffer allowed for automatically
selected receiver buffers for TCP socket. This value does not override selected receiver buffers for TCP socket. This value does not override
net.core.rmem_max. Calling setsockopt() with SO_RCVBUF disables net.core.rmem_max. Calling setsockopt() with SO_RCVBUF disables
automatic tuning of that socket's receive buffer size, in which automatic tuning of that socket's receive buffer size, in which
case this value is ignored. case this value is ignored.
Default: between 87380B and 6MB, depending on RAM size. Default: between 131072 and 6MB, depending on RAM size.
tcp_sack - BOOLEAN tcp_sack - BOOLEAN
Enable select acknowledgments (SACKS). Enable select acknowledgments (SACKS).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment