aboutgitcodebugslistschat
path: root/tcp.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-10-04 22:12:58 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-10-04 22:21:21 +0200
commit81128241d6c479fa4fc394fcc744546ed4ae4e0b (patch)
tree79fc67e04aac54f08b322ee50e760ec2077f8a11 /tcp.c
parent683043e2001e71e0b7d0b132da4756d329f22f27 (diff)
downloadpasst-81128241d6c479fa4fc394fcc744546ed4ae4e0b.tar
passt-81128241d6c479fa4fc394fcc744546ed4ae4e0b.tar.gz
passt-81128241d6c479fa4fc394fcc744546ed4ae4e0b.tar.bz2
passt-81128241d6c479fa4fc394fcc744546ed4ae4e0b.tar.lz
passt-81128241d6c479fa4fc394fcc744546ed4ae4e0b.tar.xz
passt-81128241d6c479fa4fc394fcc744546ed4ae4e0b.tar.zst
passt-81128241d6c479fa4fc394fcc744546ed4ae4e0b.zip
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>
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 b33df1e..7bc63f4 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 8
+#define TCP_TAP_FRAMES 32
#define RCVBUF_BIG (2 * 1024 * 1024)
#define SNDBUF_BIG (2 * 1024 * 1024)