vDPA/ifcvf: synchronize irqs in the reset routine
authorZhu Lingshan <lingshan.zhu@intel.com>
Fri, 26 May 2023 14:52:53 +0000 (22:52 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 27 Jun 2023 14:47:07 +0000 (10:47 -0400)
commit386a26208524dc9db5d6b01be4b8358a551dda42
tree12cbf0b05b32f4a4442b356e884f0f90d1462a8e
parentaeb5ef30bbcc2a4c605f7d44f088113a073c0224
vDPA/ifcvf: synchronize irqs in the reset routine

This commit synchronize irqs of the virtqueues
and config space in the reset routine.
Thus ifcvf_stop() and reset() are refactored as well.
This commit renames ifcvf_stop_hw() to ifcvf_stop()

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20230526145254.39537-5-lingshan.zhu@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/ifcvf/ifcvf_base.c
drivers/vdpa/ifcvf/ifcvf_base.h
drivers/vdpa/ifcvf/ifcvf_main.c