devlink: cleanups and move devlink health functionality to separate file
Status from this message: This series was applied to netdev/net-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest10 patches 2 repliesApplied 10/10
- v110 patches 8 repliesSuperseded
Changes in v2 from the cover letter
- 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"
Patches in v2 All 10 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | devlink: Split out health reporter create codenet/ net/ net/ +1 more | +226 | 1 reply | Applied |
| 2/10 | devlink: health: Fix nla_nest_end in error flownet/ | +1 | 0 replies | Applied |
| 3/10 | devlink: Move devlink health get and set code to health filenet/ net/ net/ | +234 | 0 replies | Applied |
| 4/10 | devlink: Move devlink health report and recover to health filenet/ net/ net/ | +144 | 0 replies | Applied |
| 5/10 | devlink: Move devlink fmsg and health diagnose to health filenet/ net/ net/ | +636 | 0 replies | Applied |
| 6/10 | devlink: Move devlink health dump to health filenet/ net/ net/ | +126 | 0 replies | Applied |
| 7/10 | devlink: Move devlink health test to health filenet/ net/ net/ | +18 | 0 replies | Applied |
| 8/10 | devlink: Move health common function to health filenet/ net/ | +32 | 0 replies | Applied |
| 9/10 | devlink: Update devlink health documentationDocumentation/ | +21 | 0 replies | Applied |
| 10/10 | devlink: Fix TP_STRUCT_entry in trace of devlink health reportinclude/ | +1 | 1 reply | Applied |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | Jiri Pirko | Jakub Kicinski |
|---|---|---|
| 1/10 | R-b | |
| 2/10 | R-b | R-b |
| 3/10 | R-b | R-b |
| 4/10 | R-b | R-b |
| 5/10 | R-b | R-b |
| 6/10 | R-b | R-b |
| 7/10 | R-b | R-b |
| 8/10 | R-b | R-b |
| 9/10 | R-b | R-b |
| 10/10 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [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
Signature · 1 line
2.27.0