Hi,

From: Alexander Kozyrev <[email protected]>
Sent: Monday, October 28, 2024 7:17 PM
To: [email protected]
Cc: [email protected]; Raslan Darawsheh; Slava Ovsiienko; Matan Azrad; Dariusz 
Sosnowski; Bing Zhao; Suanming Mou
Subject: [PATCH v3] drivers: fix error CQE handling for 128 bytes CQE

The completion queue element size can be independently configured
to report either 64 or 128 bytes CQEs by programming cqe_sz parameter
at CQ creation. This parameter depends on the cache line size and
affects both regular CQEs and error CQEs. But the error handling
assumes that an error CQE is 64 bytes and doesn't take the padding
into consideration on platforms with 128-byte cache lines.
Fix the error CQE size in all error handling routines in mlx5.

Fixes: 957e45fb7b ("net/mlx5: handle Tx completion with error")
Cc: [email protected]

Signed-off-by: Alexander Kozyrev <[email protected]>
Acked-by: Viacheslav Ovsiienko <[email protected]>

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

Reply via email to