diff options
author | Aya Levin <ayal@nvidia.com> | 2021-06-16 19:11:03 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-08-04 12:47:55 +0200 |
commit | 6b35ae3f6b429812d2c265162d6fb8f2df1300e5 (patch) | |
tree | d52ac401c5bed901b303a780c194d596a873e9c6 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 9bf4345430b4ae08a5e1fa2662ac69a0298561a7 (diff) |
net/mlx5: Unload device upon firmware fatal error
[ Upstream commit 7f331bf0f060c2727e36d64f9b098b4ee5f3dfad ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions