linux_dsm_epyc7002/drivers/vdpa/mlx5
Si-Wei Liu 3176e974a7 vdpa/mlx5: should keep avail_index despite device status
A VM with mlx5 vDPA has below warnings while being reset:

vhost VQ 0 ring restore failed: -1: Resource temporarily unavailable (11)
vhost VQ 1 ring restore failed: -1: Resource temporarily unavailable (11)

We should allow userspace emulating the virtio device be
able to get to vq's avail_index, regardless of vDPA device
status. Save the index that was last seen when virtq was
stopped, so that userspace doesn't complain.

Signed-off-by: Si-Wei Liu <si-wei.liu@oracle.com>
Link: https://lore.kernel.org/r/1601583511-15138-1-git-send-email-si-wei.liu@oracle.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Eli Cohen <elic@nvidia.com>
2020-10-08 16:02:00 -04:00
..
core vdpa/mlx5: Fix uninitialised variable in core/mr.c 2020-08-10 09:01:21 -04:00
net vdpa/mlx5: should keep avail_index despite device status 2020-10-08 16:02:00 -04:00
Makefile vdpa/mlx5: Add VDPA driver for supported mlx5 devices 2020-08-05 19:00:24 -04:00