aboutgitcodebugslistschat
path: root/tcp.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-10-15 17:17:57 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-10-15 17:17:57 +0200
commit2f4f29c5a7fb7e252568d1f10d87d287bc25b1f2 (patch)
treedd6f1cd9ae7e5b894c6a9a2ddcdcb19441868c0d /tcp.c
parent38fbfdbcb95d1636387a2946e59396fff4a97b77 (diff)
downloadpasst-2f4f29c5a7fb7e252568d1f10d87d287bc25b1f2.tar
passt-2f4f29c5a7fb7e252568d1f10d87d287bc25b1f2.tar.gz
passt-2f4f29c5a7fb7e252568d1f10d87d287bc25b1f2.tar.bz2
passt-2f4f29c5a7fb7e252568d1f10d87d287bc25b1f2.tar.lz
passt-2f4f29c5a7fb7e252568d1f10d87d287bc25b1f2.tar.xz
passt-2f4f29c5a7fb7e252568d1f10d87d287bc25b1f2.tar.zst
passt-2f4f29c5a7fb7e252568d1f10d87d287bc25b1f2.zip
tcp: Bump TCP_TAP_FRAMES back to 256
With a batched sendmsg(), this is now beneficial. 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 6919083..354a2b3 100644
--- a/tcp.c
+++ b/tcp.c
@@ -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)