[PATCH 21.11] net/mlx5: fix MPRQ stride size to accommodate the headroom
Kevin Traynor
ktraynor at redhat.com
Wed Nov 8 20:03:46 CET 2023
On 02/11/2023 16:08, Alexander Kozyrev wrote:
> [ upstream commit e6479f009fbd9c8e873807cc928dcf91a151aba9 ]
>
> The 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.
>
> Fixes: 34776af600 ("net/mlx5: fix MPRQ stride devargs adjustment")
>
> Signed-off-by: Alexander Kozyrev<akozyrev at nvidia.com>
> Acked-by: Viacheslav Ovsiienko<viacheslavo at nvidia.com>
> ---
> drivers/net/mlx5/linux/mlx5_os.c | 2 ++
> drivers/net/mlx5/mlx5_rxq.c | 26 ++++++++++++++++++++++----
> 2 files changed, 24 insertions(+), 4 deletions(-)
Applied to 21.11 branch, thanks.
More information about the stable
mailing list