diff options
author | Zhu Lingshan <lingshan.zhu@intel.com> | 2020-07-31 14:55:31 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-08-05 11:08:42 -0400 |
commit | 2cf1ba9a4d15cb78b96ea97f727b93382c3f9a60 (patch) | |
tree | 6d2fa4bd5ae1238f4fd996cadb4c821f367d0be0 /drivers/vhost/Kconfig | |
parent | 7164675ab5caf46867d6a5448f4ff3af92d80a30 (diff) | |
download | lwn-2cf1ba9a4d15cb78b96ea97f727b93382c3f9a60.tar.gz lwn-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 'drivers/vhost/Kconfig')
-rw-r--r-- | drivers/vhost/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/vhost/Kconfig b/drivers/vhost/Kconfig index d3688c6afb87..587fbae06182 100644 --- a/drivers/vhost/Kconfig +++ b/drivers/vhost/Kconfig @@ -65,6 +65,7 @@ config VHOST_VDPA tristate "Vhost driver for vDPA-based backend" depends on EVENTFD select VHOST + select IRQ_BYPASS_MANAGER depends on VDPA help This kernel module can be loaded in host kernel to accelerate |