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>
This commit is contained in:
Stefano Brivio 2021-09-19 02:41:44 +02:00
parent 522878e6bb
commit c2d86b7475

2
udp.c
View file

@ -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