diff options
author | Moshe Shemesh <moshe@nvidia.com> | 2023-02-14 18:38:02 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-02-15 19:15:44 -0800 |
commit | 7004c6c45761143836d3c8122d91264320d87e8e (patch) | |
tree | 97c8b71e8d71de117abcdf26c36dafc3eb9b6d32 /net/devlink/devl_internal.h | |
parent | a929df7fd9c6fbfb4ebbed7c9cf96657e9f622b6 (diff) | |
download | linux-stable-7004c6c45761143836d3c8122d91264320d87e8e.tar.gz linux-stable-7004c6c45761143836d3c8122d91264320d87e8e.tar.bz2 linux-stable-7004c6c45761143836d3c8122d91264320d87e8e.zip |
devlink: Move devlink health dump to health file
Move devlink health report dump callbacks and related code from
leftover.c to health.c. No functional change in this patch.
Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/devlink/devl_internal.h')
-rw-r--r-- | net/devlink/devl_internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/devlink/devl_internal.h b/net/devlink/devl_internal.h index a4b96f8a0ab4..ae7229742d66 100644 --- a/net/devlink/devl_internal.h +++ b/net/devlink/devl_internal.h @@ -278,3 +278,7 @@ int devlink_nl_cmd_health_reporter_recover_doit(struct sk_buff *skb, struct genl_info *info); int devlink_nl_cmd_health_reporter_diagnose_doit(struct sk_buff *skb, struct genl_info *info); +int devlink_nl_cmd_health_reporter_dump_get_dumpit(struct sk_buff *skb, + struct netlink_callback *cb); +int devlink_nl_cmd_health_reporter_dump_clear_doit(struct sk_buff *skb, + struct genl_info *info); |