On Fri, Nov 14, 2025 at 1:07 PM Breno Leitao <[email protected]> wrote: > > On Thu, Nov 13, 2025 at 08:42:21AM -0800, Gustavo Luiz Duarte wrote: > > Increase MAX_USERDATA_ITEMS from 16 to 256 entries now that the userdata > > buffer is allocated dynamically. > > > > The previous limit of 16 was necessary because the buffer was statically > > allocated for all targets. With dynamic allocation, we can support more > > entries without wasting memory on targets that don't use userdata. > > > > This allows users to attach more metadata to their netconsole messages, > > which is useful for complex debugging and logging scenarios. > > > > Also update the testcase accordingly. > > > > Signed-off-by: Gustavo Luiz Duarte <[email protected]> > > Reviewed-by: Breno Leitao <[email protected]> > > Please expand netcons_fragmented_msg.sh selftest to have ~100 userdata, > so, we can exercise this code in NIPA.
I had a quick look and netcons_fragmented_msg.sh needs some refactoring to be more reliable before I can do this. I will send this as a separate patch set.

