# Re: \[PATCH 13/14\] bpf/tests: Add tests for BPF\_CMPXCHG

- From: Yonghong Song \<hidden\>
- Date: 2021-07-29 00:46:15 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/07/7775018
- Thread: https://ratatoskr.run/netdev/2021/07/7774981/t.md

```text


On 7/28/21 10:05 AM, Johan Almbladh wrote:
> Tests for BPF_CMPXCHG with both word and double word operands. As with
> the tests for other atomic operations, these tests only check the result
> of the arithmetic operation. The atomicity of the operations is not tested.
>
> Signed-off-by: Johan Almbladh <johan.almbladh@anyfinetworks.com>

Acked-by: Yonghong Song <redacted>
```
