linux/drivers/vdpa
Dragos Tatulea 3b3adb3bbf vdpa/mlx5: Use suspend/resume during VQP change
Resume a VQ if it is already created when the number of VQ pairs
increases. This is done in preparation for VQ pre-creation which is
coming in a later patch. It is necessary because calling setup_vq() on
an already created VQ will return early and will not enable the queue.

For symmetry, suspend a VQ instead of tearing it down when the number of
VQ pairs decreases. But only if the resume operation is supported.

Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com>
Acked-by: Eugenio Pérez <eperezma@redhat.com>
Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Message-Id: <20240626-stage-vdpa-vq-precreate-v2-20-560c491078df@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2024-07-09 08:42:49 -04:00
..
alibaba eni_vdpa: implement vdpa_config_ops.get_vq_size 2024-03-19 02:45:50 -04:00
ifcvf vDPA: add missing MODULE_DESCRIPTION() macros 2024-07-09 08:42:41 -04:00
mlx5 vdpa/mlx5: Use suspend/resume during VQP change 2024-07-09 08:42:49 -04:00
octeon_ep virtio: vdpa: vDPA driver for Marvell OCTEON DPU devices 2024-07-09 08:42:39 -04:00
pds vdpa/pds: fixes for VF vdpa flr-aer handling 2024-03-19 02:45:49 -04:00
solidrun vdpa/snet: implement the resume vDPA callback 2023-06-27 10:47:08 -04:00
vdpa_sim vdpa_sim: implement vdpa_config_ops.get_vq_size for vDPA simulator 2024-03-19 02:45:50 -04:00
vdpa_user vduse: enable Virtio-net device type 2024-03-19 08:19:15 -04:00
virtio_pci vp_vdpa: don't allocate unused msix vectors 2024-05-22 08:31:18 -04:00
Kconfig virtio: vdpa: vDPA driver for Marvell OCTEON DPU devices 2024-07-09 08:42:39 -04:00
Makefile virtio: vdpa: vDPA driver for Marvell OCTEON DPU devices 2024-07-09 08:42:39 -04:00
vdpa.c vDPA: add missing MODULE_DESCRIPTION() macros 2024-07-09 08:42:41 -04:00