Skip to content

Commit ef12e4b

Browse files
elic307imstsirkin
authored andcommitted
vdpa/mlx5: Clear ready indication for control VQ
When clearing VQs ready indication for the data VQs, do the same for the control VQ. Fixes: 5262912 ("vdpa/mlx5: Add support for control VQ and MAC setting") Signed-off-by: Eli Cohen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]> Acked-by: Jason Wang <[email protected]>
1 parent 7bb5fb2 commit ef12e4b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/vdpa/mlx5/net/mlx5_vnet.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2145,6 +2145,8 @@ static void clear_vqs_ready(struct mlx5_vdpa_net *ndev)
21452145

21462146
for (i = 0; i < ndev->mvdev.max_vqs; i++)
21472147
ndev->vqs[i].ready = false;
2148+
2149+
ndev->mvdev.cvq.ready = false;
21482150
}
21492151

21502152
static void mlx5_vdpa_set_status(struct vdpa_device *vdev, u8 status)

0 commit comments

Comments
 (0)