Skip to contentSkip to conversation

selftests: drv-net: add configs for the TSO test

PATCH Superseded Jakub Kicinski 2 participants 3 messages Jun 2, 2025 – Jun 3, 2025

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Jakub Kicinski

author maintainer
#0 lore raw

PATCH 1/1 selftests: drv-net: add configs for the TSO test

Add missing config options for the tso.py test, specifically to make sure the kernel is built with vxlan and gre tunnels.

I noticed this while adding a TSO-capable device QEMU to the CI. Previously we only run virtio tests and it doesn't report LSO stats on the QEMU we have.

Fixes 0d0f4174f6c8 ("selftests: drv-net: add a simple TSO test")

---
CC: [email protected]
CC: [email protected]
CC: [email protected]

---
 tools/testing/selftests/drivers/net/hw/config | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 tools/testing/selftests/drivers/net/hw/config
tools/testing/selftests/drivers/net/hw/config new file +6 -0
new file mode 100644
index 000000000000..ea4b70d71563
@@ -0,0 +1,6 @@
+CONFIG_IPV6=y
+CONFIG_IPV6_GRE=y
+CONFIG_NET_IP_TUNNEL=y
+CONFIG_NET_IPGRE=y
+CONFIG_NET_IPGRE_DEMUX=y
+CONFIG_VXLAN=y
Signature · 1 line
2.49.0
maintainer
#1 lore raw

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

Quoted 9 lines · Jakub Kicinski
tools/testing/selftests/drivers/net/hw/config new file +3 -0
new file mode 100644
index 000000000000..ea4b70d71563
@@ -0,0 +1,6 @@
+CONFIG_IPV6=y
+CONFIG_IPV6_GRE=y
+CONFIG_NET_IP_TUNNEL=y

I think the above it's not strictly needed, because it's selected by gre and vxlan (indirectly), but it should not hurt, nor I think we have minimal non redundant knobs list in other config files.

/P

author maintainer
#2 lore raw
Quoted 14 lines · On Tue, 3 Jun 2025 13:17:25 +0200 Paolo Abeni wrote:

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

Quoted 9 lines · Jakub Kicinski
tools/testing/selftests/drivers/net/hw/config new file +3 -0
new file mode 100644
index 000000000000..ea4b70d71563
@@ -0,0 +1,6 @@
+CONFIG_IPV6=y
+CONFIG_IPV6_GRE=y
+CONFIG_NET_IP_TUNNEL=y  

I think the above it's not strictly needed, because it's selected by gre and vxlan (indirectly), but it should not hurt, nor I think we have minimal non redundant knobs list in other config files.

Oops, you're right. I'll respin after

netlink: specs: rt-link: decode ip6gre

gets thru CI, this change alone fixed TSO but broke the stats test :S