]> 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)
commite82d50965b98a9c7112ec3cf5040c31197da2ce7
tree01d1e612df2c02d5cd9007aa983b0d70110ce2bf
parent90a2d6d836948dd9f4df73acfdd350f4e530c1ac
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