linux/drivers/vdpa
Zhu Lingshan 56d61ae558 vDPA/ifcvf: implement vdpa_config_ops.get_vq_num_min
IFCVF HW supports operation with vq size less than the max size,
as the spec required.

This commit implements vdpa_config_ops.get_vq_num_min to report
the minimal size of the virtqueues, which gives vDPA framework
a chance to reduce the vring size.

We need at least one descriptor to be functional, but it is better
no less than 64 to meet ceratin performance requirements.
Actually the framework would allocate at least a PAGE for the vq.

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Message-Id: <20240202163905.8834-11-lingshan.zhu@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2024-03-19 02:45:50 -04:00
..
alibaba eni_vdpa: implement vdpa_config_ops.get_vq_size 2024-03-19 02:45:50 -04:00
ifcvf vDPA/ifcvf: implement vdpa_config_ops.get_vq_num_min 2024-03-19 02:45:50 -04:00
mlx5 vdpa/mlx5: Allow CVQ size changes 2024-03-19 02:45:49 -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: implement vdpa_config_ops.get_vq_size for vduse 2024-03-19 02:45:50 -04:00
virtio_pci vp_vdpa: implement vdpa_config_ops.get_vq_size 2024-03-19 02:45:50 -04:00
Kconfig pds_vdpa: pds_vdps.rst and Kconfig 2023-06-27 10:47:09 -04:00
Makefile pds_vdpa: Add new vDPA driver for AMD/Pensando DSC 2023-06-27 10:47:08 -04:00
vdpa.c vdpa: Remove usage of the deprecated ida_simple_xx() API 2023-12-27 16:10:38 -05:00