diff options
| author | Ido Schimmel <idosch@OSS.NVIDIA.COM> | 2021-05-17 20:03:52 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-05-18 01:15:46 +0300 |
| commit | 16355c0b101e783d57c2e155ef543cb9111205a4 (patch) | |
| tree | 813462af24de2d7fa51cd291904d3b24535a414c /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 5d01071e64b6ddca3f4c86154407307e482959b4 (diff) | |
| download | linux-16355c0b101e783d57c2e155ef543cb9111205a4.tar.xz | |
selftests: mlxsw: Make sampling test more robust
The test sometimes fails with an error message such as:
TEST: tc sample (w/ flower) rate (egress) [FAIL]
Expected 100 packets, got 70 packets, which is -30% off. Required accuracy is +-25%
Make the test more robust by generating more packets, therefore
increasing the number of expected samples. Decrease the transmission
delay in order not to needlessly prolong the test.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
