From c2d86b7475d498b76ec67ec9d42288a42104c5f4 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Sun, 19 Sep 2021 02:41:44 +0200 Subject: [PATCH] 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 --- udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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