vdpa: Add eventfd for the vdpa callback
authorXie Yongji <xieyongji@bytedance.com>
Thu, 23 Mar 2023 05:30:40 +0000 (13:30 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 21 Apr 2023 07:02:32 +0000 (03:02 -0400)
commit5e68470f4e80a4120e9ecec408f6ab4ad386bd4a
tree96ef6b18eba82fe988ae0273e4b632cb41b5171e
parent66640f4a6fcc1861d1b1f9b36b65a218064f263f
vdpa: Add eventfd for the vdpa callback

Add eventfd for the vdpa callback so that user
can signal it directly instead of triggering the
callback. It will be used for vhost-vdpa case.

Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Message-Id: <20230323053043.35-9-xieyongji@bytedance.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
drivers/vhost/vdpa.c
drivers/virtio/virtio_vdpa.c
include/linux/vdpa.h