diff options
| author | Naveen N. Rao <[email protected]> | 2016-06-22 16:25:07 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2016-06-24 05:17:57 +0000 |
| commit | 156d0e290e969caba25f1851c52417c14d141b24 (patch) | |
| tree | a232dcd99242656e3e935e44d0fa6649618f58ba /arch/powerpc/platforms/powernv/opal-memory-errors.c | |
| parent | powerpc/bpf/jit: Isolate classic BPF JIT specifics into a separate header (diff) | |
| download | kernel-156d0e290e969caba25f1851c52417c14d141b24.tar.gz kernel-156d0e290e969caba25f1851c52417c14d141b24.zip | |
powerpc/ebpf/jit: Implement JIT compiler for extended BPF
PPC64 eBPF JIT compiler.
Enable with:
echo 1 > /proc/sys/net/core/bpf_jit_enable
or
echo 2 > /proc/sys/net/core/bpf_jit_enable
... to see the generated JIT code. This can further be processed with
tools/net/bpf_jit_disasm.
With CONFIG_TEST_BPF=m and 'modprobe test_bpf':
test_bpf: Summary: 305 PASSED, 0 FAILED, [297/297 JIT'ed]
... on both ppc64 BE and LE.
The details of the approach are documented through various comments in
the code.
Acked-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Naveen N. Rao <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/platforms/powernv/opal-memory-errors.c')
0 files changed, 0 insertions, 0 deletions
