> [Severity: Medium]
> Can this make "devlink dev show" fail for readers with a page-sized
> buffer, in setups where it worked before this patch?
Only in a narrow range, when the estimate for the biggest instance is
over a page but its real message is not, roughly 65-85 nested instances.
But adaptive (or just increased) sizing should be added to iproute2
anyway, I plan to add it there alongside my other changes coming from my
XLVF series.
> devlink->index is a u32, so it gets a 4 byte payload.
still we put it in 8 bytes on the wire, so I went with sizeof(u64)
> devlink_nl_put_nested_handle() only adds the netns id when the netns
> differs.
this is the only not needed excess (8B per same-netns handle), but we
get simpler code (one if less), not sure if it is worth changing just
for that
> Given the Closes: tag, should the commit message say that iproute2 still
> can't show these setups?
it already does