aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorKal Conley <[email protected]>2023-04-05 23:59:19 +0000
committerMartin KaFai Lau <[email protected]>2023-04-06 17:50:45 +0000
commitc0801598e5430d9da2d406ed32fcedbef23977fc (patch)
treef2426e9737eb44ca8f058f99a9b250536e577da0 /tools/bpf/bpftool/prog.c
parentxsk: Fix unaligned descriptor validation (diff)
downloadkernel-c0801598e5430d9da2d406ed32fcedbef23977fc.tar.gz
kernel-c0801598e5430d9da2d406ed32fcedbef23977fc.zip
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions