Commit ac0691c7 authored by Tiezhu Yang's avatar Tiezhu Yang Committed by Martin KaFai Lau
Browse files

bpf, docs: Add loongarch64 as arch supporting BPF JIT



As BPF JIT support for loongarch64 was added about one year ago
with commit 5dc61552 ("LoongArch: Add BPF JIT support"), it
is appropriate to add loongarch64 as arch supporting BPF JIT in
bpf and sysctl docs as well.

Signed-off-by: default avatarTiezhu Yang <yangtiezhu@loongson.cn>
Link: https://lore.kernel.org/r/1695111937-19697-1-git-send-email-yangtiezhu@loongson.cn


Signed-off-by: default avatarMartin KaFai Lau <martin.lau@kernel.org>
parent 9220c3ef
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -71,6 +71,7 @@ two flavors of JITs, the newer eBPF JIT currently supported on:
  - s390x
  - riscv64
  - riscv32
  - loongarch64

And the older cBPF JIT supported on the following archs:

+2 −2
Original line number Diff line number Diff line
@@ -650,8 +650,8 @@ 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, arm32, riscv64, riscv32 perform JIT compilation from eBPF
instruction set.
sparc64, arm32, riscv64, riscv32, loongarch64 perform JIT compilation
from eBPF instruction set.

Testing
-------