]> www.infradead.org Git - users/dwmw2/linux.git/commit
selftests: router_mpath_nh_res: Test 16-bit next hop weights
authorPetr Machata <petrm@nvidia.com>
Wed, 7 Aug 2024 14:13:50 +0000 (16:13 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 13 Aug 2024 00:50:34 +0000 (17:50 -0700)
commitdce0765c1d5bf810bf3cd8e66cf7f6e73d14d7e2
treeae28d91e7adec767719bc382f5fa0511411823c8
parentbb89fdacf99ccbec4dfe2d04f76f870f1483d3ea
selftests: router_mpath_nh_res: Test 16-bit next hop weights

Add tests that exercise full 16 bits of NH weight.

Like in the previous patch, omit the 255:65535 test when KSFT_MACHINE_SLOW.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://patch.msgid.link/a91d6ead9d1b1b4b7e276ca58a71ef814f42b7dd.1723036486.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/forwarding/router_mpath_nh_res.sh