]> git.ipfire.org Git - ipfire-2.x.git/commit
linux: Backport support for BIG TCP GSO on WireGuard
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 1 Jun 2025 14:58:28 +0000 (14:58 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 2 Jun 2025 13:41:30 +0000 (13:41 +0000)
commite38cf1e2cd33d19f34f0856a87e09014a7cd4f45
tree9836bb6bf6d64ae0f0562015a318fd41f8666dcf
parenta5da7ef0fc9a1cf73abaa3696dcc0d9c80f07ef0
linux: Backport support for BIG TCP GSO on WireGuard

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: Michael Tremer <michael.tremer@ipfire.org>
lfs/linux
src/patches/linux-6.12-wireguard-big-tcp-gso.patch [new file with mode: 0644]
src/patches/linux-6.12-wireguard-device-omit-unnecessary-memset.patch [new file with mode: 0644]