]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mlxsw: Add resilient nexthop groups configuration tests
authorIdo Schimmel <idosch@nvidia.com>
Wed, 24 Mar 2021 20:14:24 +0000 (22:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Mar 2021 23:34:58 +0000 (16:34 -0700)
commit3eddd89805418e54cd99c38f102bea9db7eba70e
treed5909c52de11f69d884bee7e807ff12be135c2cb
parente687b83cae6f6624b049236c4c3462c18ee4919a
selftests: mlxsw: Add resilient nexthop groups configuration tests

Test that unsupported resilient nexthop group configurations are
rejected and that offload / trap indication is correctly set on nexthop
buckets in a resilient group.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/rtnetlink.sh
tools/testing/selftests/net/forwarding/lib.sh