Skip to content

Commit 2462c1b

Browse files
kliteynkuba-moo
authored andcommitted
net/mlx5: HWS, fix bad parameter in CQ creation
'cqe_sz' valid value should be 0 for 64-byte CQE. Fixes: 2ca6259 ("net/mlx5: HWS, added send engine and context handling") Signed-off-by: Yevgeny Kliteynik <[email protected]> Reviewed-by: Vlad Dogaru <[email protected]> Signed-off-by: Mark Bloch <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent d9cef55 commit 2462c1b

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • drivers/net/ethernet/mellanox/mlx5/core/steering/hws

drivers/net/ethernet/mellanox/mlx5/core/steering/hws/send.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,6 @@ static int hws_send_ring_open_cq(struct mlx5_core_dev *mdev,
964964
return -ENOMEM;
965965

966966
MLX5_SET(cqc, cqc_data, uar_page, mdev->priv.uar->index);
967-
MLX5_SET(cqc, cqc_data, cqe_sz, queue->num_entries);
968967
MLX5_SET(cqc, cqc_data, log_cq_size, ilog2(queue->num_entries));
969968

970969
err = hws_send_ring_alloc_cq(mdev, numa_node, queue, cqc_data, cq);

0 commit comments

Comments
 (0)