diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-09-19 02:41:44 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-09-27 01:28:02 +0200 |
commit | c2d86b7475d498b76ec67ec9d42288a42104c5f4 (patch) | |
tree | 4a823cce17dcbba0e7278e760e91e73c6d60625b | |
parent | 522878e6bba953a45f5c2be456125fe0c553f8b0 (diff) | |
download | passt-c2d86b7475d498b76ec67ec9d42288a42104c5f4.tar passt-c2d86b7475d498b76ec67ec9d42288a42104c5f4.tar.gz passt-c2d86b7475d498b76ec67ec9d42288a42104c5f4.tar.bz2 passt-c2d86b7475d498b76ec67ec9d42288a42104c5f4.tar.lz passt-c2d86b7475d498b76ec67ec9d42288a42104c5f4.tar.xz passt-c2d86b7475d498b76ec67ec9d42288a42104c5f4.tar.zst passt-c2d86b7475d498b76ec67ec9d42288a42104c5f4.zip |
udp: Decrease UDP_TAP_FRAMES to 16
Similarly to the decrease in TCP_TAP_FRAMES, this improves fairness,
with a very small impact on performance.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r-- | udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -120,7 +120,7 @@ #define UDP_CONN_TIMEOUT 180 /* s, timeout for ephemeral or local bind */ #define UDP_SPLICE_FRAMES 128 -#define UDP_TAP_FRAMES 64 +#define UDP_TAP_FRAMES 16 /** * struct udp_tap_port - Port tracking based on tap-facing source port |