diff options
author | Andrei Gherzan <[email protected]> | 2023-02-01 00:16:16 +0000 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2023-02-02 13:29:51 +0100 |
commit | 329c9cd769c2e306957df031efff656c40922c76 (patch) | |
tree | a01a600f55aa45d37280581b86d6abdc24e4bcd7 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | dafe93b9ee21028d625dce347118b82659652eff (diff) |
selftests: net: udpgso_bench_tx: Cater for pending datagrams zerocopy benchmarking
The test tool can check that the zerocopy number of completions value is
valid taking into consideration the number of datagram send calls. This can
catch the system into a state where the datagrams are still in the system
(for example in a qdisk, waiting for the network interface to return a
completion notification, etc).
This change adds a retry logic of computing the number of completions up to
a configurable (via CLI) timeout (default: 2 seconds).
Fixes: 79ebc3c26010 ("net/udpgso_bench_tx: options to exercise TX CMSG")
Signed-off-by: Andrei Gherzan <[email protected]>
Cc: Willem de Bruijn <[email protected]>
Cc: Paolo Abeni <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions