On Thu, Sep 9, 2021 at 2:37 PM Eli Cohen <[email protected]> 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 <[email protected]> > --- > 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 <[email protected]> > static void mlx5_vdpa_set_status(struct vdpa_device *vdev, u8 status) > -- > 2.32.0 > _______________________________________________ Virtualization mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/virtualization
