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)
commitb36cca02dc6e19d7d9134f247fabab58259cc992
tree01d1e612df2c02d5cd9007aa983b0d70110ce2bf
parent8e0d8ce4fc8ba96af716f7a80702e71c3e379f85
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