]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitffd3e9b07b9ee3242fa5f5bc76385b6a0e69437d
treed5909c52de11f69d884bee7e807ff12be135c2cb
parent861584724c44e63bfb684090c70ade660dae6c69
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