[PATCH v2 0/2] bpf/arm64: support packet data load instructions
Christophe Fontaine
cfontain at redhat.com
Thu Mar 19 12:44:07 CET 2026
v2:
- use emit_return_zero_if_src_zero instead of manual call
- add fast path (direct read from mbuf->buf_addr) if the
requested data is present in the first mbuf and fallback to
'slow path' (call to __rte_pktmbuf_read) otherwise.
- add tests for BPF_LD ABS/IND amd slow path.
Christophe Fontaine (2):
bpf/arm64: fix offset type to allow a negative jump
bpf/arm64: support packet data load instructions
app/test/test_bpf.c | 121 ++++++++++++++++++++++++++++++++++++++++
lib/bpf/bpf_jit_arm64.c | 88 ++++++++++++++++++++++++++++-
2 files changed, 208 insertions(+), 1 deletion(-)
--
2.53.0
More information about the dev
mailing list