vDPA/ifcvf: implement vdpa_config_ops.get_vq_size
authorZhu Lingshan <lingshan.zhu@intel.com>
Fri, 2 Feb 2024 16:38:58 +0000 (00:38 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 19 Mar 2024 06:45:50 +0000 (02:45 -0400)
commit36503e5e06a986ae9dbf042589d0ef6e4cbfe15a
tree9c3cdd85cd06d050665f4429d0fd8ccaf4d7cb02
parent0a926fc972532788719fd03c4a44724ec23c1875
vDPA/ifcvf: implement vdpa_config_ops.get_vq_size

This commit implements vdpa_ops.get_vq_size to report
the size of a specific virtqueue.

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Message-Id: <20240202163905.8834-4-lingshan.zhu@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/ifcvf/ifcvf_base.c
drivers/vdpa/ifcvf/ifcvf_base.h
drivers/vdpa/ifcvf/ifcvf_main.c