aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2025-04-09 01:19:45 +0000
committerJakub Kicinski <[email protected]>2025-04-09 01:19:45 +0000
commit6a0f72c5e208c5980fe4bb7d0c2ecc31714207c4 (patch)
tree42374557872d888984158a19d5abbb2f408129d3 /net/core/dev.c
parentselftests: tc-testing: Pre-load IFE action and its submodules (diff)
parentudp_tunnel: use static call for GRO hooks when possible (diff)
downloadkernel-6a0f72c5e208c5980fe4bb7d0c2ecc31714207c4.tar.gz
kernel-6a0f72c5e208c5980fe4bb7d0c2ecc31714207c4.zip
Merge branch 'udp_tunnel-gro-optimizations'
Paolo Abeni says: ==================== udp_tunnel: GRO optimizations The UDP tunnel GRO stage is source of measurable overhead for workload based on UDP-encapsulated traffic: each incoming packets requires a full UDP socket lookup and an indirect call. In the most common setups a single UDP tunnel device is used. In such case we can optimize both the lookup and the indirect call. Patch 1 tracks per netns the active UDP tunnels and replaces the socket lookup with a single destination port comparison when possible. Patch 2 tracks the different types of UDP tunnels and replaces the indirect call with a static one when there is a single UDP tunnel type active. I measure ~10% performance improvement in TCP over UDP tunnel stream tests on top of this series. v4: https://lore.kernel.org/[email protected] v3: https://lore.kernel.org/[email protected] v2: https://lore.kernel.org/[email protected] v1: https://lore.kernel.org/[email protected] ==================== Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions