lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211024071911.1064322-1-idosch@idosch.org>
Date:   Sun, 24 Oct 2021 10:19:08 +0300
From:   Ido Schimmel <idosch@...sch.org>
To:     netdev@...r.kernel.org
Cc:     davem@...emloft.net, kuba@...nel.org, jiri@...dia.com,
        petrm@...dia.com, mlxsw@...dia.com,
        Ido Schimmel <idosch@...dia.com>
Subject: [PATCH net-next 0/3] selftests: mlxsw: Various updates

From: Ido Schimmel <idosch@...dia.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(-)

-- 
2.31.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ