summaryrefslogtreecommitdiff
path: root/net/devlink/core.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-01-04 20:05:25 -0800
committerJakub Kicinski <kuba@kernel.org>2023-01-05 22:13:39 -0800
commita0e13dfdc391dfb2a9b165e2475fb1796c9be98d (patch)
treece367b7b5eb9447f59e80b612303949418785a0e /net/devlink/core.c
parent8861c0933c78e3631fe752feadc0d2a6e5eab1e1 (diff)
downloadlwn-a0e13dfdc391dfb2a9b165e2475fb1796c9be98d.tar.gz
lwn-a0e13dfdc391dfb2a9b165e2475fb1796c9be98d.zip
devlink: health: combine loops in dump
Walk devlink instances only once. Dump the instance reporters and port reporters before moving to the next instance. User space should not depend on ordering of messages. This will make improving stability of the walk easier. Reviewed-by: Jiri Pirko <jiri@nvidia.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/devlink/core.c')
0 files changed, 0 insertions, 0 deletions