vdpa: introduce get_vq_notification method
authorJason Wang <jasowang@redhat.com>
Fri, 29 May 2020 08:03:00 +0000 (16:03 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 4 Jun 2020 19:36:51 +0000 (15:36 -0400)
commitc25a26e653a61b93339dcd1b734c889df60b3eef
tree34ce553accb68a73102bbd08ba1c54d8fa080982
parent5ce995f313ce56c0c62425c3ddc37c5c50fc33db
vdpa: introduce get_vq_notification method

This patch introduces a new method in the vdpa_config_ops which
reports the physical address and the size of the doorbell for a
specific virtqueue.

This will be used by the future patches that maps doorbell to
userspace.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20200529080303.15449-4-jasowang@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/linux/vdpa.h