diff options
author | Magnus Karlsson <magnus.karlsson@intel.com> | 2023-09-14 11:48:49 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-09-14 19:47:55 +0300 |
commit | 64370d7c8a91e65a08f6f5816f108a0485000481 (patch) | |
tree | ed504f0daa86d374fa49190c67146bcc350d2a8e /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 2d2712caf44b6cc0d571eed01ac13356667f0f8e (diff) | |
download | linux-64370d7c8a91e65a08f6f5816f108a0485000481.tar.xz |
selftests/xsk: add timeout for Tx thread
Add a timeout for the transmission thread. If packets are not
completed properly, for some reason, the test harness would previously
get stuck forever in a while loop. But with this patch, this timeout
will trigger, flag the test as a failure, and continue with the next
test.
Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Link: https://lore.kernel.org/r/20230914084900.492-3-magnus.karlsson@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions