net/mlx5: Skip HotPlug check on sync reset using hot reset
authorMoshe Shemesh <moshe@nvidia.com>
Wed, 11 Sep 2024 20:17:53 +0000 (13:17 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 13 Sep 2024 03:50:29 +0000 (20:50 -0700)
commit48bb52b0bc6693afb17a6024bab925b25fec44a1
treec510b37783b70b20020bd50762db18b43046a96d
parent57502f62678ced0149d415324931bde37b42885a
net/mlx5: Skip HotPlug check on sync reset using hot reset

Sync reset request is nacked by the driver when PCIe bridge connected to
mlx5 device has HotPlug interrupt enabled. However, when using reset
method of hot reset this check can be skipped as Hotplug is supported on
this reset method.

Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20240911201757.1505453-12-saeed@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/fw_reset.c