bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] bpf: fix reuse of DEVMAP
@ 2025-08-13 20:09 Yureka Lilian
  2025-08-13 20:09 ` [PATCH v2 1/2] " Yureka Lilian
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Yureka Lilian @ 2025-08-13 20:09 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
	Martin KaFai Lau, Eduard Zingerman, Song Liu, Yonghong Song,
	John Fastabend, KP Singh, Stanislav Fomichev, Hao Luo, Jiri Olsa
  Cc: Yureka Lilian, bpf, linux-kernel

This patch series includes the previous fix to libbpf for re-using DEVMAP
maps, but modifies it to preserve compatibility with older kernels, thanks
to the feedback given by Martin KaFai Lau.

Additionally adds a basic selftest covering the re-use of DEVMAP maps, as
requested by Eduard Zingerman.


Yureka Lilian (2):
  bpf: fix reuse of DEVMAP
  bpf: add test for DEVMAP reuse

 tools/lib/bpf/libbpf.c                        | 14 +++-
 .../bpf/prog_tests/pinning_devmap_reuse.c     | 68 +++++++++++++++++++
 .../selftests/bpf/progs/test_pinning_devmap.c | 20 ++++++
 3 files changed, 101 insertions(+), 1 deletion(-)
 create mode 100644 tools/testing/selftests/bpf/prog_tests/pinning_devmap_reuse.c
 create mode 100644 tools/testing/selftests/bpf/progs/test_pinning_devmap.c

-- 
2.50.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-08-13 22:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-13 20:09 [PATCH v2 0/2] bpf: fix reuse of DEVMAP Yureka Lilian
2025-08-13 20:09 ` [PATCH v2 1/2] " Yureka Lilian
2025-08-13 21:59   ` Eduard Zingerman
2025-08-13 22:49   ` Andrii Nakryiko
2025-08-13 20:09 ` [PATCH v2 2/2] bpf: add test for DEVMAP reuse Yureka Lilian
2025-08-13 21:54   ` Eduard Zingerman
2025-08-13 22:01 ` [PATCH v2 0/2] bpf: fix reuse of DEVMAP Eduard Zingerman

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).