diff options
author | Alaa Hleihel <alaa@mellanox.com> | 2018-02-01 14:34:35 +0100 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-03-31 01:16:17 +0200 |
commit | 6c75062823d8aa340615962bf261187bafa8d795 (patch) | |
tree | 37a22cd93d134b4c33a6622a6cdf75ab95e2802c | |
parent | net/mlx5: Eliminate query xsrq dead code (diff) | |
download | linux-6c75062823d8aa340615962bf261187bafa8d795.tar.xz linux-6c75062823d8aa340615962bf261187bafa8d795.zip |
net/mlx5: Change teardown with force mode failure message to warning
With ConnectX-4, we expect the force teardown to fail in case that
DC was enabled, therefore change the message from error to warning.
Signed-off-by: Alaa Hleihel <alaa@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/fw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/fw.c b/drivers/net/ethernet/mellanox/mlx5/core/fw.c index d7bb10ab2173..70066975f1b5 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/fw.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/fw.c @@ -245,7 +245,7 @@ int mlx5_cmd_force_teardown_hca(struct mlx5_core_dev *dev) force_state = MLX5_GET(teardown_hca_out, out, force_state); if (force_state == MLX5_TEARDOWN_HCA_OUT_FORCE_STATE_FAIL) { - mlx5_core_err(dev, "teardown with force mode failed\n"); + mlx5_core_warn(dev, "teardown with force mode failed, doing normal teardown\n"); return -EIO; } |