diff options
author | 2021-03-30 00:43:08 +0200 | |
---|---|---|
committer | 2021-03-30 09:24:39 -0700 | |
commit | 9866bcd6635c264aaf3de1d89e44773a269048eb (patch) | |
tree | ce8133092387dc327fe7d08d0daa1962ad26a46f /tools/perf/scripts/python | |
parent | selftests: xsk: Remove thread for netns switch (diff) | |
download | wireguard-linux-9866bcd6635c264aaf3de1d89e44773a269048eb.tar.xz wireguard-linux-9866bcd6635c264aaf3de1d89e44773a269048eb.zip |
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 <maciej.fijalkowski@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210329224316.17793-10-maciej.fijalkowski@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions