]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: net: tests for add double tunneling GRO/GSO
authorPaolo Abeni <pabeni@redhat.com>
Wed, 21 Jan 2026 16:11:36 +0000 (17:11 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 23 Jan 2026 19:31:14 +0000 (11:31 -0800)
commit40146bf7555e9c3480b1225dfe7a5306e1b58b13
tree7e70dfa4f4952f6568016471080fa000a62e0c48
parentfd0dd796576e1a560e1441e665810129f0a82be0
selftests: net: tests for add double tunneling GRO/GSO

Create a simple, netns-based topology with double, nested UDP tunnels and
perform TSO transfers on top.

Explicitly enable GSO and/or GRO and check the skb layout consistency with
different configuration allowing (or not) GSO frames to be delivered on
the other end.

The trickest part is account in a robust way the aggregated/unaggregated
packets with double encapsulation: use a classic bpf filter for it.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Link: https://patch.msgid.link/61f2c98ba0f73057c2d6f6cb62eb807abd90bf6b.1769011015.git.pabeni@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/config
tools/testing/selftests/net/double_udp_encap.sh [new file with mode: 0755]