Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Johan Almbladh <johan.almbladh@anyfinetworks.com>
To: ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org
Cc: kafai@fb.com, songliubraving@fb.com, yhs@fb.com,
john.fastabend@gmail.com, kpsingh@kernel.org, iii@linux.ibm.com,
netdev@vger.kernel.org, bpf@vger.kernel.org,
Johan Almbladh <johan.almbladh@anyfinetworks.com>
Subject: [PATCH bpf-next v2 00/13] bpf/tests: Extend JIT test suite coverage
Date: Wed, 8 Sep 2021 00:23:26 +0200 [thread overview]
Message-ID: <20210907222339.4130924-1-johan.almbladh@anyfinetworks.com> (raw)
This patch set adds a number of new tests to the test_bpf.ko test suite.
The tests are intended to verify the correctness of eBPF JITs.
Changes since v1:
* Fixed ASCII diagram of staggered jump test pattern (6/13).
* Fixed R0 initialization issue found by kbuild CI. Add comment on
diagnostics/debugging instead of setting R0 to the current
instruction index (3,4,7/13).
Link: https://lore.kernel.org/bpf/20210902185229.1840281-1-johan.almbladh@anyfinetworks.com/
Johan Almbladh (13):
bpf/tests: Allow different number of runs per test case
bpf/tests: Reduce memory footprint of test suite
bpf/tests: Add exhaustive tests of ALU shift values
bpf/tests: Add exhaustive tests of ALU operand magnitudes
bpf/tests: Add exhaustive tests of JMP operand magnitudes
bpf/tests: Add staggered JMP and JMP32 tests
bpf/tests: Add exhaustive test of LD_IMM64 immediate magnitudes
bpf/tests: Add test case flag for verifier zero-extension
bpf/tests: Add JMP tests with small offsets
bpf/tests: Add JMP tests with degenerate conditional
bpf/tests: Expand branch conversion JIT test
bpf/tests: Add more BPF_END byte order conversion tests
bpf/tests: Add tail call limit test with external function call
lib/test_bpf.c | 3316 +++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 3274 insertions(+), 42 deletions(-)
--
2.25.1
next reply other threads:[~2021-09-07 22:23 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-07 22:23 Johan Almbladh [this message]
2021-09-07 22:23 ` [PATCH bpf-next v2 01/13] bpf/tests: Allow different number of runs per test case Johan Almbladh
2021-09-07 22:23 ` [PATCH bpf-next v2 02/13] bpf/tests: Reduce memory footprint of test suite Johan Almbladh
2021-09-07 22:23 ` [PATCH bpf-next v2 03/13] bpf/tests: Add exhaustive tests of ALU shift values Johan Almbladh
2021-09-07 22:23 ` [PATCH bpf-next v2 04/13] bpf/tests: Add exhaustive tests of ALU operand magnitudes Johan Almbladh
2021-09-07 22:23 ` [PATCH bpf-next v2 05/13] bpf/tests: Add exhaustive tests of JMP " Johan Almbladh
2021-09-07 22:23 ` [PATCH bpf-next v2 06/13] bpf/tests: Add staggered JMP and JMP32 tests Johan Almbladh
2021-09-07 22:23 ` [PATCH bpf-next v2 07/13] bpf/tests: Add exhaustive test of LD_IMM64 immediate magnitudes Johan Almbladh
2021-09-07 22:23 ` [PATCH bpf-next v2 08/13] bpf/tests: Add test case flag for verifier zero-extension Johan Almbladh
2021-09-07 22:23 ` [PATCH bpf-next v2 09/13] bpf/tests: Add JMP tests with small offsets Johan Almbladh
2021-09-07 22:23 ` [PATCH bpf-next v2 10/13] bpf/tests: Add JMP tests with degenerate conditional Johan Almbladh
2021-09-07 22:23 ` [PATCH bpf-next v2 11/13] bpf/tests: Expand branch conversion JIT test Johan Almbladh
2021-09-07 22:23 ` [PATCH bpf-next v2 12/13] bpf/tests: Add more BPF_END byte order conversion tests Johan Almbladh
2021-09-07 22:23 ` [PATCH bpf-next v2 13/13] bpf/tests: Add tail call limit test with external function call Johan Almbladh
2021-09-08 10:10 ` Ilya Leoshkevich
2021-09-08 10:53 ` Johan Almbladh
2021-09-08 11:46 ` Daniel Borkmann
2021-09-08 11:59 ` Johan Almbladh
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=20210907222339.4130924-1-johan.almbladh@anyfinetworks.com \
--to=johan.almbladh@anyfinetworks.com \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=iii@linux.ibm.com \
--cc=john.fastabend@gmail.com \
--cc=kafai@fb.com \
--cc=kpsingh@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=songliubraving@fb.com \
--cc=yhs@fb.com \
--subject='Re: [PATCH bpf-next v2 00/13] bpf/tests: Extend JIT test suite coverage' \
/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
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).