diff options
| author | Daniel Borkmann <[email protected]> | 2024-11-17 21:20:30 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-11-19 03:32:27 +0000 |
| commit | 06a34f7db773e01efa8a90c5b4d912207a80dd60 (patch) | |
| tree | 307759d8d81b3c2634b203c4d9019970fe87da59 /tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py | |
| parent | wireguard: selftests: load nf_conntrack if not present (diff) | |
| download | kernel-06a34f7db773e01efa8a90c5b4d912207a80dd60.tar.gz kernel-06a34f7db773e01efa8a90c5b4d912207a80dd60.zip | |
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 <[email protected]>
Signed-off-by: Jason A. Donenfeld <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py')
0 files changed, 0 insertions, 0 deletions
