aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-09-19 02:41:44 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-09-27 01:28:02 +0200
commitc2d86b7475d498b76ec67ec9d42288a42104c5f4 (patch)
tree4a823cce17dcbba0e7278e760e91e73c6d60625b
parent522878e6bba953a45f5c2be456125fe0c553f8b0 (diff)
downloadpasst-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udp.c b/udp.c
index fa40cd3..74267a9 100644
--- a/udp.c
+++ b/udp.c
@@ -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