BPF List
 help / color / mirror / Atom feed
From: Quentin Monnet <qmo@kernel.org>
To: Tianyi Chen <hi@tychen.cc>, bpf@vger.kernel.org
Cc: andrii@kernel.org, eddyz87@gmail.com, ihor.solodrai@linux.dev,
	linux-kselftest@vger.kernel.org, skokovmaksimevg@gmail.com
Subject: Re: [PATCH bpf-next v9 1/2] bpftool: Add recursive map dumping
Date: Thu, 22 Oct 2026 09:37:30 +0100	[thread overview]
Message-ID: <2bedd979-cb7c-496b-b96c-da58add5e27d@kernel.org> (raw)
In-Reply-To: <179061597606.1293644.6733910074393293547@tychen.cc>

2026-09-29 02:19 UTC+0900 ~ Tianyi Chen <hi@tychen.cc>
> Hi Quentin,
> 
>> We'll need to fix these, but this should be a
>> different patch or series. You're welcome to go at it if you want, I'll
>> send a patch otherwise, just let me know.
> 
> I've taken care of this in a separate two-patch series:
> https://lore.kernel.org/r/cover.1790615923.git.hi@tychen.cc
> 
> It clears info and resets len before each query in do_show(),
> do_show_subset(), maps_have_btf(), and the existing do_dump() loop.
> The four regression subtests fail before the fix and pass after it.
> 
>> I would maybe move this
>> memset() (the hunk above) to that dedicated patch.
> 
> Done. The resets in the two new recursive-only loops stay with the
> recursive implementation.
> 
>> You still have a conflict with Maxim's series on patch 2 though, both of
>> you picked the same test file name. Maybe use
>> bpftool_map_dump_recursive.c instead?
> 
> Done locally, including renaming the test entry point. I tested against
> Maxim's complete v4 series, keeping his tests intact: all 21 focused
> subtests pass in an x86-64 VM.
> 
> Thanks for the Ack. I'll carry it forward and wait for the prerequisites
> to land before rebasing and resending the recursive series.

Hi Tianyi, Maxim's patch set was merged last week, so could you please
rebase and repost this series, too?

Thanks,
Quentin

  reply	other threads:[~2026-10-22  8:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-26  1:42 [PATCH bpf-next v9 0/2] bpftool: Add recursive map dumping Tianyi Chen
2026-09-26  1:42 ` [PATCH bpf-next v9 1/2] " Tianyi Chen
2026-09-28 15:25   ` Quentin Monnet
2026-09-28 17:19     ` Tianyi Chen
2026-10-22  8:37       ` Quentin Monnet [this message]
2026-09-26  1:42 ` [PATCH bpf-next v9 2/2] selftests/bpf: Cover recursive bpftool map dumps Tianyi Chen
     [not found] ` <effbbc956dbdf4c78d27608f6ef8639908323d0aaabf80e1cd592cccac938c99@mail.kernel.org>
2026-09-26  6:08   ` [PATCH bpf-next v9 0/2] bpftool: Add recursive map dumping Tianyi Chen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2bedd979-cb7c-496b-b96c-da58add5e27d@kernel.org \
    --to=qmo@kernel.org \
    --cc=andrii@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=eddyz87@gmail.com \
    --cc=hi@tychen.cc \
    --cc=ihor.solodrai@linux.dev \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=skokovmaksimevg@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox