diff mbox series

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

Message ID 20240208165538.1303021-1-idosch@nvidia.com (mailing list archive)
State Accepted
Commit f0ddf15f0a74c27eb4b2271a90e69948acc3fa2c
Delegated to: Netdev Maintainers
Headers show
Series [net-next] selftests: forwarding: Add missing multicast routing config entries | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net-next
netdev/ynl success Generated files up to date; no warnings/errors; no diff in generated;
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 8 this patch: 8
netdev/build_tools success Errors and warnings before: 0 this patch: 0
netdev/cc_maintainers success CCed 8 of 9 maintainers
netdev/build_clang success Errors and warnings before: 8 this patch: 8
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success Fixes tag looks correct
netdev/build_allmodconfig_warn success Errors and warnings before: 8 this patch: 8
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 14 lines checked
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0
netdev/contest success net-next-2024-02-09--00-00 (tests: 687)

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