Re: [PATCH v2 bpf-next] RV32G eBPF JIT

From: Luke Nelson
Date: Fri Jun 28 2019 - 13:41:33 EST


On Thu, Jun 27, 2019 at 5:18 AM Jiong Wang <jiong.wang@xxxxxxxxxxxxx> wrote:
>
> #define BPF_ZEXT_REG(DST)
> ((struct bpf_insn) {
> .code = BPF_ALU | BPF_MOV | BPF_X
>
> So it can't be BPF_ALU64. It is safe to remove this chunk of code.
>

Thanks! I'll fix this in the next revision.

- Luke