selftests: mlxsw: Various updates
Status from this message: This series was applied to netdev/net-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | selftests: mlxsw: Add helpers for skipping selfteststools/ tools/ tools/ +5 more | +81 | 0 replies | Applied |
| 2/3 | selftests: mlxsw: Use permanent neighbours instead of reachable onestools/ | +11 | 0 replies | Applied |
| 3/3 | selftests: mlxsw: Reduce test run timetools/ tools/ | +20 | 0 replies | Applied |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Petr Machata |
|---|---|
| 1/3 | |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/3] selftests: mlxsw: Various updates
From: Ido Schimmel <[email protected]>
This patchset contains various updates to mlxsw selftests.
Patch #1 replaces open-coded compatibility checks with dedicated helpers. These helpers are used to skip tests when run on incompatible machines.
Patch #2 avoids spurious failures in some tests by using permanent neighbours instead of reachable ones.
Patch #3 reduces the run time of a test by not iterating over all the available trap policers.
Ido Schimmel (2):
selftests: mlxsw: Use permanent neighbours instead of reachable ones
selftests: mlxsw: Reduce test run time
Petr Machata (1):
selftests: mlxsw: Add helpers for skipping selftests
.../drivers/net/mlxsw/devlink_trap_control.sh | 7 ++- .../drivers/net/mlxsw/devlink_trap_policer.sh | 32 +++++++----- .../selftests/drivers/net/mlxsw/mlxsw_lib.sh | 50 +++++++++++++++++++ .../selftests/drivers/net/mlxsw/rtnetlink.sh | 22 ++++---- .../drivers/net/mlxsw/sch_red_core.sh | 10 ++-- .../net/mlxsw/spectrum-2/resource_scale.sh | 7 +-- .../mlxsw/spectrum/devlink_lib_spectrum.sh | 6 +-- .../drivers/net/mlxsw/tc_restrictions.sh | 3 +- .../selftests/drivers/net/mlxsw/tc_sample.sh | 13 ++--- .../selftests/net/forwarding/devlink_lib.sh | 6 --- tools/testing/selftests/net/forwarding/lib.sh | 9 ++++ 11 files changed, 112 insertions(+), 53 deletions(-)
Signature · 1 line
2.31.1