Messages in this thread | | | From | Moshe Shemesh <> | Subject | [PATCH net-next RFC 0/3] Add mlx5 devices FW upgrade reset support | Date | Tue, 14 Jan 2020 17:55:25 +0200 |
| |
This patchset adds support for FW upgrade. On devlink reload, if a pending FW image is found, the driver will perform a FW upgrade reset flow to activate the pending FW image.
Sending as RFC because the FW activation reset requires a pci link toggling. Although it works and we verify that the device is the only device on the pcie bridge before allowing such reset, as already done by other drivers [1], we would like to get some feedback on the last patch of this series.
[1] function trigger_sbr() at drivers/infiniband/hw/hfi1/pcie.c
Moshe Shemesh (3): net/mlx5: Add structure layout and defines for MFRL register net/mlx5: Add functions to set/query MFRL register net/mlx5: Add FW upgrade reset support
drivers/net/ethernet/mellanox/mlx5/core/devlink.c | 81 +++++++++++++++++++++- drivers/net/ethernet/mellanox/mlx5/core/fw.c | 44 ++++++++++++ .../net/ethernet/mellanox/mlx5/core/mlx5_core.h | 2 + include/linux/mlx5/driver.h | 1 + include/linux/mlx5/mlx5_ifc.h | 17 +++++ 5 files changed, 144 insertions(+), 1 deletion(-)
-- 1.8.3.1
| |