mbox series

[net-next,0/3] selftests: mlxsw: Various updates

Message ID 20211024071911.1064322-1-idosch@idosch.org (mailing list archive)
Headers show
Series selftests: mlxsw: Various updates | expand

Message

Ido Schimmel Oct. 24, 2021, 7:19 a.m. UTC
From: Ido Schimmel <idosch@nvidia.com>

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(-)

Comments

patchwork-bot+netdevbpf@kernel.org Oct. 25, 2021, 1:20 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

On Sun, 24 Oct 2021 10:19:08 +0300 you wrote:
> From: Ido Schimmel <idosch@nvidia.com>
> 
> 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.
> 
> [...]

Here is the summary with links:
  - [net-next,1/3] selftests: mlxsw: Add helpers for skipping selftests
    https://git.kernel.org/netdev/net-next/c/b8bfafe43481
  - [net-next,2/3] selftests: mlxsw: Use permanent neighbours instead of reachable ones
    https://git.kernel.org/netdev/net-next/c/535ac9a5fba5
  - [net-next,3/3] selftests: mlxsw: Reduce test run time
    https://git.kernel.org/netdev/net-next/c/e860419684b5

You are awesome, thank you!