diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-07-21 12:05:03 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-07-21 12:05:03 +0200 |
commit | 1642a04f484bfd7ea92d63d0ad6bfb3046f0c206 (patch) | |
tree | bc9b05c4ff8190200603de24836a2f8807eef908 /tcp.c | |
parent | 64a0ba3b272dd9ee175e0c6256a6d0cb1733599b (diff) | |
download | passt-1642a04f484bfd7ea92d63d0ad6bfb3046f0c206.tar passt-1642a04f484bfd7ea92d63d0ad6bfb3046f0c206.tar.gz passt-1642a04f484bfd7ea92d63d0ad6bfb3046f0c206.tar.bz2 passt-1642a04f484bfd7ea92d63d0ad6bfb3046f0c206.tar.lz passt-1642a04f484bfd7ea92d63d0ad6bfb3046f0c206.tar.xz passt-1642a04f484bfd7ea92d63d0ad6bfb3046f0c206.tar.zst passt-1642a04f484bfd7ea92d63d0ad6bfb3046f0c206.zip |
tcp: Increase maximum window scaling factor from 8 to 9
This is actually reasonable in terms of memory consumption and
allows for better performance with local services.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tcp.c')
-rw-r--r-- | tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -357,7 +357,7 @@ #define TCP_HASH_TABLE_SIZE (MAX_TAP_CONNS * 100 / \ TCP_HASH_TABLE_LOAD) -#define MAX_WS 8 +#define MAX_WS 9 #define MAX_WINDOW (1 << (16 + (MAX_WS))) #define MSS_DEFAULT 536 #define WINDOW_DEFAULT 14600 /* RFC 6928 */ |