diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-10-15 17:17:57 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-10-15 17:17:57 +0200 |
commit | 2f4f29c5a7fb7e252568d1f10d87d287bc25b1f2 (patch) | |
tree | dd6f1cd9ae7e5b894c6a9a2ddcdcb19441868c0d /tcp.c | |
parent | 38fbfdbcb95d1636387a2946e59396fff4a97b77 (diff) | |
download | passt-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |