[PATCH] vdpa/ifc: improve device stop logic for block device

Maxime Coquelin maxime.coquelin at redhat.com
Fri Feb 3 15:55:48 CET 2023



On 12/13/22 08:37, Andy Pei wrote:
> For block device, we make sure no IO is inflight before we
> stop device. We terminate the notify relay process and wait
> for all inflight IOs to be completed. So in this period, we
> wait for hardware to update used index, there is no need to
> relay new kick.
> 
> Signed-off-by: Andy Pei <andy.pei at intel.com>
> ---
>   drivers/vdpa/ifc/ifcvf_vdpa.c | 6 +-----
>   1 file changed, 1 insertion(+), 5 deletions(-)
> 

Applied to dpdk-next-virtio/main.

Thanks,
Maxime



More information about the dev mailing list