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:09 +0200
committerAlexei Starovoitov <[email protected]>2021-03-30 09:24:39 -0700
commit99f9bcb65705dda07288b759c569d30d8a4f297c (patch)
treebd67836a0b229d493303614e9979f6bc945cb4d2 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent9866bcd6635c264aaf3de1d89e44773a269048eb (diff)
selftests: xsk: Remove Tx synchronization resources
Tx thread needs to be started after the Rx side is fully initialized so that packets are not xmitted until xsk Rx socket is ready to be used. It can be observed that atomic variable spinning_tx is not checked from Rx side in any way, so thread_common_ops can be modified to only address the spinning_rx. This means that spinning_tx can be removed altogheter. signal_tx_condition is never utilized, so simply remove it. 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