diff options
author | David S. Miller <davem@davemloft.net> | 2021-04-24 00:01:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-24 00:01:28 +0300 |
commit | cbf2ec506c0b5226677aaf212e8b35f400777be5 (patch) | |
tree | 1008bcda2cee73d8e683d4bb971acf5f67e82718 /drivers | |
parent | e40fa65c79b59ef662bf3f9e81cc2236fb9581e3 (diff) | |
parent | 1233898ab758cbcf5f6fea10b8dd16a0b2c24fab (diff) | |
download | linux-cbf2ec506c0b5226677aaf212e8b35f400777be5.tar.xz |
Merge branch 'mlxsw-selftest-fixes'
Petr Machata says:
====================
selftests: mlxsw: Fixes
This patch set carries fixes to selftest issues that we have hit in our
nightly regression run. Almost all are in mlxsw selftests, though one is in
a generic forwarding selftest.
- In patch #1, in an ERSPAN test, install an FDB entry as static instead of
(implicitly) as local.
- In the mlxsw resource-scale test, an if statement overrides the value of
$?, which is supposed to contain the result of the test. As a result, the
resource scale test can spuriously pass.
In patches #2 and #3, remove the if statements to fix the issue in,
respectively, port_scale test and tc_flower_scale tests.
- Again in the mlxsw resource-scale test, when more then one sub-test is
run, a successful sub-test overrides any previous failures. This causes a
spurious pass of the overall test. This is fixed in patch #4.
- In patch #5, increase a tolerance in a mlxsw-specific RED backlog test.
This test is very noisy, due to rounding errors and the unpredictability
of software traffic generation. By bumping the tolerance from 5 % to 10,
get the failure rate to zero. This shouldn't impact the accuracy,
mistakes in backlog configuration (e.g. due to wrong cell size) are
likely to cause a much larger discrepancy.
- In patch #6, fix mausezahn invocation in the mlxsw ERSPAN scale
test. The test failed because of the wrong invocation.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions