]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
vdpa_sim: implement vdpa_config_ops.get_vq_size for vDPA simulator
authorZhu Lingshan <lingshan.zhu@intel.com>
Fri, 2 Feb 2024 16:39:01 +0000 (00:39 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 19 Mar 2024 06:45:50 +0000 (02:45 -0400)
commitf6fa2f7ea07db70d883a9f8944e6119c10934c5f
tree34166dc71f30777fc073f9ebe860810f99c2d40e
parent1da13e647012a8034420915bf6fcb9db37d41fc3
vdpa_sim: implement vdpa_config_ops.get_vq_size for vDPA simulator

This commit implements vdpa_config_ops.get_vq_size for vDPA
simulator, this new interface can help report per vq size.

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