diff options
author | Ido Schimmel <[email protected]> | 2024-03-04 11:56:09 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-03-05 09:18:07 -0800 |
commit | 4aca9eae6f7bfea30467fce6b1062f1bf5f21e9b (patch) | |
tree | 28ecb22f437bb4d9d24770fefc0bd91bbeefdb93 /lib/crypto/mpi/mpi-bit.c | |
parent | 748d27447daa3f2bdf519f2a97647ff69fd1b70b (diff) |
selftests: forwarding: Make tc-police pass on debug kernels
The test configures a policer with a rate of 80Mbps and expects to
measure a rate close to it. This is a too high rate for debug kernels,
causing the test to fail [1].
Fix by reducing the rate to 10Mbps.
[1]
# ./tc_police.sh
TEST: police on rx [FAIL]
Expected rate 76.2Mbps, got 29.6Mbps, which is -61% off. Required accuracy is +-10%.
TEST: police on tx [FAIL]
Expected rate 76.2Mbps, got 30.4Mbps, which is -60% off. Required accuracy is +-10%.
Signed-off-by: Ido Schimmel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions