diff options
author | Petr Machata <petrm@nvidia.com> | 2024-03-08 13:59:55 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-03-11 22:14:10 +0100 |
commit | a22b042660ca1d695cc225401c72b3fb393acd49 (patch) | |
tree | 9138e0b99192bdfe1134a0fa003b4bd32d6fcfe5 /lib/seq_buf.c | |
parent | mlxsw: spectrum_router: Share nexthop counters in resilient groups (diff) | |
download | linux-a22b042660ca1d695cc225401c72b3fb393acd49.tar.xz linux-a22b042660ca1d695cc225401c72b3fb393acd49.zip |
selftests: forwarding: Add a test for NH group stats
Add to lib.sh support for fetching NH stats, and a new library,
router_mpath_nh_lib.sh, with the common code for testing NH stats.
Use the latter from router_mpath_nh.sh and router_mpath_nh_res.sh.
The test works by sending traffic through a NH group, and checking that the
reported values correspond to what the link that ultimately receives the
traffic reports having seen.
Signed-off-by: Petr Machata <petrm@nvidia.com>
Link: https://lore.kernel.org/r/2a424c54062a5f1efd13b9ec5b2b0e29c6af2574.1709901020.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/seq_buf.c')
0 files changed, 0 insertions, 0 deletions