qed: introduce devlink health support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest10 patches 1 replyIn review
- v610 patches 10 repliesSuperseded
- v510 patches 2 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 10 patches | 2 replies | Superseded | |
| v3 | 11 patches | 5 replies | Superseded | |
| v2 | 11 patches | 0 replies | Superseded | |
| v1 | 11 patches | 8 replies | Superseded |
v4 from the cover letter
- commit message and other fixes after Jiri's comments
- removed one patch (will send to net)
v3: fix uninit var usage in patch 11
v2: fix #include issue from kbuild test robot.
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | qed: move out devlink logic into a new filedrivers/ drivers/ drivers/ +1 more | +127 | 0 replies | |
| 2/10 | qed/qede: make devlink survive recoverydrivers/ drivers/ drivers/ +4 more | +48 | 0 replies | |
| 3/10 | qed: fix kconfig help entriesdrivers/ | +3 | 0 replies | |
| 4/10 | qed: implement devlink info requestdrivers/ drivers/ drivers/ +1 more | +60 | 0 replies | |
| 5/10 | qed: health reporter init deinit seqdrivers/ drivers/ include/ | +38 | 0 replies | |
| 6/10 | qed: use devlink logic to report errorsdrivers/ drivers/ drivers/ +3 more | +29 | 0 replies | |
| 7/10 | qed*: make use of devlink recovery infrastructuredrivers/ drivers/ drivers/ +1 more | +16 | 0 replies | |
| 8/10 | qed: implement devlink dumpdrivers/ | +43 | 0 replies | |
| 9/10 | qed: align adjacent indentinclude/ | +33 | 0 replies | |
| 10/10 | qede: make driver reliable on unload after failuresdrivers/ | +6 | 0 replies |
Reviews trailers per patch
5 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Jesse Brandeburg | Jakub Kicinski |
|---|---|---|
| 1/10 | R-b | |
| 2/10 | ||
| 3/10 | ||
| 4/10 | R-b | |
| 5/10 | R-b | |
| 6/10 | A-b | |
| 7/10 | A-b | |
| 8/10 | ||
| 9/10 | ||
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v7 net-next 00/10] qed: introduce devlink health support
This is a followup implementation after series
https://patchwork.ozlabs.org/project/netdev/cover/[email protected]/
This is an implementation of devlink health infrastructure.
With this we are now able to report HW errors to devlink, and it'll take its own actions depending on user configuration to capture and store the dump at the bad moment, and to request the driver to recover the device.
So far we do not differentiate global device failures or specific PCI function failures. This means that some errors specific to one physical function will affect an entire device. This is not yet fully designed and verified, will followup in future.
Solution was verified with artificial HW errors generated, existing tools for dump analysis could be used.
v7: comments from Jesse and Jakub
- p2: extra edev check
- p9: removed extra indents
v6: patch 4: changing serial to board.serial and fw to fw.app
v5: improved patch 4 description
v4:
- commit message and other fixes after Jiri's comments
- removed one patch (will send to net)
v3: fix uninit var usage in patch 11
v2: fix #include issue from kbuild test robot.
Igor Russkikh (10):
qed: move out devlink logic into a new file qed/qede: make devlink survive recovery
qed: fix kconfig help entries
qed: implement devlink info request
qed: health reporter init deinit seq
qed: use devlink logic to report errors qed*: make use of devlink recovery infrastructure
qed: implement devlink dump
qed: align adjacent indent
qede: make driver reliable on unload after failures
drivers/net/ethernet/qlogic/Kconfig | 5 +- drivers/net/ethernet/qlogic/qed/Makefile | 1 + drivers/net/ethernet/qlogic/qed/qed.h | 3 +- drivers/net/ethernet/qlogic/qed/qed_dev.c | 9 + drivers/net/ethernet/qlogic/qed/qed_devlink.c | 259 ++++++++++++++++++ drivers/net/ethernet/qlogic/qed/qed_devlink.h | 20 ++ drivers/net/ethernet/qlogic/qed/qed_main.c | 116 +------- drivers/net/ethernet/qlogic/qede/qede.h | 2 + drivers/net/ethernet/qlogic/qede/qede_main.c | 38 ++- include/linux/qed/qed_if.h | 82 +++--- 10 files changed, 375 insertions(+), 160 deletions(-) create mode 100644 drivers/net/ethernet/qlogic/qed/qed_devlink.c create mode 100644 drivers/net/ethernet/qlogic/qed/qed_devlink.h
Signature · 1 line
2.17.1