diff options
author | Shay Drory <shayd@nvidia.com> | 2022-11-02 23:55:40 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-11-16 10:04:00 +0100 |
commit | be0a8565a996092981a12fb9fecbcc77ae86cc7c (patch) | |
tree | 806d559d284107675e693f526b2aa0dc534bebe3 /drivers/net/ethernet/intel/ice/ice_lib.c | |
parent | 8a6db8544b3b2a15ae8f481c09566a1457ee0116 (diff) |
net/mlx5: fw_reset: Don't try to load device in case PCI isn't working
[ Upstream commit 7d167b4a4c810919ba1affd02fc6b7f40e7e6eeb ]
In case PCI reads fail after unload, there is no use in trying to
load the device.
Fixes: 5ec697446f46 ("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: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions