* [PATCH net v2] selftests: drv-net: add configs for the TSO test
@ 2025-06-04 0:16 Jakub Kicinski
2025-06-04 13:47 ` Willem de Bruijn
2025-06-05 15:10 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 4+ messages in thread
From: Jakub Kicinski @ 2025-06-04 0:16 UTC (permalink / raw)
To: davem
Cc: netdev, edumazet, pabeni, andrew+netdev, horms, Jakub Kicinski,
shuah, willemb, linux-kselftest
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")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
---
v2:
- drop NET_IP_TUNNEL
v1: https://lore.kernel.org/20250602231640.314556-1-kuba@kernel.org
CC: shuah@kernel.org
CC: willemb@google.com
CC: linux-kselftest@vger.kernel.org
---
tools/testing/selftests/drivers/net/hw/config | 5 +++++
1 file changed, 5 insertions(+)
create mode 100644 tools/testing/selftests/drivers/net/hw/config
diff --git a/tools/testing/selftests/drivers/net/hw/config b/tools/testing/selftests/drivers/net/hw/config
new file mode 100644
index 000000000000..88ae719e6f8f
--- /dev/null
+++ b/tools/testing/selftests/drivers/net/hw/config
@@ -0,0 +1,5 @@
+CONFIG_IPV6=y
+CONFIG_IPV6_GRE=y
+CONFIG_NET_IPGRE=y
+CONFIG_NET_IPGRE_DEMUX=y
+CONFIG_VXLAN=y
--
2.49.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH net v2] selftests: drv-net: add configs for the TSO test
2025-06-04 0:16 [PATCH net v2] selftests: drv-net: add configs for the TSO test Jakub Kicinski
@ 2025-06-04 13:47 ` Willem de Bruijn
2025-06-04 21:53 ` Jakub Kicinski
2025-06-05 15:10 ` patchwork-bot+netdevbpf
1 sibling, 1 reply; 4+ messages in thread
From: Willem de Bruijn @ 2025-06-04 13:47 UTC (permalink / raw)
To: Jakub Kicinski, davem
Cc: netdev, edumazet, pabeni, andrew+netdev, horms, Jakub Kicinski,
shuah, willemb, linux-kselftest
Jakub Kicinski wrote:
> 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")
> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Willem de Bruijn <willemb@google.com>
I wonder if we'll slowly recreate tools/testing/selftests/net/config.
An ugly hack, but maybe let the Makefile just copy that config here?
Or append it.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net v2] selftests: drv-net: add configs for the TSO test
2025-06-04 13:47 ` Willem de Bruijn
@ 2025-06-04 21:53 ` Jakub Kicinski
0 siblings, 0 replies; 4+ messages in thread
From: Jakub Kicinski @ 2025-06-04 21:53 UTC (permalink / raw)
To: Willem de Bruijn
Cc: davem, netdev, edumazet, pabeni, andrew+netdev, horms, shuah,
willemb, linux-kselftest
On Wed, 04 Jun 2025 09:47:48 -0400 Willem de Bruijn wrote:
> Jakub Kicinski wrote:
> > 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")
> > Signed-off-by: Jakub Kicinski <kuba@kernel.org>
>
> Reviewed-by: Willem de Bruijn <willemb@google.com>
>
> I wonder if we'll slowly recreate tools/testing/selftests/net/config.
> An ugly hack, but maybe let the Makefile just copy that config here?
> Or append it.
Yes, even drivers/net vs drivers/net/hw is a bit annoying.
Not sure how to cleanly align with selftest infra here :(
Our CI right now only uses configs from the TARGETS we're intending
to run. While it makes sense "to a human" to include net,
is it clean to auto-include $target if drivers/$target is included?
Maybe...
To some extent I think the issue was that we haven't actually had
any device on which NIPA could run this test. Otherwise we'd have
caught the problem before merging.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net v2] selftests: drv-net: add configs for the TSO test
2025-06-04 0:16 [PATCH net v2] selftests: drv-net: add configs for the TSO test Jakub Kicinski
2025-06-04 13:47 ` Willem de Bruijn
@ 2025-06-05 15:10 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-06-05 15:10 UTC (permalink / raw)
To: Jakub Kicinski
Cc: davem, netdev, edumazet, pabeni, andrew+netdev, horms, shuah,
willemb, linux-kselftest
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Tue, 3 Jun 2025 17:16:52 -0700 you wrote:
> 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.
>
> [...]
Here is the summary with links:
- [net,v2] selftests: drv-net: add configs for the TSO test
https://git.kernel.org/netdev/net/c/7eb6b63aa3c3
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] 4+ messages in thread
end of thread, other threads:[~2025-06-05 15:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-04 0:16 [PATCH net v2] selftests: drv-net: add configs for the TSO test Jakub Kicinski
2025-06-04 13:47 ` Willem de Bruijn
2025-06-04 21:53 ` Jakub Kicinski
2025-06-05 15:10 ` 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;
as well as URLs for NNTP newsgroup(s).