Skip to content

Commit 28abbfd

Browse files
Achiad Shochatdavem330
authored andcommitted
net/mlx5e: Remove redundant assignment of sq->user_index
It is not needed by the mlx5 Eth driver since it has a CQ per RQ/SQ. Signed-off-by: Achiad Shochat <[email protected]> Signed-off-by: Amir Vadai <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent a4418a6 commit 28abbfd

File tree

1 file changed

+0
-1
lines changed
  • drivers/net/ethernet/mellanox/mlx5/core

1 file changed

+0
-1
lines changed

drivers/net/ethernet/mellanox/mlx5/core/en_main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,6 @@ static int mlx5e_enable_sq(struct mlx5e_sq *sq, struct mlx5e_sq_param *param)
577577

578578
memcpy(sqc, param->sqc, sizeof(param->sqc));
579579

580-
MLX5_SET(sqc, sqc, user_index, sq->tc);
581580
MLX5_SET(sqc, sqc, tis_num_0, priv->tisn[sq->tc]);
582581
MLX5_SET(sqc, sqc, cqn, c->sq[sq->tc].cq.mcq.cqn);
583582
MLX5_SET(sqc, sqc, state, MLX5_SQC_STATE_RST);

0 commit comments

Comments
 (0)