Thread (42 messages) flat view 42 messages, 3 authors, 2023-01-12

Re: [PATCH net-next 10/14] devlink: restart dump based on devlink instance ids (nested)

From: Jiri Pirko <jiri@resnulli.us>
Date: 2023-01-04 15:48:42

Wed, Jan 04, 2023 at 05:16:32AM CET, kuba@kernel.org wrote:
Use xarray id for cases of simple sub-object iteration.
We'll now use the dump->instance for the devlink instances
and dump->idx for subobject index.

Moving the definition of idx into the inner loop makes sense,
so while at it also move other sub-object local variables into
the loop.

Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Jiri Pirko <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help