vduse: implement vdpa_config_ops.get_vq_size for vduse
authorZhu Lingshan <lingshan.zhu@intel.com>
Fri, 2 Feb 2024 16:39:02 +0000 (00:39 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 19 Mar 2024 06:45:50 +0000 (02:45 -0400)
commit47e62e6d62fcae0a00b9f00228c458661595b380
treea85abfa3346c383aefdd142c9effd95431e51954
parentf6fa2f7ea07db70d883a9f8944e6119c10934c5f
vduse: implement vdpa_config_ops.get_vq_size for vduse

This commit implements get_vq_size for vdpa_config_ops. This
new interface is used to report per vq size.

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Message-Id: <20240202163905.8834-8-lingshan.zhu@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/vdpa_user/vduse_dev.c