diff options
author | Aya Levin <ayal@nvidia.com> | 2021-06-16 19:11:03 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-07-27 16:10:05 -0700 |
commit | 7f331bf0f060c2727e36d64f9b098b4ee5f3dfad (patch) | |
tree | 3aa789725a5c46de8873e4d78bb637067d01b78c /drivers/net/ieee802154 | |
parent | 678b1ae1af4aef488fcc42baa663e737b9a531ba (diff) |
net/mlx5: Unload device upon firmware fatal error
When fw_fatal reporter reports an error, the firmware in not responding.
Unload the device to ensure that the driver closes all its resources,
even if recovery is not due (user disabled auto-recovery or reporter is
in grace period). On successful recovery the device is loaded back up.
Fixes: b3bd076f7501 ("net/mlx5: Report devlink health on FW fatal issues")
Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ieee802154')
0 files changed, 0 insertions, 0 deletions