Re: [PATCH vhost 2/2] vdpa/mlx5: Fix suboptimal range on iotlb iteration
From: Jason Wang
Date: Fri Oct 25 2024 - 04:43:05 EST
On Mon, Oct 21, 2024 at 9:41 PM Dragos Tatulea <dtatulea@xxxxxxxxxx> wrote:
>
> From: Si-Wei Liu <si-wei.liu@xxxxxxxxxx>
>
> The starting iova address to iterate iotlb map entry within a range
> was set to an irrelevant value when passing to the itree_next()
> iterator, although luckily it doesn't affect the outcome of finding
> out the granule of the smallest iotlb map size. Fix the code to make
> it consistent with the following for-loop.
>
> Fixes: 94abbccdf291 ("vdpa/mlx5: Add shared memory registration code")
> Signed-off-by: Si-Wei Liu <si-wei.liu@xxxxxxxxxx>
> Signed-off-by: Dragos Tatulea <dtatulea@xxxxxxxxxx>
> ---
Acked-by: Jason Wang <jasowang@xxxxxxxxxx>
Thanks