diff options
author | Maciej Fijalkowski <[email protected]> | 2021-03-30 00:43:08 +0200 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-03-30 09:24:39 -0700 |
commit | 9866bcd6635c264aaf3de1d89e44773a269048eb (patch) | |
tree | ce8133092387dc327fe7d08d0daa1962ad26a46f /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | ef9280789773c974b45f809d58b47b481f2cf9f5 (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