1
0
mirror of https://passt.top/passt synced 2024-10-02 03:55:48 +00:00

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_SPLICE_CONNS (128 * 1024)
#define TCP_TAP_FRAMES 64
#define TCP_TAP_FRAMES 256
#define MAX_PIPE_SIZE (2 * 1024 * 1024)