bpf/arm64: support packet data load instructions
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 4 repliesIn review
- v11 patch 12 repliesSuperseded
Changes in v2 from the cover letter
- 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.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf/arm64: fix offset type to allow a negative jumplib/ | +1 | 0 replies | |
| 2/2 | bpf/arm64: support packet data load instructionsapp/ lib/ | +207 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] bpf/arm64: support packet data load instructions
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(-)
Signature · 1 line
2.53.0