summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2017-08-17 20:30:39 +1000
committerDavid S. Miller <davem@davemloft.net>2017-08-17 10:09:28 -0700
commit014cd0a368dc6351c65d51e4ee34f8573a4a1543 (patch)
tree965417f9d84fffdabf3930c6b3f9f242f7506750 /Documentation
parentc780a049f9bf442314335372c9abc4548bfe3e44 (diff)
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: Michael Ellerman <mpe@ellerman.id.au> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/sysctl/net.txt19
1 files changed, 17 insertions, 2 deletions
diff --git a/Documentation/sysctl/net.txt b/Documentation/sysctl/net.txt
index 14db18c970b1..b9c3c6078010 100644
--- a/Documentation/sysctl/net.txt
+++ b/Documentation/sysctl/net.txt
@@ -36,8 +36,23 @@ bpf_jit_enable
--------------
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 :
0 - disable the JIT (default value)
1 - enable the JIT