]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mlxsw: Increase burst size for rate test
authorIdo Schimmel <idosch@mellanox.com>
Sun, 23 Aug 2020 08:06:24 +0000 (11:06 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Aug 2020 00:36:11 +0000 (17:36 -0700)
commit85b266fc1358f30f11aa428c5840202cdf9bb09a
treec776df7ffd608fc93e390ee0b0b0fecd31201b26
parent7239ad69dcc8734d95b39b87d8cd980f44476412
selftests: mlxsw: Increase burst size for rate 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}.

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