mirror of
https://passt.top/passt
synced 2024-07-05 09:15:48 +00:00
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>
This commit is contained in:
parent
64a0ba3b27
commit
1642a04f48
2
tcp.c
2
tcp.c
@ -357,7 +357,7 @@
|
|||||||
#define TCP_HASH_TABLE_SIZE (MAX_TAP_CONNS * 100 / \
|
#define TCP_HASH_TABLE_SIZE (MAX_TAP_CONNS * 100 / \
|
||||||
TCP_HASH_TABLE_LOAD)
|
TCP_HASH_TABLE_LOAD)
|
||||||
|
|
||||||
#define MAX_WS 8
|
#define MAX_WS 9
|
||||||
#define MAX_WINDOW (1 << (16 + (MAX_WS)))
|
#define MAX_WINDOW (1 << (16 + (MAX_WS)))
|
||||||
#define MSS_DEFAULT 536
|
#define MSS_DEFAULT 536
|
||||||
#define WINDOW_DEFAULT 14600 /* RFC 6928 */
|
#define WINDOW_DEFAULT 14600 /* RFC 6928 */
|
||||||
|
Loading…
Reference in New Issue
Block a user