[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <32575e7b7d714aad8d79f851ad00b8241c8ce277.camel@gmail.com>
Date: Wed, 13 Aug 2025 15:01:16 -0700
From: Eduard Zingerman <eddyz87@...il.com>
To: Yureka Lilian <yuka@...a.dev>, Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>, Andrii Nakryiko
<andrii@...nel.org>, Martin KaFai Lau <martin.lau@...ux.dev>, Song Liu
<song@...nel.org>, Yonghong Song <yonghong.song@...ux.dev>, John Fastabend
<john.fastabend@...il.com>, KP Singh <kpsingh@...nel.org>, Stanislav
Fomichev <sdf@...ichev.me>, Hao Luo <haoluo@...gle.com>, Jiri Olsa
<jolsa@...nel.org>
Cc: bpf@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 0/2] bpf: fix reuse of DEVMAP
On Wed, 2025-08-13 at 22:09 +0200, Yureka Lilian wrote:
> 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.
Nit: could you please use tag `libbpf` instead of `bpf`?
>
> 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
Powered by blists - more mailing lists