devlink: Split out health reporter create code
authorMoshe Shemesh <moshe@nvidia.com>
Tue, 14 Feb 2023 16:37:57 +0000 (18:37 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 16 Feb 2023 03:15:44 +0000 (19:15 -0800)
commitb4740e3a8137faa5831c690d0bf0b46f41008baf
treef4d3b8909ec46b0e0f35b20e915ce8f99b69a1a6
parentb6a4103c3538dec0a9ec8a6d1de7c009e428e7ab
devlink: Split out health reporter create code

Move devlink health reporter create/destroy and related dev code to new
file health.c. This file shall include all callbacks and functionality
that are related to devlink health.

In addition, fix kdoc indentation and make reporter create/destroy kdoc
more clear. No functional change in this patch.

Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/devlink/Makefile
net/devlink/devl_internal.h
net/devlink/health.c [new file with mode: 0644]
net/devlink/leftover.c