OSDN Git Service

selftests: forwarding: dual_vxlan_bridge: Disable IPv6 autogen on bridges
authorPetr Machata <petrm@nvidia.com>
Tue, 20 Jun 2023 13:55:48 +0000 (15:55 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 21 Jun 2023 21:02:52 +0000 (14:02 -0700)
commitc801533304ca87e314ecc6fc43b9a7822f159f18
tree3cfcc5944ca209ff4f535279bc3844e9dcb00877
parent8c3736ce595bccb6322c44a1f853216e278aa635
selftests: forwarding: dual_vxlan_bridge: Disable IPv6 autogen on bridges

In a future patch, mlxsw will start adding RIFs to uppers of front panel
port netdevices, if they have an IP address.

This will cause this selftest to fail spuriously. The swp enslavement to
the 802.1ad bridge is not allowed, because RIFs are not allowed to be
created for 802.1ad bridges, but the address indicates one needs to be
created.

Fix by disabling automatic IPv6 address generation for the HW-offloaded
bridge in this selftest, thus exempting it from mlxsw router attention.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/forwarding/dual_vxlan_bridge.sh