> Add support for BPF atomic xchg instruction, and tests for it. This > instruction can be produced using compiler intrinsics. > > Signed-off-by: Marat Khalili <[email protected]> > --- > app/test/test_bpf.c | 459 ++++++++++++++++++++++++++++++++++++++++ > lib/bpf/bpf_def.h | 5 + > lib/bpf/bpf_exec.c | 35 ++- > lib/bpf/bpf_jit_arm64.c | 59 ++++-- > lib/bpf/bpf_jit_x86.c | 37 +++- > lib/bpf/bpf_validate.c | 22 +- > 6 files changed, 580 insertions(+), 37 deletions(-) Acked-by: Konstantin Ananyev <[email protected]> Tested-by: Konstantin Ananyev <[email protected]> > 2.43.0
- [PATCH 0/2] bpf: add xchg and fix rte_bpf_dump Marat Khalili
- [PATCH 1/2] bpf: add atomic xchg support Marat Khalili
- [PATCH 2/2] bpf: dump additional instructions Marat Khalili
- [PATCH v2 0/2] bpf: add xchg and fix rte_bpf_dump Marat Khalili
- [PATCH v2 1/2] bpf: add atomic xchg support Marat Khalili
- RE: [PATCH v2 1/2] bpf: add atomic xchg su... Konstantin Ananyev
- Re: [PATCH v2 1/2] bpf: add atomic xchg su... Stephen Hemminger
- [PATCH v2 2/2] bpf: dump additional instructio... Marat Khalili
- RE: [PATCH v2 2/2] bpf: dump additional in... Konstantin Ananyev
- Re: [PATCH v2 0/2] bpf: add xchg and fix rte_b... Thomas Monjalon

