Message ID | 20230807212607.50883-11-saeed@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | aab8e1a200b926147db51e3f82fd07bb9edf6a98 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net,01/11] net/mlx5e: Take RTNL lock when needed before calling xdp_set_features() | expand |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/main.c b/drivers/net/ethernet/mellanox/mlx5/core/main.c index f42abc2ea73c..72ae560a1c68 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/main.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/main.c @@ -1989,7 +1989,7 @@ static pci_ers_result_t mlx5_pci_err_detected(struct pci_dev *pdev, mlx5_enter_error_state(dev, false); mlx5_error_sw_reset(dev); - mlx5_unload_one(dev, true); + mlx5_unload_one(dev, false); mlx5_drain_health_wq(dev); mlx5_pci_disable_device(dev);