]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: forwarding: adf_mcd_start(): Allow configuring custom interfaces
authorPetr Machata <petrm@nvidia.com>
Mon, 16 Jun 2025 22:44:22 +0000 (00:44 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 18 Jun 2025 01:18:46 +0000 (18:18 -0700)
commit237f84a6d24a413b3a0795079afeb903ab1dec8a
tree5c31815cce1098198331823bec9fd016cc640765
parent4baa1d3a5080c18a079d3688fa9726973959ee20
selftests: forwarding: adf_mcd_start(): Allow configuring custom interfaces

Tests may wish to add other interfaces to listen on. Notably locally
generated traffic uses dummy interfaces. The multicast daemon needs to know
about these so that it allows forming rules that involve these interfaces,
and so that net.ipv4.conf.X.mc_forwarding is set for the interfaces.

To that end, allow passing in a list of interfaces to configure in addition
to all the physical ones.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://patch.msgid.link/2e8d83297985933be4850f2b9f296b3c27110388.1750113335.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/forwarding/lib.sh