Skip to content

Commit b04015d

Browse files
Daniel Zahkakuba-moo
authored andcommitted
selftests: drv-net: tso: add new tests for ip6tnl, ipip, and sit tunnels
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>
1 parent f8524d1 commit b04015d

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

tools/testing/selftests/drivers/net/hw/config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@ CONFIG_INET_ESP_OFFLOAD=y
1010
CONFIG_IO_URING=y
1111
CONFIG_IPV6=y
1212
CONFIG_IPV6_GRE=y
13+
CONFIG_IPV6_SIT=y
14+
CONFIG_IPV6_TUNNEL=y
1315
CONFIG_NET_CLS_ACT=y
1416
CONFIG_NET_CLS_BPF=y
1517
CONFIG_NET_IPGRE=y
1618
CONFIG_NET_IPGRE_DEMUX=y
19+
CONFIG_NET_IPIP=y
1720
CONFIG_NETKIT=y
1821
CONFIG_NET_SCH_INGRESS=y
1922
CONFIG_UDMABUF=y

tools/testing/selftests/drivers/net/hw/tso.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,9 @@ def main() -> None:
239239
("vxlan_csum", "", "tx-udp_tnl-csum-segmentation", ("vxlan", "id 100 dstport 4789 udpcsum", ("4", "6"))),
240240
("gre", "4", "tx-gre-segmentation", ("gre", "", ("4", "6"))),
241241
("gre", "6", "tx-gre-segmentation", ("ip6gre","", ("4", "6"))),
242+
("ip", "6", "tx-ipxip6-segmentation", ("ip6tnl","mode any", ("4", "6"))),
243+
("ip", "4", "tx-ipxip4-segmentation", ("sit","", ("6", ))),
244+
("ip", "4", "tx-ipxip4-segmentation", ("ipip","", ("4", ))),
242245
)
243246

244247
cases = []

0 commit comments

Comments
 (0)