mirror of
https://passt.top/passt
synced 2024-10-02 03:55:48 +00:00
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:
parent
522878e6bb
commit
c2d86b7475
2
udp.c
2
udp.c
@ -120,7 +120,7 @@
|
|||||||
|
|
||||||
#define UDP_CONN_TIMEOUT 180 /* s, timeout for ephemeral or local bind */
|
#define UDP_CONN_TIMEOUT 180 /* s, timeout for ephemeral or local bind */
|
||||||
#define UDP_SPLICE_FRAMES 128
|
#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
|
* struct udp_tap_port - Port tracking based on tap-facing source port
|
||||||
|
Loading…
Reference in New Issue
Block a user