>
> Added eBPF arm64 JIT support to improve the eBPF program performance
> on arm64.
>
> dpdk.org/examples/bpf/t1.c application shows around 50% improvement
> on OCTEON TX2 platform in JIT vs interpreter mode.
>
> Verified the implementation using existing bpf_autotest application.
>
> # echo "bpf_autotest" | sudo ./build/app/test -c 0x3
>
> RTE>>bpf_autotest
> run_test(test_store1) start
> run_test(test_store2) start
> run_test(test_load1) start
> run_test(test_ldimm1) start
> run_test(test_mul1) start
> run_test(test_shift1) start
> run_test(test_jump1) start
> run_test(test_alu1) start
> run_test(test_bele1) start
> run_test(test_xadd1) start
> run_test(test_div1) start
> bpf_exec(0xffffa37c0000): division by 0 at pc: 0x68;
> run_test(test_call1) start
> run_test(test_call2) start
> run_test(test_call3) start
> Test OK
>
> Jerin Jacob (8):
> bpf/arm64: add build infrastructure
> bpf/arm64: add prologue and epilogue
> bpf/arm64: add basic arithmetic operations
> bpf/arm64: add logical operations
> bpf/arm64: add byte swap operations
> bpf/arm64: add load and store operations
> bpf/arm64: add atomic-exchange-and-add operation
> bpf/arm64: add branch operation
>
> MAINTAINERS | 1 +
> doc/guides/prog_guide/bpf_lib.rst | 2 +-
> doc/guides/rel_notes/release_19_11.rst | 5 +
> lib/librte_bpf/Makefile | 2 +
> lib/librte_bpf/bpf.c | 4 +-
> lib/librte_bpf/bpf_impl.h | 3 +-
> lib/librte_bpf/bpf_jit_arm64.c | 1451 ++++++++++++++++++++++++
> lib/librte_bpf/meson.build | 2 +
> 8 files changed, 1466 insertions(+), 4 deletions(-)
> create mode 100644 lib/librte_bpf/bpf_jit_arm64.c
>
> --
Series Acked-by: Konstantin Ananyev <konstantin.anan...@intel.com>
> 2.23.0