aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/load_bytes_relative.c
diff options
context:
space:
mode:
authorMaciej Fijalkowski <maciej.fijalkowski@intel.com>2022-09-01 13:48:12 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2022-09-02 15:38:03 +0200
commitc29fe883defcbc6cd16176787a2084b8e05dabf0 (patch)
treeb28c953ba80aee644f663ada90864b76c39392b7 /tools/testing/selftests/bpf/prog_tests/load_bytes_relative.c
parenta693ff3ed5610a07b1b0dd831d10f516e13cf6c6 (diff)
selftests/xsk: Make sure single threaded test terminates
For single threaded poll tests call pthread_kill() from main thread so that we are sure worker thread has finished its job and it is possible to proceed with next test types from test suite. It was observed that on some platforms it takes a bit longer for worker thread to exit and next test case sees device as busy in this case. Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Magnus Karlsson <magnus.karlsson@intel.com> Link: https://lore.kernel.org/bpf/20220901114813.16275-6-maciej.fijalkowski@intel.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/load_bytes_relative.c')
0 files changed, 0 insertions, 0 deletions