[PATCH] bpf/arm64: support packet data load instructions
David Marchand
david.marchand at redhat.com
Tue Mar 17 10:07:10 CET 2026
On Mon, 16 Mar 2026 at 20:13, Christophe Fontaine <cfontain at redhat.com> wrote:
>
> arm64 jit compiler didn't support reading from a packet.
> Enable arm64 JIT to generate native code for
> (BPF_ABS | <size> | BPF_LD) and (BPF_IND | <size> | BPF_LD)
> instructions.
>
> Compared to the x86_64 HIT, only a "slow path" is implemented,
> '__rte_pktmbuf_read' is systematically called.
Worth mentioning in the commitlog that the unit test was a yes box
(failures to load mbuf data on arm were silently ignored iiuc).
On the code itself, a review from BPF (and ARM?) maintainers is needed.
--
David Marchand
More information about the dev
mailing list