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

tcp: Set TCP_TAP_FRAMES back to 32

Now that we fixed the issue with small receiving buffers, we can
safely increase this back and get slightly lower syscall overhead.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2021-10-04 22:12:58 +02:00
parent 683043e200
commit 81128241d6

2
tcp.c
View File

@ -339,7 +339,7 @@
#define MAX_TAP_CONNS (128 * 1024)
#define MAX_SPLICE_CONNS (128 * 1024)
#define TCP_TAP_FRAMES 8
#define TCP_TAP_FRAMES 32
#define RCVBUF_BIG (2 * 1024 * 1024)
#define SNDBUF_BIG (2 * 1024 * 1024)