OSDN Git Service

vDPA/ifcvf: implement doorbell mapping for ifcvf
authorZhu Lingshan <lingshan.zhu@intel.com>
Wed, 2 Jun 2021 08:45:50 +0000 (16:45 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 3 Jul 2021 08:50:51 +0000 (04:50 -0400)
commit5f1b73a275f8c0ec03b46b01990e93d6dac30848
treed0809e1699c00720053fbb34d2be3e4c45c98a37
parent04c6ad8f22da9394687d30a0d5b5477c075e2833
vDPA/ifcvf: implement doorbell mapping for ifcvf

This commit implements doorbell mapping feature for ifcvf.
This feature maps the notify page to userspace, to eliminate
vmexit when kick a vq.

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Link: https://lore.kernel.org/r/20210602084550.289599-3-lingshan.zhu@intel.com
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/ifcvf/ifcvf_main.c