Skip to contentSkip to conversation

selftests: virtio_net: add forgotten config options

PATCH Applied Jiri Pirko 5 participants 5 messages Jun 19, 2024 – Jun 20, 2024

Subsystems (5)
lore
Share & tools
lore

Jiri Pirko

author
#0 lore raw

PATCH 1/1 selftests: virtio_net: add forgotten config options

From: Jiri Pirko <[email protected]>

One may use tools/testing/selftests/drivers/net/virtio_net/config for example for vng build command like this one:

$ vng -v -b -f tools/testing/selftests/drivers/net/virtio_net/config

In that case, the needed kernel config options are not turned on. Add the missed kernel config options.

---
 tools/testing/selftests/drivers/net/virtio_net/config | 6 ++++++
 1 file changed, 6 insertions(+)
tools/testing/selftests/drivers/net/virtio_net/config +6 -0
index f35de0542b60..040b600d52f1 100644
@@ -1,2 +1,8 @@
 CONFIG_VIRTIO_NET=y
 CONFIG_VIRTIO_DEBUG=y
+CONFIG_NET_L3_MASTER_DEV=y
+CONFIG_IPV6_MULTIPLE_TABLES=y
+CONFIG_NET_VRF=m
+CONFIG_BPF_SYSCALL=y
+CONFIG_CGROUP_BPF=y
+CONFIG_IPV6=y
Signature · 1 line
2.45.1
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Jiri Pirko

From: Jiri Pirko <[email protected]>

One may use tools/testing/selftests/drivers/net/virtio_net/config for example for vng build command like this one:

$ vng -v -b -f tools/testing/selftests/drivers/net/virtio_net/config

In that case, the needed kernel config options are not turned on. Add the missed kernel config options.

Quoted 6 lines
Quoted 20 lines
---
 tools/testing/selftests/drivers/net/virtio_net/config | 6 ++++++
 1 file changed, 6 insertions(+)
tools/testing/selftests/drivers/net/virtio_net/config +6 -1
index f35de0542b60..040b600d52f1 100644
@@ -1,2 +1,8 @@
 CONFIG_VIRTIO_NET=y
 CONFIG_VIRTIO_DEBUG=y
+CONFIG_NET_L3_MASTER_DEV=y
+CONFIG_IPV6_MULTIPLE_TABLES=y
+CONFIG_NET_VRF=m
+CONFIG_BPF_SYSCALL=y
+CONFIG_CGROUP_BPF=y
+CONFIG_IPV6=y
--

2.45.1

maintainer Acked-by on v1 1/1
#2 lore raw
In reply to Jiri Pirko
Quoted 9 lines · Jiri Pirko

From: Jiri Pirko <[email protected]>

One may use tools/testing/selftests/drivers/net/virtio_net/config for example for vng build command like this one:

$ vng -v -b -f tools/testing/selftests/drivers/net/virtio_net/config

In that case, the needed kernel config options are not turned on. Add the missed kernel config options.

Quoted 6 lines
Quoted 19 lines
---
 tools/testing/selftests/drivers/net/virtio_net/config | 6 ++++++
 1 file changed, 6 insertions(+)
tools/testing/selftests/drivers/net/virtio_net/config +6 -0
index f35de0542b60..040b600d52f1 100644
@@ -1,2 +1,8 @@
 CONFIG_VIRTIO_NET=y
 CONFIG_VIRTIO_DEBUG=y
+CONFIG_NET_L3_MASTER_DEV=y
+CONFIG_IPV6_MULTIPLE_TABLES=y
+CONFIG_NET_VRF=m
+CONFIG_BPF_SYSCALL=y
+CONFIG_CGROUP_BPF=y
+CONFIG_IPV6=y
Signature · 1 line
2.45.1
maintainer
#3 lore raw
In reply to Jiri Pirko

tools/testing/selftests/drivers/net/virtio_net/config line 8

Quoted 8 lines · On Wed, 19 Jun 2024 08:17:48 +0200 Jiri Pirko wrote:

CONFIG_VIRTIO_NET=y
CONFIG_VIRTIO_DEBUG=y

tools/testing/selftests/drivers/net/virtio_net/config +6 -0
+CONFIG_NET_L3_MASTER_DEV=y
+CONFIG_IPV6_MULTIPLE_TABLES=y
+CONFIG_NET_VRF=m
+CONFIG_BPF_SYSCALL=y
+CONFIG_CGROUP_BPF=y
+CONFIG_IPV6=y

I sorted them alphabetically when applying, hope you don't mind.

#4 lore raw
In reply to Jiri Pirko
This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

Quoted 10 lines · On Wed, 19 Jun 2024 08:17:48 +0200 you wrote:

From: Jiri Pirko <[email protected]>

One may use tools/testing/selftests/drivers/net/virtio_net/config for example for vng build command like this one:

$ vng -v -b -f tools/testing/selftests/drivers/net/virtio_net/config

In that case, the needed kernel config options are not turned on. Add the missed kernel config options.

[...]

Here is the summary with links:
- [net] selftests: virtio_net: add forgotten config options

    https://git.kernel.org/netdev/net/c/48dea8f7bb01

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html