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

tcp: Increase TCP_TAP_FRAMES once more

With an increased sending buffer size for the AF_UNIX socket, we
can get slightly lower overhead.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2021-10-05 19:31:04 +02:00
parent d4d61480b6
commit cf9976beac

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