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 <[email protected]> --- 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 <[email protected]>

