Re: [PATCH vhost v4 13/15] vdpa/mlx5: Use vq suspend/resume during .set_map

From: Jason Wang
Date: Tue Dec 19 2023 - 22:49:11 EST


On Wed, Dec 20, 2023 at 2:10 AM Dragos Tatulea <dtatulea@xxxxxxxxxx> wrote:
>
> Instead of tearing down and setting up vq resources, use vq
> suspend/resume during .set_map to speed things up a bit.
>
> The vq mr is updated with the new mapping while the vqs are suspended.
>
> If the device doesn't support resumable vqs, do the old teardown and
> setup dance.
>
> Reviewed-by: Gal Pressman <gal@xxxxxxxxxx>
> Acked-by: Eugenio Pérez <eperezma@xxxxxxxxxx>
> Signed-off-by: Dragos Tatulea <dtatulea@xxxxxxxxxx>
> ---

Acked-by: Jason Wang <jasowang@xxxxxxxxxx>

Thanks