vDPA/ifcvf: record virtio notify base
authorZhu Lingshan <lingshan.zhu@intel.com>
Wed, 2 Jun 2021 08:45:49 +0000 (16:45 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 3 Jul 2021 08:50:51 +0000 (04:50 -0400)
commit04c6ad8f22da9394687d30a0d5b5477c075e2833
tree661e8a427a769dbddafb1760ed7d013465ee75da
parente22626a876a086e1ce268ab31d1826dfc4c77550
vDPA/ifcvf: record virtio notify base

This commit records virtio notify base physical addr and
calculate doorbell physical address for vqs.

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20210602084550.289599-2-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