Re: [PATCH v2 0/5] MIPS: BPF: JIT fixes and improvements.

From: David Daney
Date: Tue Mar 14 2017 - 18:36:11 EST


On 03/14/2017 03:29 PM, Daniel Borkmann wrote:
On 03/14/2017 10:21 PM, David Daney wrote:
Changes from v1:

- Use unsigned access for SKF_AD_HATYPE

- Added three more patches for other problems found.


Testing the BPF JIT on Cavium OCTEON (mips64) with the test-bpf module
identified some failures and unimplemented features.

Nice, thanks for working on this! If you see specific test
cases for the JIT missing, please also feel free to extend
the test_bpf suite, so this gets exposed further to other
JITs, too.

With this patch set we get:

test_bpf: Summary: 305 PASSED, 0 FAILED, [85/297 JIT'ed]

Both big and little endian tested.

We still lack eBPF support, but this is better than nothing.

Any future plans on this one?

Yes, my plan is to fully implement eBPF support for 64-bit MIPS, let's see if I get enough time to do it.

David.