aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorAmit Cohen <[email protected]>2021-12-21 16:49:43 +0200
committerJakub Kicinski <[email protected]>2021-12-22 17:14:32 -0800
commit0cd0b1f7a6e4e9b3b3ce62d6130af60259e103cd (patch)
treeb9c318d2b427b067b5d164a2ddfb7b484bf3d885 /tools/perf/scripts/python/libxed.py
parent70ec72d5b6c25822184f7adf9ec3ba207138e7ff (diff)
selftests: lib.sh: Add PING_COUNT to allow sending configurable amount of packets
Currently `ping_do()` and `ping6_do()` send 10 packets. There are cases that it is not possible to catch only the interesting packets using tc rule, so then, it is possible to send many packets and verify that at least this amount of packets hit the rule. Add `PING_COUNT` variable, which is set to 10 by default, to allow tests sending more than 10 packets using the existing ping API. Signed-off-by: Amit Cohen <[email protected]> Reviewed-by: Petr Machata <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions