Re: [PATCH bpf-next] samples/bpf: add BPF_ATOMIC_OP macro for BPF samples

2021-01-18 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf-next.git (refs/heads/master): On Mon, 18 Jan 2021 10:17:53 +0100 you wrote: > From: Björn Töpel > > Brendan Jackman added extend atomic operations to the BPF instruction > set in commit 7064a7341a0d ("Merge branch 'Atomics for eBPF'"), which > introduces

Re: [PATCH bpf-next] samples/bpf: add BPF_ATOMIC_OP macro for BPF samples

2021-01-18 Thread Björn Töpel
On 2021-01-18 11:57, Brendan Jackman wrote: I actually deliberately skipped this file, thinking that people were unlikely to want to add assembly-based atomics code under samples/ I guess it's nice for people to be able to e.g. move/copy code from the selftests. Yes, that, and the fact that o

[PATCH bpf-next] samples/bpf: add BPF_ATOMIC_OP macro for BPF samples

2021-01-18 Thread Björn Töpel
From: Björn Töpel Brendan Jackman added extend atomic operations to the BPF instruction set in commit 7064a7341a0d ("Merge branch 'Atomics for eBPF'"), which introduces the BPF_ATOMIC_OP macro. However, that macro was missing for the BPF samples. Fix that by adding it into bpf_insn.h. Signed-off