selftests/bpf: Fix test dynptr/test_dynptr_memset_xdp_chunks failure
authorYonghong Song <yonghong.song@linux.dev>
Fri, 25 Jul 2025 04:34:40 +0000 (21:34 -0700)
committerMartin KaFai Lau <martin.lau@kernel.org>
Sat, 26 Jul 2025 01:20:44 +0000 (18:20 -0700)
commit4a5dcb337395db24976090e84f52d48e597697f9
treee02fb0445803f3dcb67d59a49a85fe576f640e8d
parent90f791a975af80964b1ae6a370598c5bb8f565a3
selftests/bpf: Fix test dynptr/test_dynptr_memset_xdp_chunks failure

For arm64 64K page size, the xdp data size was set to be more than 64K
in one of previous patches. This will cause failure for bpf_dynptr_memset().
Since the failure of bpf_dynptr_memset() is expected with 64K page size,
return success.

Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20250725043440.209266-1-yonghong.song@linux.dev
tools/testing/selftests/bpf/progs/dynptr_success.c