• David Daney's avatar
    MIPS: Add support for eBPF JIT. · f381bf6d
    David Daney authored
    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: default avatarDavid Daney <david.daney@cavium.com>
    Cc: Alexei Starovoitov <ast@kernel.org>
    Cc: Daniel Borkmann <daniel@iogearbox.net>
    Cc: Markos Chandras <markos.chandras@imgtec.com>
    Cc: Matt Redfearn <matt.redfearn@imgtec.com>
    Cc: netdev@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/16369/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    f381bf6d
Kconfig 79.7 KB