Skip to content

Commit

Permalink
bpf, doc: Add arm32 as arch supporting eBPF JIT
Browse files Browse the repository at this point in the history
As eBPF JIT support for arm32 was added recently with
commit 39c13c2, it seems appropriate to
add arm32 as arch with support for eBPF JIT in bpf and sysctl docs as well.

Signed-off-by: Shubham Bansal <illusionist.neo@gmail.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Shubham Bansal authored and David S. Miller committed Aug 24, 2017
1 parent 8115251 commit d2aaa3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Documentation/networking/filter.txt
Original file line number Diff line number Diff line change
Expand Up @@ -596,8 +596,8 @@ skb pointer). All constraints and restrictions from bpf_check_classic() apply
before a conversion to the new layout is being done behind the scenes!

Currently, the classic BPF format is being used for JITing on most 32-bit
architectures, whereas x86-64, aarch64, s390x, powerpc64, sparc64 perform JIT
compilation from eBPF instruction set.
architectures, whereas x86-64, aarch64, s390x, powerpc64, sparc64, arm32 perform
JIT compilation from eBPF instruction set.

Some core changes of the new internal format:

Expand Down
2 changes: 1 addition & 1 deletion Documentation/sysctl/net.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ translate these BPF proglets into native CPU instructions. There are
two flavors of JITs, the newer eBPF JIT currently supported on:
- x86_64
- arm64
- arm32
- ppc64
- sparc64
- mips64
- s390x

And the older cBPF JIT supported on the following archs:
- arm
- mips
- ppc
- sparc
Expand Down

0 comments on commit d2aaa3d

Please sign in to comment.