tcp: Bump TCP_TAP_FRAMES back to 256

With a batched sendmsg(), this is now beneficial.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2021-10-15 17:17:57 +02:00
parent 38fbfdbcb9
commit 2f4f29c5a7

2
tcp.c
View file

@ -341,7 +341,7 @@
#define MAX_TAP_CONNS (128 * 1024) #define MAX_TAP_CONNS (128 * 1024)
#define MAX_SPLICE_CONNS (128 * 1024) #define MAX_SPLICE_CONNS (128 * 1024)
#define TCP_TAP_FRAMES 64 #define TCP_TAP_FRAMES 256
#define MAX_PIPE_SIZE (2 * 1024 * 1024) #define MAX_PIPE_SIZE (2 * 1024 * 1024)