Thread (14 messages) 14 messages, 3 authors, 2026-01-19

Re: [PATCH v3 net-next 10/10] selftests: net: tests for add double tunneling GRO/GSO

From: Petr Machata <petrm@nvidia.com>
Date: 2026-01-15 11:00:26

Paolo Abeni [off-list ref] writes:
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>
Looks OK overall, just:
quoted hunk ↗ jump to hunk
diff --git a/tools/testing/selftests/net/double_udp_encap.sh b/tools/testing/selftests/net/double_udp_encap.sh
new file mode 100755
index 000000000000..055f65b4d18d
--- /dev/null
+++ b/tools/testing/selftests/net/double_udp_encap.sh
+# tcp retransmisions will break the accounting
+[ "$KSFT_MACHINE_SLOW" = yes ] && FAIL_TO_XFAIL=yes
You should just be able to call `xfail_on_slow' without an argument to
apply the setting globally.

Selftests shouldn't have to touch FAIL_TO_XFAIL directly.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help