Skip to content

mlxfw: Improve error reporting and FW reactivate support

Saeed Mahameed netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 2 repliesIn review
  2. v17 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Use proper err codes, EBUSY/EIO instead of EALREADY/EREMOTEIO
- Fix typo.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7net/mlxfw: Generic mlx FW flash status notifydrivers/net/ethernet/mellanox/mlx5/core/fw.c drivers/net/ethernet/mellanox/mlxfw/Kconfig drivers/net/ethernet/mellanox/mlxfw/mlxfw.h +2 more+16 -300 replies
2/7net/mlxfw: Improve FSM err message reporting and return codesdrivers/net/ethernet/mellanox/mlxfw/mlxfw_fsm.c+65 -290 replies
3/7net/mlxfw: More error messages coveragedrivers/net/ethernet/mellanox/mlxfw/mlxfw_fsm.c+26 -90 replies
4/7net/mlxfw: Convert pr_* to dev_* in mlxfw_fsm.cdrivers/net/ethernet/mellanox/mlxfw/mlxfw.h drivers/net/ethernet/mellanox/mlxfw/mlxfw_fsm.c+54 -380 replies
5/7net/mlxfw: Use MLXFW_ERR_MSG macro for error reportingdrivers/net/ethernet/mellanox/mlxfw/mlxfw_fsm.c+24 -210 replies
6/7net/mlxfw: Add reactivate flow support to FSM burn flowdrivers/net/ethernet/mellanox/mlxfw/mlxfw.h drivers/net/ethernet/mellanox/mlxfw/mlxfw_fsm.c+119 -40 replies
7/7net/mlx5: Add fsm_reactivate callback supportdrivers/net/ethernet/mellanox/mlx5/core/fw.c+39 -00 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchIdo SchimmelJiri PirkoJakub Kicinski
SeriesR-b
1/7R-b A-b
2/7R-b A-b
3/7A-b
4/7R-b A-b
5/7A-b
6/7A-b
7/7A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH net-next V2 0/7] mlxfw: Improve error reporting and FW reactivate support

This patchset improves mlxfw error reporting to netlink and to kernel log.

V2:
- Use proper err codes, EBUSY/EIO instead of EALREADY/EREMOTEIO
- Fix typo.

From Eran and me.

1) patch #1, Make mlxfw/mlxsw fw flash devlink status notify generic, and enable it for mlx5.

2) patches #2..#5 are improving mlxfw flash error messages by reporting detailed mlxfw FSM error messages to netlink and kernel log.

3) patches #6,7 From Eran: Add FW reactivate flow to mlxfw and mlx5

Thanks,
Saeed.

Eran Ben Elisha (2):
net/mlxfw: Add reactivate flow support to FSM burn flow net/mlx5: Add fsm_reactivate callback support

Saeed Mahameed (5):
net/mlxfw: Generic mlx FW flash status notify net/mlxfw: Improve FSM err message reporting and return codes net/mlxfw: More error messages coverage
net/mlxfw: Convert pr_* to dev_* in mlxfw_fsm.c net/mlxfw: Use MLXFW_ERR_MSG macro for error reporting

 drivers/net/ethernet/mellanox/mlx5/core/fw.c  |  40 +++
 drivers/net/ethernet/mellanox/mlxfw/Kconfig   |   1 +
 drivers/net/ethernet/mellanox/mlxfw/mlxfw.h   |  50 ++-
 .../net/ethernet/mellanox/mlxfw/mlxfw_fsm.c   | 296 ++++++++++++++----
 .../net/ethernet/mellanox/mlxsw/spectrum.c    |  17 +-
 5 files changed, 308 insertions(+), 96 deletions(-)
Signature · 1 line
2.24.1