vDPA: dont change vq irq after DRIVER_OK
authorZhu Lingshan <lingshan.zhu@intel.com>
Tue, 4 Aug 2020 10:21:23 +0000 (18:21 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 5 Aug 2020 15:08:42 +0000 (11:08 -0400)
commit4c05433bc6fb4ae172270f0279be8ba89a3da64f
treee1cffc9077732263aad0fa30a7a7f64c6b67ef01
parent46af9adefd2fd44afa9e8a5020c520812151f849
vDPA: dont change vq irq after DRIVER_OK

IRQ of a vq is not expected to be changed in a DRIVER_OK ~ !DRIVER_OK
period for irq offloading purposes. Place this comment at the side of
bus ops get_vq_irq than in set_status in vhost_vdpa.

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Link: https://lore.kernel.org/r/20200804102123.69978-1-lingshan.zhu@intel.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/vdpa.c
include/linux/vdpa.h