linux/drivers/vdpa
Eli Cohen 879753c816 vdpa/mlx5: Fix queue type selection logic
get_queue_type() comments that splict virtqueue is preferred, however,
the actual logic preferred packed virtqueues. Since firmware has not
supported packed virtqueues we ended up using split virtqueues as was
desired.

Since we do not advertise support for packed virtqueues, we add a check
to verify split virtqueues are indeed supported.

Fixes: 1a86b377aa ("vdpa/mlx5: Add VDPA driver for supported mlx5 devices")
Signed-off-by: Eli Cohen <elic@nvidia.com>
Link: https://lore.kernel.org/r/20210811053759.66752-1-elic@nvidia.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2021-08-11 06:44:43 -04:00
..
ifcvf vDPA/ifcvf: Fix return value check for vdpa_alloc_device() 2021-08-11 06:44:23 -04:00
mlx5 vdpa/mlx5: Fix queue type selection logic 2021-08-11 06:44:43 -04:00
vdpa_sim vdpa_sim: Fix return value check for vdpa_alloc_device() 2021-08-11 06:44:23 -04:00
virtio_pci vp_vdpa: Fix return value check for vdpa_alloc_device() 2021-08-11 06:44:23 -04:00
Kconfig vdpa: add vdpa simulator for block device 2021-05-03 04:55:53 -04:00
Makefile vdpa: introduce virtio pci driver 2021-05-03 04:55:51 -04:00
vdpa.c vdpa: Follow kdoc comment style 2021-05-03 04:55:51 -04:00