3
0
Fork 0
forked from mirrors/linux
kernel/drivers/net/wireguard
Daniel Borkmann 06a34f7db7 wireguard: device: support big tcp GSO
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>
2024-11-18 19:32:27 -08:00
..
selftest wireguard: allowedips: remove redundant selftest call 2024-11-18 19:32:27 -08:00
allowedips.c wireguard: allowedips: avoid unaligned 64-bit memory accesses 2024-07-05 17:21:10 -07:00
allowedips.h
cookie.c wireguard: do not include crypto/algapi.h 2023-09-15 18:29:44 +08:00
cookie.h
device.c wireguard: device: support big tcp GSO 2024-11-18 19:32:27 -08:00
device.h
main.c genetlink: remove linux/genetlink.h 2024-04-01 21:44:34 -07:00
Makefile
messages.h
netlink.c wireguard: netlink: access device through ctx instead of peer 2024-03-19 11:22:50 +01:00
netlink.h
noise.c wireguard: do not include crypto/algapi.h 2023-09-15 18:29:44 +08:00
noise.h
peer.c
peer.h
peerlookup.c
peerlookup.h
queueing.c
queueing.h wireguard: queueing: annotate intentional data race in cpu round robin 2024-07-05 17:21:10 -07:00
ratelimiter.c
ratelimiter.h
receive.c wireguard: receive: annotate data-race around receiving_counter.counter 2024-03-19 11:22:49 +01:00
send.c wireguard: send: annotate intentional data race in checking empty queue 2024-07-05 17:21:10 -07:00
socket.c
socket.h
timers.c
timers.h
version.h