diff mbox series

[net-next] selftests: forwarding: Add missing multicast routing config entries

Message ID 20240208165538.1303021-1-idosch@nvidia.com
State New
Headers show
Series [net-next] selftests: forwarding: Add missing multicast routing config entries | expand

Commit Message

Ido Schimmel Feb. 8, 2024, 4:55 p.m. UTC
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")
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
---
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(+)

Comments

Simon Horman Feb. 9, 2024, 5:20 p.m. UTC | #1
On Thu, Feb 08, 2024 at 06:55:38PM +0200, Ido Schimmel 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")
> Signed-off-by: Ido Schimmel <idosch@nvidia.com>
> ---
> 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.

Reviewed-by: Simon Horman <horms@kernel.org>
Jakub Kicinski Feb. 9, 2024, 7:28 p.m. UTC | #2
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!
patchwork-bot+netdevbpf@kernel.org Feb. 9, 2024, 7:30 p.m. UTC | #3
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

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")
> Signed-off-by: Ido Schimmel <idosch@nvidia.com>
> 
> [...]

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!
diff mbox series

Patch

diff --git a/tools/testing/selftests/net/forwarding/config b/tools/testing/selftests/net/forwarding/config
index ba2343514582..f59083d8c59d 100644
--- a/tools/testing/selftests/net/forwarding/config
+++ b/tools/testing/selftests/net/forwarding/config
@@ -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