summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei.gherzan@canonical.com>2023-02-01 03:16:16 +0300
committerPaolo Abeni <pabeni@redhat.com>2023-02-02 15:29:51 +0300
commit329c9cd769c2e306957df031efff656c40922c76 (patch)
treea01a600f55aa45d37280581b86d6abdc24e4bcd7 /drivers/net
parentdafe93b9ee21028d625dce347118b82659652eff (diff)
downloadlinux-329c9cd769c2e306957df031efff656c40922c76.tar.xz
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 <andrei.gherzan@canonical.com> Cc: Willem de Bruijn <willemb@google.com> Cc: Paolo Abeni <pabeni@redhat.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Link: https://lore.kernel.org/r/20230201001612.515730-4-andrei.gherzan@canonical.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions