]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
selftests: drv-net: tso: add new tests for ip6tnl, ipip, and sit tunnels
authorDaniel Zahka <daniel.zahka@gmail.com>
Fri, 29 May 2026 12:45:55 +0000 (05:45 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 2 Jun 2026 19:14:14 +0000 (12:14 -0700)
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>
Link: https://patch.msgid.link/20260529-tso-tunnels-v1-1-3771ee9eaaa9@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/hw/config
tools/testing/selftests/drivers/net/hw/tso.py

index 8c132ace2b8de126c0551381786ad8d953a46909..b9f406dd7282670941f9c642b54d971a1e362f2c 100644 (file)
@@ -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
index bb675e3dac88f74d91706a6b7a215f45ac7eef52..1b789fea8929a649760ff5792583ca24e464622d 100755 (executable)
@@ -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 = []