diff options
author | Kal Conley <kal.conley@dectris.com> | 2023-04-06 01:59:19 +0200 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2023-04-06 10:50:45 -0700 |
commit | c0801598e5430d9da2d406ed32fcedbef23977fc (patch) | |
tree | f2426e9737eb44ca8f058f99a9b250536e577da0 /tools/testing/selftests/bpf/prog_tests/recursion.c | |
parent | d769ccaf957fe7391f357c0a923de71f594b8a2b (diff) |
selftests: xsk: Add test UNALIGNED_INV_DESC_4K1_FRAME_SIZE
Add unaligned descriptor test for frame size of 4001. Using an odd frame
size ensures that the end of the UMEM is not near a page boundary. This
allows testing descriptors that staddle the end of the UMEM but not a
page.
This test used to fail without the previous commit ("xsk: Fix unaligned
descriptor validation").
Signed-off-by: Kal Conley <kal.conley@dectris.com>
Link: https://lore.kernel.org/r/20230405235920.7305-3-kal.conley@dectris.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/recursion.c')
0 files changed, 0 insertions, 0 deletions