Skip to content
Snippets Groups Projects
Commit 598135e7 authored by Brian Brooks's avatar Brian Brooks Committed by Daniel Borkmann
Browse files

samples/bpf: xdpsock: order memory on AArch64


Define u_smp_rmb() and u_smp_wmb() to respective barrier instructions.
This ensures the processor will order accesses to queue indices against
accesses to queue ring entries.

Signed-off-by: default avatarBrian Brooks <brian.brooks@linaro.org>
Acked-by: default avatarBjörn Töpel <bjorn.topel@intel.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
parent 08a85252
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment