diff options
author | Zhu Lingshan <lingshan.zhu@intel.com> | 2020-07-31 08:55:31 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-08-05 17:08:42 +0200 |
commit | 2cf1ba9a4d15cb78b96ea97f727b93382c3f9a60 (patch) | |
tree | 6d2fa4bd5ae1238f4fd996cadb4c821f367d0be0 /lib/locking-selftest-hardirq.h | |
parent | vDPA: add get_vq_irq() in vdpa_config_ops (diff) | |
download | linux-2cf1ba9a4d15cb78b96ea97f727b93382c3f9a60.tar.xz linux-2cf1ba9a4d15cb78b96ea97f727b93382c3f9a60.zip |
vhost_vdpa: implement IRQ offloading in vhost_vdpa
This patch introduce a set of functions for setup/unsetup
and update irq offloading respectively by register/unregister
and re-register the irq_bypass_producer.
With these functions, this commit can setup/unsetup
irq offloading through setting DRIVER_OK/!DRIVER_OK, and
update irq offloading through SET_VRING_CALL.
Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Suggested-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20200731065533.4144-5-lingshan.zhu@intel.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'lib/locking-selftest-hardirq.h')
0 files changed, 0 insertions, 0 deletions