Re: [PATCH] bpf/arm64: support packet data load instructions

David Marchand
2026-03-17T09:07:30Z

On Mon, 16 Mar 2026 at 20:13, Christophe Fontaine <cfontain@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