Commit e70b74b
committed
net/mlx5: fw_reset: Don't try to load device in case PCI isn't working
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2131117
Upstream commit(s):
commit 7d167b4
Author: Shay Drory <shayd@nvidia.com>
Date: Wed Nov 2 23:55:40 2022 -0700
net/mlx5: fw_reset: Don't try to load device in case PCI isn't working
In case PCI reads fail after unload, there is no use in trying to
load the device.
Fixes: 5ec6974 ("net/mlx5: Add support for devlink reload action fw activate")
Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Petr Oros <poros@redhat.com>1 parent b67ff41 commit e70b74b
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
| 157 | + | |
157 | 158 | | |
158 | 159 | | |
159 | 160 | | |
| |||
0 commit comments