Hi Ralf, On 13/06/17 23:28, David Daney wrote: > Since the eBPF machine has 64-bit registers, we only support this in > 64-bit kernels. As of the writing of this commit log test-bpf is showing: > > test_bpf: Summary: 316 PASSED, 0 FAILED, [308/308 JIT'ed] > > All current test cases are successfully compiled. > > Many examples in samples/bpf are usable, specifically tracex5 which > uses tail calls works. > > Signed-off-by: David Daney <david.daney@xxxxxxxxxx> I think you've misapplied this patch to upstream-sfr. I see the following commit, but it's missing the ebpf_jit.c file. commit bb45edc82b3c1608026b5a7aeb0876ec31735359 Author: David Daney <david.daney@xxxxxxxxxx> Date: Tue Jun 13 15:28:46 2017 -0700 MIPS: Add support for eBPF JIT. Since the eBPF machine has 64-bit registers, we only support this in 64-bit kernels. As of the writing of this commit log test-bpf is showing: test_bpf: Summary: 316 PASSED, 0 FAILED, [308/308 JIT'ed] All current test cases are successfully compiled. Many examples in samples/bpf are usable, specifically tracex5 which uses tail calls works. Signed-off-by: David Daney <david.daney@xxxxxxxxxx> Cc: Alexei Starovoitov <ast@xxxxxxxxxx> Cc: Daniel Borkmann <daniel@xxxxxxxxxxxxx> Cc: Markos Chandras <markos.chandras@xxxxxxxxxx> Cc: Matt Redfearn <matt.redfearn@xxxxxxxxxx> Cc: netdev@xxxxxxxxxxxxxxx Cc: linux-kernel@xxxxxxxxxxxxxxx Cc: linux-mips@xxxxxxxxxxxxxx Patchwork: https://patchwork.linux-mips.org/patch/16369/ Signed-off-by: Ralf Baechle <ralf@xxxxxxxxxxxxxx> arch/mips/Kconfig | 12 +++++++++++- arch/mips/net/Makefile | 3 ++- 2 files changed, 13 insertions(+), 2 deletions(-) This is causing my builds to fail with: make[4]: *** No rule to make target 'arch/mips/net/ebpf_jit.o', needed by 'arch/mips/net/built-in.o'. Stop. James
Attachment:
signature.asc
Description: OpenPGP digital signature