diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2016-12-06 10:32:47 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-06 11:44:44 -0500 |
commit | 3c8591d593a3da9ae8e8342acb1f6ab9ab478e92 (patch) | |
tree | 305fd571f2b5e223cabe1641a94583de9e10c2b5 | |
parent | b8335d91b472289939e26428dfa88c54aee3b739 (diff) |
net/mlx5e: Don't flush SQ on error
We are doing SQ descriptors cleanup in driver.
Fixes: 6e8dd6d6f4bd ("net/mlx5e: Don't wait for SQ completions on close")
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c index 84e8b250e2af..5bf7f86fe31c 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c | |||
@@ -1006,7 +1006,6 @@ static int mlx5e_enable_sq(struct mlx5e_sq *sq, struct mlx5e_sq_param *param) | |||
1006 | MLX5_SET(sqc, sqc, min_wqe_inline_mode, sq->min_inline_mode); | 1006 | MLX5_SET(sqc, sqc, min_wqe_inline_mode, sq->min_inline_mode); |
1007 | MLX5_SET(sqc, sqc, state, MLX5_SQC_STATE_RST); | 1007 | MLX5_SET(sqc, sqc, state, MLX5_SQC_STATE_RST); |
1008 | MLX5_SET(sqc, sqc, tis_lst_sz, param->type == MLX5E_SQ_ICO ? 0 : 1); | 1008 | MLX5_SET(sqc, sqc, tis_lst_sz, param->type == MLX5E_SQ_ICO ? 0 : 1); |
1009 | MLX5_SET(sqc, sqc, flush_in_error_en, 1); | ||
1010 | 1009 | ||
1011 | MLX5_SET(wq, wq, wq_type, MLX5_WQ_TYPE_CYCLIC); | 1010 | MLX5_SET(wq, wq, wq_type, MLX5_WQ_TYPE_CYCLIC); |
1012 | MLX5_SET(wq, wq, uar_page, sq->uar.index); | 1011 | MLX5_SET(wq, wq, uar_page, sq->uar.index); |