Commit 8da591ae authored by Moshe Shemesh's avatar Moshe Shemesh Committed by Greg Kroah-Hartman
Browse files

net/mlx5: Add support for sync reset using hot reset



[ Upstream commit 57502f62 ]

On device that supports sync reset for firmware activate using hot
reset, the driver queries the required reset method while handling the
sync reset request. If the required reset method is hot reset, the
driver will use pci_reset_bus() to reset the PCI link instead of the
link toggle.

Signed-off-by: default avatarMoshe Shemesh <moshe@nvidia.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
Reviewed-by: default avatarJacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20240911201757.1505453-11-saeed@kernel.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Stable-dep-of: 902a8bc2 ("net/mlx5: Fix lockdep assertion on sync reset unload event")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 6292688e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment