* [PATCH net-next] selftests: drv-net: tso: add new tests for ip6tnl, ipip, and sit tunnels
@ 2026-05-29 12:45 Daniel Zahka
2026-06-02 20:00 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Zahka @ 2026-05-29 12:45 UTC (permalink / raw)
To: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Shuah Khan
Cc: netdev, linux-kselftest, linux-kernel
Add new tunnel test cases for ip6tnl, ipip, and sit. ip6tnl supports
ipv[46] as inner l3 header, and the other two tunnels only support a
single inner l3 type.
Signed-off-by: Daniel Zahka <daniel.zahka@gmail.com>
---
Example run:
# Detected qstat for LSO wire-packets
TAP version 13
1..18
ok 1 tso.ipv4
# Testing with mangleid enabled
ok 2 tso.vxlan4_ipv4
ok 3 tso.vxlan4_ipv6
# Testing with mangleid enabled
ok 4 tso.vxlan_csum4_ipv4
ok 5 tso.vxlan_csum4_ipv6
# Testing with mangleid enabled
ok 6 tso.gre4_ipv4
ok 7 tso.gre4_ipv6
ok 8 tso.ip4_ipv6
# Testing with mangleid enabled
ok 9 tso.ip4_ipv4
ok 10 tso.ipv6
# Testing with mangleid enabled
ok 11 tso.vxlan6_ipv4
ok 12 tso.vxlan6_ipv6
# Testing with mangleid enabled
ok 13 tso.vxlan_csum6_ipv4
ok 14 tso.vxlan_csum6_ipv6
# Testing with mangleid enabled
ok 15 tso.gre6_ipv4
ok 16 tso.gre6_ipv6
ok 17 tso.ip6_ipv4
ok 18 tso.ip6_ipv6
# Totals: pass:18 fail:0 xfail:0 xpass:0 skip:0 error:0
---
tools/testing/selftests/drivers/net/hw/config | 3 +++
tools/testing/selftests/drivers/net/hw/tso.py | 3 +++
2 files changed, 6 insertions(+)
diff --git a/tools/testing/selftests/drivers/net/hw/config b/tools/testing/selftests/drivers/net/hw/config
index 8c132ace2b8d..b9f406dd7282 100644
--- a/tools/testing/selftests/drivers/net/hw/config
+++ b/tools/testing/selftests/drivers/net/hw/config
@@ -10,10 +10,13 @@ CONFIG_INET_ESP_OFFLOAD=y
CONFIG_IO_URING=y
CONFIG_IPV6=y
CONFIG_IPV6_GRE=y
+CONFIG_IPV6_SIT=y
+CONFIG_IPV6_TUNNEL=y
CONFIG_NET_CLS_ACT=y
CONFIG_NET_CLS_BPF=y
CONFIG_NET_IPGRE=y
CONFIG_NET_IPGRE_DEMUX=y
+CONFIG_NET_IPIP=y
CONFIG_NETKIT=y
CONFIG_NET_SCH_INGRESS=y
CONFIG_UDMABUF=y
diff --git a/tools/testing/selftests/drivers/net/hw/tso.py b/tools/testing/selftests/drivers/net/hw/tso.py
index bb675e3dac88..1b789fea8929 100755
--- a/tools/testing/selftests/drivers/net/hw/tso.py
+++ b/tools/testing/selftests/drivers/net/hw/tso.py
@@ -239,6 +239,9 @@ def main() -> None:
("vxlan_csum", "", "tx-udp_tnl-csum-segmentation", ("vxlan", "id 100 dstport 4789 udpcsum", ("4", "6"))),
("gre", "4", "tx-gre-segmentation", ("gre", "", ("4", "6"))),
("gre", "6", "tx-gre-segmentation", ("ip6gre","", ("4", "6"))),
+ ("ip", "6", "tx-ipxip6-segmentation", ("ip6tnl","mode any", ("4", "6"))),
+ ("ip", "4", "tx-ipxip4-segmentation", ("sit","", ("6", ))),
+ ("ip", "4", "tx-ipxip4-segmentation", ("ipip","", ("4", ))),
)
cases = []
---
base-commit: 8415598365503ced2e3d019491b0a2756c85c494
change-id: 20260529-tso-tunnels-3fa1b9f07099
Best regards,
--
Daniel Zahka <daniel.zahka@gmail.com>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] selftests: drv-net: tso: add new tests for ip6tnl, ipip, and sit tunnels
2026-05-29 12:45 [PATCH net-next] selftests: drv-net: tso: add new tests for ip6tnl, ipip, and sit tunnels Daniel Zahka
@ 2026-06-02 20:00 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-06-02 20:00 UTC (permalink / raw)
To: Daniel Zahka
Cc: andrew+netdev, davem, edumazet, kuba, pabeni, shuah, netdev,
linux-kselftest, linux-kernel
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Fri, 29 May 2026 05:45:55 -0700 you wrote:
> Add new tunnel test cases for ip6tnl, ipip, and sit. ip6tnl supports
> ipv[46] as inner l3 header, and the other two tunnels only support a
> single inner l3 type.
>
> Signed-off-by: Daniel Zahka <daniel.zahka@gmail.com>
> ---
> Example run:
>
> [...]
Here is the summary with links:
- [net-next] selftests: drv-net: tso: add new tests for ip6tnl, ipip, and sit tunnels
https://git.kernel.org/netdev/net-next/c/b04015d769cc
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-06-02 20:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-29 12:45 [PATCH net-next] selftests: drv-net: tso: add new tests for ip6tnl, ipip, and sit tunnels Daniel Zahka
2026-06-02 20:00 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox