aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorMaciej Fijalkowski <[email protected]>2021-03-30 00:43:08 +0200
committerAlexei Starovoitov <[email protected]>2021-03-30 09:24:39 -0700
commit9866bcd6635c264aaf3de1d89e44773a269048eb (patch)
treece8133092387dc327fe7d08d0daa1962ad26a46f /tools/testing/selftests/bpf/prog_tests/autoload.c
parentef9280789773c974b45f809d58b47b481f2cf9f5 (diff)
selftests: xsk: Split worker thread
Let's a have a separate Tx/Rx worker threads instead of a one common thread packed with Tx/Rx specific checks. Move mmap for umem buffer space and a switch_namespace() call to thread_common_ops. This also allows for a bunch of simplifactions that are the subject of the next commits. The final result will be a code base that is much easier to follow. Signed-off-by: Maciej Fijalkowski <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions