]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mlxsw: Decrease required rate accuracy
authorIdo Schimmel <idosch@mellanox.com>
Sun, 23 Aug 2020 08:06:23 +0000 (11:06 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Aug 2020 00:36:11 +0000 (17:36 -0700)
commit7239ad69dcc8734d95b39b87d8cd980f44476412
tree76cec3d59851de7289aa0cf94a25ab29443a97b5
parent8bc753fccd05d1ef2dea32e16f79cf88ed77e950
selftests: mlxsw: Decrease required rate accuracy

On Spectrum-{2,3} the required accuracy is +/-10%.

Align the test to this requirement so that it can reliably pass on these
platforms.

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