Skip to content

Misc BPF updates

Daniel Borkmann netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5bpf: add bpf_skb_load_bytes helperinclude/uapi/linux/bpf.h net/core/filter.c+35 -10 replies
2/5bpf: move clearing of A/X into classic to eBPF migration prologuearch/arm64/net/bpf_jit_comp.c arch/s390/net/bpf_jit_comp.c arch/x86/net/bpf_jit_comp.c +2 more+27 -292 replies
3/5bpf: fix misleading comment in bpf_convert_filternet/core/filter.c+0 -60 replies
4/5bpf, x86: detect/optimize loading 0 immediatesarch/x86/net/bpf_jit_comp.c+26 -00 replies
5/5bpf, test: add couple of test caseslib/test_bpf.c+120 -00 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchAlexei StarovoitovMichael HolzheuYang ShiZi Shen Lim
1/5A-b
2/5A-b R-b T-b A-b A-b
3/5A-b
4/5A-b
5/5A-b

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 0/5] Misc BPF updates

This series contains a couple of misc updates to the BPF code, besides others a new helper bpf_skb_load_bytes(), moving clearing of A/X to the classic converter, etc. Please see individual patches for details.

Thanks!

Daniel Borkmann (5):
bpf: add bpf_skb_load_bytes helper
bpf: move clearing of A/X into classic to eBPF migration prologue
bpf: fix misleading comment in bpf_convert_filter
bpf, x86: detect/optimize loading 0 immediates
bpf, test: add couple of test cases

 arch/arm64/net/bpf_jit_comp.c |   6 ---
 arch/s390/net/bpf_jit_comp.c  |  13 +----
 arch/x86/net/bpf_jit_comp.c   |  40 ++++++++++++--
 include/uapi/linux/bpf.h      |   1 +
 kernel/bpf/core.c             |   4 --
 lib/test_bpf.c                | 120 ++++++++++++++++++++++++++++++++++++++++++
 net/core/filter.c             |  60 +++++++++++++++++----
 7 files changed, 208 insertions(+), 36 deletions(-)
Signature · 1 line
1.9.3