]> Gentwo Git Trees - linux/.git/commit
selftests/bpf: Add test for DEVMAP reuse
authorYureka Lilian <yuka@yuka.dev>
Thu, 14 Aug 2025 18:01:13 +0000 (20:01 +0200)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 15 Aug 2025 23:52:52 +0000 (16:52 -0700)
commit7f8fa9d370c11ba2fb296598267e14d3bfe4ea11
tree5f77a2546e36eea99eb95d4c3a11d34025be250c
parent6c6b4146deb12d20f42490d5013f2043df942161
selftests/bpf: Add test for DEVMAP reuse

The test covers basic re-use of a pinned DEVMAP map,
with both matching and mismatching parameters.

Signed-off-by: Yureka Lilian <yuka@yuka.dev>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/bpf/20250814180113.1245565-4-yuka@yuka.dev
tools/testing/selftests/bpf/prog_tests/pinning_devmap_reuse.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_pinning_devmap.c [new file with mode: 0644]