From: Daniel Borkmann <daniel@iogearbox.net>
To: davem@davemloft.net
Cc: alexei.starovoitov@gmail.com, netdev@vger.kernel.org,
Daniel Borkmann <daniel@iogearbox.net>
Subject: [PATCH net-next 0/2] Move to BPF selftests
Date: Mon, 17 Oct 2016 14:28:34 +0200 [thread overview]
Message-ID: <cover.1476705709.git.daniel@iogearbox.net> (raw)
This set improves the test_verifier and test_maps suite and moves
it over to a new BPF selftest directory, so we can keep improving
it under kernel selftest umbrella. This also integrates a test
script for checking test_bpf.ko under various JIT options.
Thanks!
Daniel Borkmann (2):
bpf: add various tests around spill/fill of regs
bpf: add initial suite for selftests
MAINTAINERS | 3 +-
samples/bpf/Makefile | 3 -
samples/bpf/test_maps.c | 503 -----
samples/bpf/test_verifier.c | 2529 ------------------------
tools/include/linux/filter.h | 24 +
tools/testing/selftests/Makefile | 3 +-
tools/testing/selftests/bpf/.gitignore | 2 +
tools/testing/selftests/bpf/Makefile | 13 +
tools/testing/selftests/bpf/bpf_sys.h | 108 ++
tools/testing/selftests/bpf/config | 5 +
tools/testing/selftests/bpf/test_kmod.sh | 39 +
tools/testing/selftests/bpf/test_maps.c | 525 +++++
tools/testing/selftests/bpf/test_verifier.c | 2764 +++++++++++++++++++++++++++
13 files changed, 3484 insertions(+), 3037 deletions(-)
delete mode 100644 samples/bpf/test_maps.c
delete mode 100644 samples/bpf/test_verifier.c
create mode 100644 tools/testing/selftests/bpf/.gitignore
create mode 100644 tools/testing/selftests/bpf/Makefile
create mode 100644 tools/testing/selftests/bpf/bpf_sys.h
create mode 100644 tools/testing/selftests/bpf/config
create mode 100755 tools/testing/selftests/bpf/test_kmod.sh
create mode 100644 tools/testing/selftests/bpf/test_maps.c
create mode 100644 tools/testing/selftests/bpf/test_verifier.c
--
1.9.3
next reply other threads:[~2016-10-17 12:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-17 12:28 Daniel Borkmann [this message]
2016-10-17 12:28 ` [PATCH net-next 1/2] bpf: add various tests around spill/fill of regs Daniel Borkmann
2016-10-17 20:44 ` Alexei Starovoitov
2016-10-17 12:28 ` [PATCH net-next 2/2] bpf: add initial suite for selftests Daniel Borkmann
2016-10-17 20:45 ` Alexei Starovoitov
2016-10-18 15:36 ` [PATCH net-next 0/2] Move to BPF selftests David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1476705709.git.daniel@iogearbox.net \
--to=daniel@iogearbox.net \
--cc=alexei.starovoitov@gmail.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.