mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:46:16 +00:00
06a34f7db7
Advertise GSO_MAX_SIZE as TSO max size in order support BIG TCP for wireguard. This helps to improve wireguard performance a bit when enabled as it allows wireguard to aggregate larger skbs in wg_packet_consume_data_done() via napi_gro_receive(), but also allows the stack to build larger skbs on xmit where the driver then segments them before encryption inside wg_xmit(). We've seen a 15% improvement in TCP stream performance. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Link: https://patch.msgid.link/20241117212030.629159-5-Jason@zx2c4.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> |
||
---|---|---|
.. | ||
selftest | ||
allowedips.c | ||
allowedips.h | ||
cookie.c | ||
cookie.h | ||
device.c | ||
device.h | ||
main.c | ||
Makefile | ||
messages.h | ||
netlink.c | ||
netlink.h | ||
noise.c | ||
noise.h | ||
peer.c | ||
peer.h | ||
peerlookup.c | ||
peerlookup.h | ||
queueing.c | ||
queueing.h | ||
ratelimiter.c | ||
ratelimiter.h | ||
receive.c | ||
send.c | ||
socket.c | ||
socket.h | ||
timers.c | ||
timers.h | ||
version.h |