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 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5bpf, x86_64/arm64: remove old ldimm64 artifacts from jitsarch/arm64/net/bpf_jit_comp.c arch/x86/net/bpf_jit_comp.c+0 -160 replies
2/5bpf: add various test cases to verifier selfteststools/testing/selftests/bpf/test_verifier.c+137 -00 replies
3/5bpf: bpf_lock on kallsysms doesn't need to be irqsavekernel/bpf/core.c+4 -80 replies
4/5bpf: fix _htons occurences in test_progstools/testing/selftests/bpf/bpf_util.h tools/testing/selftests/bpf/test_l4lb.c tools/testing/selftests/bpf/test_pkt_access.c +1 more+31 -150 replies
5/5bpf: provide a generic macro for percpu values for selfteststools/testing/selftests/bpf/bpf_util.h tools/testing/selftests/bpf/test_maps.c+27 -170 replies

Reviews trailers per patch

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

PatchAlexei Starovoitov
1/5A-b
2/5A-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.

Read the v1 thread

Cover letter [PATCH net-next 0/5] Misc BPF updates

This set cleans up ldimm64 leftovers from early eBPF days and adds couple of test cases related to this to the verifier test suite. It also cleans up the kallsyms spinlock (had same patch also in queue) by relaxing it through switching to _bh variant. It fixes up test_progs in relation to htons/ntohs and adds accessor macros for the percpu tests in test_maps.

Thanks!

Daniel Borkmann (4):
bpf, x86_64/arm64: remove old ldimm64 artifacts from jits
bpf: add various test cases to verifier selftests
bpf: fix _htons occurences in test_progs
bpf: provide a generic macro for percpu values for selftests

Hannes Frederic Sowa (1):
bpf: bpf_lock on kallsysms doesn't need to be irqsave

 arch/arm64/net/bpf_jit_comp.c                 |   9 --
 arch/x86/net/bpf_jit_comp.c                   |   7 --
 kernel/bpf/core.c                             |  12 +--
 tools/testing/selftests/bpf/bpf_util.h        |  26 +++++
 tools/testing/selftests/bpf/test_l4lb.c       |  11 +--
 tools/testing/selftests/bpf/test_maps.c       |  37 +++----
 tools/testing/selftests/bpf/test_pkt_access.c |   6 +-
 tools/testing/selftests/bpf/test_progs.c      |  10 +-
 tools/testing/selftests/bpf/test_verifier.c   | 137 ++++++++++++++++++++++++++
 9 files changed, 199 insertions(+), 56 deletions(-)
Signature · 1 line
1.9.3