Commit 014cd0a3 authored by Michael Ellerman's avatar Michael Ellerman Committed by David S. Miller

bpf: Update sysctl documentation to list all supported architectures

The sysctl documentation states that the JIT is only available on
x86_64, which is no longer correct.

Update the list, and break it out to indicate which architectures
support the cBPF JIT (via HAVE_CBPF_JIT) or the eBPF JIT
(HAVE_EBPF_JIT).
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Acked-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c780a049
...@@ -36,8 +36,23 @@ bpf_jit_enable ...@@ -36,8 +36,23 @@ bpf_jit_enable
-------------- --------------
This enables Berkeley Packet Filter Just in Time compiler. This enables Berkeley Packet Filter Just in Time compiler.
Currently supported on x86_64 architecture, bpf_jit provides a framework
to speed packet filtering, the one used by tcpdump/libpcap for example. There are two flavors of JIT, the new eBPF JIT supported on:
- x86_64
- arm64
- ppc64
- sparc64
- mips64
And the older cBPF JIT supported on:
- arm
- mips
- ppc
- sparc
The BPF JIT provides a framework to speed packet filtering, the one used by
tcpdump/libpcap for example.
Values : Values :
0 - disable the JIT (default value) 0 - disable the JIT (default value)
1 - enable the JIT 1 - enable the JIT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment