vDPA: introduce get_vq_size to vdpa_config_ops
authorZhu Lingshan <lingshan.zhu@intel.com>
Fri, 2 Feb 2024 16:38:57 +0000 (00:38 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 19 Mar 2024 06:45:50 +0000 (02:45 -0400)
commit0a926fc972532788719fd03c4a44724ec23c1875
tree32806022811e5268671aba991e87a92e532a32b7
parent1496c47065f9f8413296780c63374daee9bdae20
vDPA: introduce get_vq_size to vdpa_config_ops

This commit introduces a new interface get_vq_size to
vDPA config ops, this new interface intends to report
the size of a specific virtqueue

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Message-Id: <20240202163905.8834-3-lingshan.zhu@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/vdpa.c
include/linux/vdpa.h