virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] vdpa/mlx5: Clear ready indication for control VQ
       [not found] <20210909063652.46880-1-elic@nvidia.com>
@ 2021-09-14  2:52 ` Jason Wang
  0 siblings, 0 replies; only message in thread
From: Jason Wang @ 2021-09-14  2:52 UTC (permalink / raw)
  To: Eli Cohen; +Cc: eperezma, virtualization, mst

On Thu, Sep 9, 2021 at 2:37 PM Eli Cohen <elic@nvidia.com> wrote:
>
> When clearing VQs ready indication for the data VQs, do the same for the
> control VQ.
>
> Fixes: 5262912ef3cf ("vdpa/mlx5: Add support for control VQ and MAC setting")
> Signed-off-by: Eli Cohen <elic@nvidia.com>
> ---
>  drivers/vdpa/mlx5/net/mlx5_vnet.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/vdpa/mlx5/net/mlx5_vnet.c b/drivers/vdpa/mlx5/net/mlx5_vnet.c
> index 294ba05e6fc9..64dfd0f500d2 100644
> --- a/drivers/vdpa/mlx5/net/mlx5_vnet.c
> +++ b/drivers/vdpa/mlx5/net/mlx5_vnet.c
> @@ -2145,6 +2145,8 @@ static void clear_vqs_ready(struct mlx5_vdpa_net *ndev)
>
>         for (i = 0; i < ndev->mvdev.max_vqs; i++)
>                 ndev->vqs[i].ready = false;
> +
> +       ndev->mvdev.cvq.ready = false;
>  }
>

Acked-by: Jason Wang <jasowang@redhat.com>

>  static void mlx5_vdpa_set_status(struct vdpa_device *vdev, u8 status)
> --
> 2.32.0
>

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-14  2:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210909063652.46880-1-elic@nvidia.com>
2021-09-14  2:52 ` [PATCH] vdpa/mlx5: Clear ready indication for control VQ Jason Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).