OSDN Git Service

Merge branch 'mlxsw-selftests-updates'
authorDavid S. Miller <davem@davemloft.net>
Mon, 25 Oct 2021 13:10:11 +0000 (14:10 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Oct 2021 13:10:11 +0000 (14:10 +0100)
commit233cdfbac8bc9bc5d0cddd7d68a3ddb13c619821
tree5bb117494b0171f0eadb9a0f256742a665116ed9
parent71de5b234c3be9f5a58082a2fd43627fba6aa86b
parente860419684b547dd4daa8143ad70a97955571482
Merge branch 'mlxsw-selftests-updates'

Ido Schimmel says:

====================
selftests: mlxsw: Various updates

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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>