Message ID | 20240603210443.980518-3-tariqt@nvidia.com (mailing list archive) |
---|---|
State | Accepted |
Commit | c8b3f38d2dae0397944814d691a419c451f9906f |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | mlx5 core fixes 20240603 | expand |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/main.c b/drivers/net/ethernet/mellanox/mlx5/core/main.c index 6574c145dc1e..459a836a5d9c 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/main.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/main.c @@ -1298,6 +1298,9 @@ static int mlx5_function_teardown(struct mlx5_core_dev *dev, bool boot) if (!err) mlx5_function_disable(dev, boot); + else + mlx5_stop_health_poll(dev, boot); + return err; }