RV64 BPF JIT Optimizations
Status from this message: Applied, thanks everyone!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | bpf, riscv: Enable missing verifier_zext optimizations on RV64arch/ | +4 | 0 replies | |
| 2/4 | bpf, riscv: Optimize FROM_LE using verifier_zext on RV64arch/ | +14 | 0 replies | |
| 3/4 | bpf, riscv: Optimize BPF_JMP BPF_K when imm == 0 on RV64arch/ | +10 | 0 replies | |
| 4/4 | bpf, riscv: Optimize BPF_JSET BPF_K using andi on RV64arch/ | +19 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Björn Töpel |
|---|---|
| Series | R-b A-b |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf-next 0/4] RV64 BPF JIT Optimizations
This patch series introduces a set of optimizations to the BPF JIT on RV64. The optimizations are related to the verifier zero-extension optimization and BPF_JMP BPF_K.
We tested the optimizations on a QEMU riscv64 virt machine, using lib/test_bpf and test_verifier, and formally verified their correctness using Serval.
Luke Nelson (4):
bpf, riscv: Enable missing verifier_zext optimizations on RV64 bpf, riscv: Optimize FROM_LE using verifier_zext on RV64 bpf, riscv: Optimize BPF_JMP BPF_K when imm == 0 on RV64 bpf, riscv: Optimize BPF_JSET BPF_K using andi on RV64
arch/riscv/net/bpf_jit_comp64.c | 64 ++++++++++++++++++++++----------- 1 file changed, 44 insertions(+), 20 deletions(-)
Signature · 1 line
2.17.1