[PATCH] common/mlx5: fix MR range calculation
Raslan Darawsheh
rasland at nvidia.com
Tue Apr 12 10:08:41 CEST 2022
Hi,
> -----Original Message-----
> From: Dmitry Kozlyuk <dkozlyuk at nvidia.com>
> Sent: Thursday, March 31, 2022 5:33 PM
> To: dev at dpdk.org
> Cc: stable at dpdk.org; Matan Azrad <matan at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>
> Subject: [PATCH] common/mlx5: fix MR range calculation
>
> MR end for a mempool chunk may be calculated incorrectly.
> For example, for chunk with addr=1.5M and len=1M with 2M page size the
> range would be [0, 2M), while the proper result is [0, 4M).
> Fix the calculation.
>
> Fixes: 690b2a88c2f7 ("common/mlx5: add mempool registration facilities")
> Cc: stable at dpdk.org
>
> Signed-off-by: Dmitry Kozlyuk <dkozlyuk at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
More information about the stable
mailing list