Skip to content

Few BPF kselftest improvements

Daniel Borkmann netdev 1 version Applied

Status from this message: Applied to bpf-next, thanks Daniel.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2bpf: unify rlimit handling in selfteststools/testing/selftests/bpf/bpf_rlimit.h tools/testing/selftests/bpf/test_align.c tools/testing/selftests/bpf/test_dev_cgroup.c +8 more+44 -540 replies
2/2bpf: add tail call tests to test_verifiertools/testing/selftests/bpf/test_verifier.c+110 -70 replies

Reviews trailers per patch

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

PatchAlexei Starovoitov
1/2A-b
2/2A-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 bpf-next 0/2] Few BPF kselftest improvements

First one unifies the often repeated rlimit handling and the second one enables and adds run-time tests for BPF tail calls which provides useful coverage in particular for JITs.

Thanks!

Daniel Borkmann (2):
bpf: unify rlimit handling in selftests
bpf: add tail call tests to test_verifier

 tools/testing/selftests/bpf/bpf_rlimit.h        |  28 ++++++
 tools/testing/selftests/bpf/test_align.c        |   6 +-
 tools/testing/selftests/bpf/test_dev_cgroup.c   |   6 +-
 tools/testing/selftests/bpf/test_lpm_map.c      |  14 +--
 tools/testing/selftests/bpf/test_lru_map.c      |   6 +-
 tools/testing/selftests/bpf/test_maps.c         |   7 +-
 tools/testing/selftests/bpf/test_progs.c        |   7 +-
 tools/testing/selftests/bpf/test_tag.c          |   4 +-
 tools/testing/selftests/bpf/test_tcpbpf_user.c  |   6 +-
 tools/testing/selftests/bpf/test_verifier.c     | 123 +++++++++++++++++++++---
 tools/testing/selftests/bpf/test_verifier_log.c |   8 +-
 11 files changed, 154 insertions(+), 61 deletions(-)
 create mode 100644 tools/testing/selftests/bpf/bpf_rlimit.h
Signature · 1 line
2.9.5