Skip to content

BPF updates

Daniel Borkmann netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10bpf: minor cleanups in ebpf codekernel/bpf/core.c net/core/filter.c+15 -210 replies
2/10bpf: move bpf_jit_enable declarationinclude/linux/filter.h include/linux/netdevice.h+2 -10 replies
3/10bpf: split HAVE_BPF_JIT into cBPF and eBPF variantarch/arm/Kconfig arch/arm64/Kconfig arch/mips/Kconfig +5 more+18 -100 replies
4/10bpf, x86/arm64: remove useless checks on progarch/arm64/net/bpf_jit_comp.c arch/x86/net/bpf_jit_comp.c+0 -60 replies
5/10bpf: add bpf_patch_insn_single helperinclude/linux/filter.h kernel/bpf/core.c kernel/bpf/verifier.c+83 -440 replies
6/10bpf: prepare bpf_int_jit_compile/bpf_prog_select_runtime apisarch/arm64/net/bpf_jit_comp.c arch/s390/net/bpf_jit_comp.c arch/x86/net/bpf_jit_comp.c +5 more+40 -180 replies
7/10bpf: add generic constant blinding for use in jitsDocumentation/sysctl/net.txt include/linux/filter.h kernel/bpf/core.c +2 more+270 -20 replies
8/10bpf, x86: add support for constant blindingarch/x86/net/bpf_jit_comp.c+53 -130 replies
9/10bpf, arm64: add support for constant blindingarch/arm64/net/bpf_jit_comp.c+40 -120 replies
10/10bpf, s390: add support for constant blindingarch/s390/net/bpf_jit_comp.c+56 -170 replies

Reviews trailers per patch

9 of 10 patches have a Reviewed-by or Acked-by.

PatchAlexei StarovoitovElena ReshetovaZi Shen LimYang Shi
1/10A-b
2/10A-b
3/10A-b
4/10A-b
5/10A-b
6/10A-b
7/10A-b R-b
8/10A-b
9/10A-b A-b T-b
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH net-next 00/10] BPF updates

This set implements constant blinding for BPF, first couple of patches are some preparatory cleanups, followed by the blinding. Please see individual patches for details.

Thanks a lot!

Daniel Borkmann (10):
bpf: minor cleanups in ebpf code
bpf: move bpf_jit_enable declaration
bpf: split HAVE_BPF_JIT into cBPF and eBPF variant bpf, x86/arm64: remove useless checks on prog
bpf: add bpf_patch_insn_single helper
bpf: prepare bpf_int_jit_compile/bpf_prog_select_runtime apis
bpf: add generic constant blinding for use in jits bpf, x86: add support for constant blinding
bpf, arm64: add support for constant blinding
bpf, s390: add support for constant blinding

 Documentation/sysctl/net.txt  |  11 ++
 arch/arm/Kconfig              |   2 +-
 arch/arm64/Kconfig            |   2 +-
 arch/arm64/net/bpf_jit_comp.c |  56 +++++---
 arch/mips/Kconfig             |   2 +-
 arch/powerpc/Kconfig          |   2 +-
 arch/s390/Kconfig             |   2 +-
 arch/s390/net/bpf_jit_comp.c  |  77 ++++++++---
 arch/sparc/Kconfig            |   2 +-
 arch/x86/Kconfig              |   2 +-
 arch/x86/net/bpf_jit_comp.c   |  70 +++++++---
 include/linux/filter.h        |  52 +++++++-
 include/linux/netdevice.h     |   1 -
 kernel/bpf/core.c             | 294 +++++++++++++++++++++++++++++++++++++++++-
 kernel/bpf/syscall.c          |   2 +-
 kernel/bpf/verifier.c         |  53 ++------
 lib/test_bpf.c                |   5 +-
 net/Kconfig                   |  21 ++-
 net/core/filter.c             |  40 +++---
 net/core/sysctl_net_core.c    |   9 ++
 20 files changed, 569 insertions(+), 136 deletions(-)
Signature · 1 line
1.9.3