]> 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)
commit90a2d6d836948dd9f4df73acfdd350f4e530c1ac
treec776df7ffd608fc93e390ee0b0b0fecd31201b26
parent8bd7003014a0d8f5f79b7167ae93d96202437eb4
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