[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAADnVQLrsgGzVcBea68gf+yZ2R-iYzCJupE6jzaqR5ctbCKxNw@mail.gmail.com>
Date: Thu, 19 Dec 2019 14:07:46 -0800
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Alex Forster <aforster@...udflare.com>
Cc: Network Development <netdev@...r.kernel.org>,
Alexei Starovoitov <ast@...nel.org>,
Björn Töpel <bjorn.topel@...el.com>
Subject: Re: [PATCH bpf-next] libbpf: fix AF_XDP helper program to support
kernels without the JMP32 eBPF instruction class
On Thu, Dec 19, 2019 at 12:16 PM Alex Forster <aforster@...udflare.com> wrote:
>
> Kernel 5.1 introduced support for the JMP32 eBPF instruction class, and commit d7d962a modified the libbpf AF_XDP helper program to use the BPF_JMP32_IMM instruction. For those on earlier kernels, attempting to load the helper program now results in the verifier failing with "unknown opcode 66". This change replaces the usage of BPF_JMP32_IMM with BPF_JMP_IMM for compatibility with pre-5.1 kernels.
I though af_xdp landed after jmp32 ?
Powered by blists - more mailing lists