Skip to content

Commit ad0f73c

Browse files
mosheshemesh2gregkh
authored andcommitted
net/mlx5: Reload auxiliary devices in pci error handlers
commit aab8e1a upstream. Handling pci errors should fully teardown and load back auxiliary devices, same as done through mlx5 health recovery flow. Fixes: 72ed5d5 ("net/mlx5: Suspend auxiliary devices only in case of PCI device suspend") Signed-off-by: Moshe Shemesh <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 88ec484 commit ad0f73c

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/mellanox/mlx5/core

1 file changed

+1
-1
lines changed

drivers/net/ethernet/mellanox/mlx5/core/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1794,7 +1794,7 @@ static pci_ers_result_t mlx5_pci_err_detected(struct pci_dev *pdev,
17941794

17951795
mlx5_enter_error_state(dev, false);
17961796
mlx5_error_sw_reset(dev);
1797-
mlx5_unload_one(dev, true);
1797+
mlx5_unload_one(dev, false);
17981798
mlx5_drain_health_wq(dev);
17991799
mlx5_pci_disable_device(dev);
18001800

0 commit comments

Comments
 (0)