diff options
author | Hassan Naveed <hnaveed@wavecomp.com> | 2019-03-13 01:48:12 +0300 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-03-20 01:26:12 +0300 |
commit | 716850ab104db154549b01e63d5c71076434b064 (patch) | |
tree | 735e881b1e7b2850df0030594ed073a99681d01a /arch/mips/net/Makefile | |
parent | 6c2c8a18886897226ee43e77c0149a8e1874274a (diff) | |
download | linux-716850ab104db154549b01e63d5c71076434b064.tar.xz |
MIPS: eBPF: Initial eBPF support for MIPS32 architecture.
Currently MIPS32 supports a JIT for classic BPF only, not extended BPF.
This patch adds JIT support for extended BPF on MIPS32, so code is
actually JIT'ed instead of being only interpreted. Instructions with
64-bit operands are not supported at this point.
We can delete classic BPF because the kernel will translate classic BPF
programs into extended BPF and JIT them, eliminating the need for
classic BPF.
Signed-off-by: Hassan Naveed <hnaveed@wavecomp.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: kafai@fb.com
Cc: songliubraving@fb.com
Cc: yhs@fb.com
Cc: netdev@vger.kernel.org
Cc: bpf@vger.kernel.org
Cc: linux-mips@vger.kernel.org
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: open list:MIPS <linux-mips@linux-mips.org>
Cc: open list <linux-kernel@vger.kernel.org>
Diffstat (limited to 'arch/mips/net/Makefile')
-rw-r--r-- | arch/mips/net/Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/net/Makefile b/arch/mips/net/Makefile index 47d678416715..72a78462f872 100644 --- a/arch/mips/net/Makefile +++ b/arch/mips/net/Makefile @@ -1,4 +1,3 @@ # MIPS networking code -obj-$(CONFIG_MIPS_CBPF_JIT) += bpf_jit.o bpf_jit_asm.o obj-$(CONFIG_MIPS_EBPF_JIT) += ebpf_jit.o |