[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1676392686-405892-1-git-send-email-moshe@nvidia.com>
Date: Tue, 14 Feb 2023 18:37:56 +0200
From: Moshe Shemesh <moshe@...dia.com>
To: "David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, Jiri Pirko <jiri@...dia.com>,
<netdev@...r.kernel.org>
CC: Moshe Shemesh <moshe@...dia.com>
Subject: [PATCH net-next v2 00/10] devlink: cleanups and move devlink health functionality to separate file
This patchset moves devlink health callbacks, helpers and related code
from leftover.c to new file health.c. About 1.3K LoC are moved by this
patchset, covering all devlink health functionality.
In addition this patchset includes a couple of small cleanups in devlink
health code and documentation update.
---
v1->v2:
- Fix kdoc indentation and make reporter create/destroy kdoc more clear
- Add note on the two cleanup patches that the bug is harmless
- Drop patch 4 ("devlink: health: Don't try to add trace with NULL msg")
- Add patch "devlink: Fix TP_STRUCT_entry in trace of devlink health report"
Moshe Shemesh (10):
devlink: Split out health reporter create code
devlink: health: Fix nla_nest_end in error flow
devlink: Move devlink health get and set code to health file
devlink: Move devlink health report and recover to health file
devlink: Move devlink fmsg and health diagnose to health file
devlink: Move devlink health dump to health file
devlink: Move devlink health test to health file
devlink: Move health common function to health file
devlink: Update devlink health documentation
devlink: Fix TP_STRUCT_entry in trace of devlink health report
.../networking/devlink/devlink-health.rst | 23 +-
include/trace/events/devlink.h | 2 +-
net/devlink/Makefile | 2 +-
net/devlink/devl_internal.h | 16 +
net/devlink/health.c | 1333 +++++++++++++++++
net/devlink/leftover.c | 1330 +---------------
6 files changed, 1374 insertions(+), 1332 deletions(-)
create mode 100644 net/devlink/health.c
--
2.27.0
Powered by blists - more mailing lists