net/mlx5: fix MPRQ stride size to accommodate the headroom
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Slava Ovsiienko
Acked-byQuoted 17 lines
-----Original Message-----
From: Alexander Kozyrev <[email protected]>
Sent: Wednesday, May 31, 2023 10:00 PM
To: [email protected]
Cc: [email protected]; Raslan Darawsheh <[email protected]>; Slava Ovsiienko <[email protected]>; Matan Azrad <[email protected]>; Michael Baum <[email protected]>
Subject: [PATCH v2] net/mlx5: fix MPRQ stride size to accommodate the headroomThe space for the headroom is reserved at the end of every MPRQ stride for the next packet. The Rx burst logic is to copy any overlapping packet data if there is an overlap with this reserved headroom space.
But it is not possible if the headroom size is bigger than the whole stride. Adjust the stride size to make sure the stride size is greater than the headroom size.
Quoted 3 lines
Fixes 34776af600df ("net/mlx5: fix MPRQ stride devargs adjustment")Signed-off-by Alexander Kozyrev <[email protected]>
Hi,
Quoted 17 lines
-----Original Message-----
From: Alexander Kozyrev <[email protected]>
Sent: Wednesday, May 31, 2023 10:00 PM
To: [email protected]
Cc: [email protected]; Raslan Darawsheh <[email protected]>; Slava Ovsiienko <[email protected]>; Matan Azrad <[email protected]>; Michael Baum <[email protected]>
Subject: [PATCH v2] net/mlx5: fix MPRQ stride size to accommodate the headroomThe space for the headroom is reserved at the end of every MPRQ stride for the next packet. The Rx burst logic is to copy any overlapping packet data if there is an overlap with this reserved headroom space.
But it is not possible if the headroom size is bigger than the whole stride. Adjust the stride size to make sure the stride size is greater than the headroom size.
Quoted 4 lines
Fixes 34776af600df ("net/mlx5: fix MPRQ stride devargs adjustment")Signed-off-by Alexander Kozyrev <[email protected]>---
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh