On Mon, 9 Dec 2019 at 18:31, Björn Töpel <bjorn.topel@xxxxxxxxx> wrote: > > This commit adds branch relaxation to the BPF JIT, and with that > support for far (offset greater than 12b) branching. > > The branch relaxation requires more than two passes to converge. For > most programs it is three passes, but for larger programs it can be > more. > > Signed-off-by: Björn Töpel <bjorn.topel@xxxxxxxxx> > --- > arch/riscv/net/bpf_jit_comp.c | 352 ++++++++++++++++++---------------- [...] > +} > + > +static void emit_branch(u8 cond, u8 rd, u8 rs, int insn, int rvoff, The "insn" is not used. I'll do a respin.