]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: BPF: Add JIT support for SKF_AD_HATYPE.
authorDavid Daney <david.daney@cavium.com>
Tue, 14 Mar 2017 21:21:41 +0000 (14:21 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 10 Apr 2017 09:56:04 +0000 (11:56 +0200)
commit338bf2f32825149ff3927efbb7200ba07abbb545
tree066761923302d96ac2595e04a60dce906249e820
parente8b4657df92bb801677fccd8bf4cbef90d7495e4
MIPS: BPF: Add JIT support for SKF_AD_HATYPE.

This let's us pass some additional "modprobe test-bpf" tests with JIT
enabled.

Reuse the code for SKF_AD_IFINDEX, but substitute the offset and size
of the "type" field.

Signed-off-by: David Daney <david.daney@cavium.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Steven J. Hill <steven.hill@cavium.com>
Cc: linux-mips@linux-mips.org
Cc: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/15744/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/net/bpf_jit.c