Skip to content

Commit 748528f

Browse files
kliteyngregkh
authored andcommitted
net/mlx5: HWS, fix bad parameter in CQ creation
[ Upstream commit 2462c1b ] '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 <kliteyn@nvidia.com> Reviewed-by: Vlad Dogaru <vdogaru@nvidia.com> Signed-off-by: Mark Bloch <mbloch@nvidia.com> Link: https://patch.msgid.link/20250817202323.308604-2-mbloch@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 85545f1 commit 748528f

File tree

1 file changed

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

1 file changed

+0
-1
lines changed

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)