Skip to contentSkip to conversation

selftests: forwarding: Add missing multicast routing config entries

PATCH Applied Ido Schimmel 4 participants 4 messages Feb 8, 2024 – Feb 9, 2024

Subsystems (4)
lore
Share & tools
lore

Ido Schimmel

author maintainer
#0 lore raw

PATCH 1/1 selftests: forwarding: Add missing multicast routing config entries

The two tests that make use of multicast routig (router.sh and router_multicast.sh) are currently failing in the netdev CI because the kernel is missing multicast routing support.

Fix by adding the required config entries.

Fixes 6d4efada3b82 ("selftests: forwarding: Add multicast routing test")

---
Targeting at net-next because this is where 4acf4e62cd57 ("selftests:
forwarding: Add missing config entries") was applied to, but you can apply to net as well.

---
 tools/testing/selftests/net/forwarding/config | 7 +++++++
 1 file changed, 7 insertions(+)
tools/testing/selftests/net/forwarding/config +7 -0
index ba2343514582..f59083d8c59d 100644
@@ -2,7 +2,14 @@ CONFIG_BRIDGE=m
 CONFIG_VLAN_8021Q=m
 CONFIG_BRIDGE_VLAN_FILTERING=y
 CONFIG_NET_L3_MASTER_DEV=y
+CONFIG_IP_MROUTE=y
+CONFIG_IP_MROUTE_MULTIPLE_TABLES=y
+CONFIG_IP_PIMSM_V1=y
+CONFIG_IP_PIMSM_V2=y
+CONFIG_IPV6_MROUTE=y
+CONFIG_IPV6_MROUTE_MULTIPLE_TABLES=y
 CONFIG_IPV6_MULTIPLE_TABLES=y
+CONFIG_IPV6_PIMSM_V2=y
 CONFIG_NET_VRF=m
 CONFIG_BPF_SYSCALL=y
 CONFIG_CGROUP_BPF=y
Signature · 1 line
2.43.0
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Ido Schimmel

The two tests that make use of multicast routig (router.sh and router_multicast.sh) are currently failing in the netdev CI because the kernel is missing multicast routing support.

Quoted 8 lines

Fix by adding the required config entries.

Fixes 6d4efada3b82 ("selftests: forwarding: Add multicast routing test")

---
Targeting at net-next because this is where 4acf4e62cd57 ("selftests:
forwarding: Add missing config entries") was applied to, but you can apply to net as well.

maintainer
#2 lore raw
In reply to Ido Schimmel
Quoted 3 lines · On Thu, 8 Feb 2024 18:55:38 +0200 Ido Schimmel wrote:

Targeting at net-next because this is where 4acf4e62cd57 ("selftests:
forwarding: Add missing config entries") was applied to, but you can apply to net as well.

I resorted a little bit to get closer to sort --version-sort order, and with that we'd have a conflict :( So net-next it is, thanks!

#3 lore raw
In reply to Ido Schimmel
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

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

Quoted 10 lines · On Thu, 8 Feb 2024 18:55:38 +0200 you wrote:

The two tests that make use of multicast routig (router.sh and router_multicast.sh) are currently failing in the netdev CI because the kernel is missing multicast routing support.

Fix by adding the required config entries.

Fixes 6d4efada3b82 ("selftests: forwarding: Add multicast routing test")

[...]

Here is the summary with links:
- [net-next] selftests: forwarding: Add missing multicast routing config entries

    https://git.kernel.org/netdev/net-next/c/f0ddf15f0a74

You are awesome, thank you!

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