Skip to content

Commit 6c75062

Browse files
alaahlSaeed Mahameed
authored andcommitted
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 <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
1 parent b2d3907 commit 6c75062

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/fw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ int mlx5_cmd_force_teardown_hca(struct mlx5_core_dev *dev)
245245

246246
force_state = MLX5_GET(teardown_hca_out, out, force_state);
247247
if (force_state == MLX5_TEARDOWN_HCA_OUT_FORCE_STATE_FAIL) {
248-
mlx5_core_err(dev, "teardown with force mode failed\n");
248+
mlx5_core_warn(dev, "teardown with force mode failed, doing normal teardown\n");
249249
return -EIO;
250250
}
251251

0 commit comments

Comments
 (0)