aboutgitcodebugslistschat
path: root/tcp.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-10-05 19:31:04 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-10-05 20:02:03 +0200
commitcf9976beac01301a07536e406fee10beac9c4fd2 (patch)
tree7edb9190ac77602642a897c5bec8b1603b655304 /tcp.c
parentd4d61480b6883d462a2c3c99eaf315259e78c984 (diff)
downloadpasst-cf9976beac01301a07536e406fee10beac9c4fd2.tar
passt-cf9976beac01301a07536e406fee10beac9c4fd2.tar.gz
passt-cf9976beac01301a07536e406fee10beac9c4fd2.tar.bz2
passt-cf9976beac01301a07536e406fee10beac9c4fd2.tar.lz
passt-cf9976beac01301a07536e406fee10beac9c4fd2.tar.xz
passt-cf9976beac01301a07536e406fee10beac9c4fd2.tar.zst
passt-cf9976beac01301a07536e406fee10beac9c4fd2.zip
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>
Diffstat (limited to 'tcp.c')
-rw-r--r--tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcp.c b/tcp.c
index e4c7e39..2409b97 100644
--- a/tcp.c
+++ b/tcp.c
@@ -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)