eBPF arm64 JIT support
Status from this message: Applied
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | bpf/arm64: add build infrastructureMAINTAINERS doc/ doc/ +5 more | +34 | 0 replies | |
| 2/8 | bpf/arm64: add prologue and epiloguelib/ | +464 | 0 replies | |
| 3/8 | bpf/arm64: add basic arithmetic operationslib/ | +299 | 0 replies | |
| 4/8 | bpf/arm64: add logical operationslib/ | +189 | 0 replies | |
| 5/8 | bpf/arm64: add byte swap operationslib/ | +87 | 0 replies | |
| 6/8 | bpf/arm64: add load and store operationslib/ | +84 | 0 replies | |
| 7/8 | bpf/arm64: add atomic-exchange-and-add operationlib/ | +84 | 1 reply | |
| 8/8 | bpf/arm64: add branch operationlib/ | +229 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support
From: Jerin Jacob <[email protected]>
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_autotestrun_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
Signature · 1 line
2.23.0