netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/2] Few BPF kselftest improvements
@ 2018-02-26 21:34 Daniel Borkmann
  2018-02-26 21:34 ` [PATCH bpf-next 1/2] bpf: unify rlimit handling in selftests Daniel Borkmann
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Daniel Borkmann @ 2018-02-26 21:34 UTC (permalink / raw)
  To: ast; +Cc: netdev, Daniel Borkmann

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

-- 
2.9.5

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-02-27  4:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-26 21:34 [PATCH bpf-next 0/2] Few BPF kselftest improvements Daniel Borkmann
2018-02-26 21:34 ` [PATCH bpf-next 1/2] bpf: unify rlimit handling in selftests Daniel Borkmann
2018-02-26 21:34 ` [PATCH bpf-next 2/2] bpf: add tail call tests to test_verifier Daniel Borkmann
2018-02-27  4:16 ` [PATCH bpf-next 0/2] Few BPF kselftest improvements Alexei Starovoitov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).