commit | e4517b3637c648b215307e3343900ec675fde607 | [log] [tgz] |
---|---|---|
author | Johan Almbladh <johan.almbladh@anyfinetworks.com> | Mon Aug 09 11:18:27 2021 +0200 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Tue Aug 10 11:33:28 2021 +0200 |
tree | 5906bda33f29c67ee9b45a11b195ae2d0e358636 | |
parent | 53e33f9928cd61272e8e7902a876cb8cdf3f5c07 [diff] |
bpf, tests: Add tests for atomic operations Tests for each atomic arithmetic operation and BPF_XCHG, derived from old BPF_XADD tests. The tests include BPF_W/DW and BPF_FETCH variants. Signed-off-by: Johan Almbladh <johan.almbladh@anyfinetworks.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/20210809091829.810076-13-johan.almbladh@anyfinetworks.com