]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mlxsw: Increase burst size for burst test
authorIdo Schimmel <idosch@mellanox.com>
Sun, 23 Aug 2020 08:06:25 +0000 (11:06 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Aug 2020 00:36:11 +0000 (17:36 -0700)
commit62fceb3c37a537f1118630242ee8a70efdb08f7b
tree01d1e612df2c02d5cd9007aa983b0d70110ce2bf
parent85b266fc1358f30f11aa428c5840202cdf9bb09a
selftests: mlxsw: Increase burst size for burst test

The current combination of rate and burst size does not adhere to
Spectrum-{2,3} limitation which states that the minimum burst size
should be 40% of the rate.

Increase the burst size in order to honor above mentioned limitation and
avoid intermittent failures of this test case on Spectrum-{2,3}.

Remove the first sub-test case as the variation in number of received
packets is simply too large to reliably test it.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/devlink_trap_policer.sh