Re: [PATCH RESEND v3] vdpa: reset the backend device in the end of vhost_net_stop()

2022-03-31 Thread Michael Qiu
On 2022/4/1 9:12, Si-Wei Liu worte: On 3/31/2022 2:25 AM, qiud...@archeros.com wrote: From: Michael Qiu Currently, when VM poweroff, it will trigger vdpa device(such as mlx bluefield2 VF) reset many times(with 1 datapath queue pair and one control queue, triggered 3 times), this leads to

Re: [PATCH RESEND v3] vdpa: reset the backend device in the end of vhost_net_stop()

2022-03-31 Thread Si-Wei Liu
On 3/31/2022 2:25 AM, qiud...@archeros.com wrote: From: Michael Qiu Currently, when VM poweroff, it will trigger vdpa device(such as mlx bluefield2 VF) reset many times(with 1 datapath queue pair and one control queue, triggered 3 times), this leads to below issue: vhost VQ 2 ring restore f

Re: [PATCH RESEND v3] vdpa: reset the backend device in the end of vhost_net_stop()

2022-03-31 Thread Michael S. Tsirkin
On Thu, Mar 31, 2022 at 06:19:37PM +0800, Michael Qiu wrote: > Hi, Jason > > Does it work this time? Nope. Just use git-send-email. -- MST

Re: [PATCH RESEND v3] vdpa: reset the backend device in the end of vhost_net_stop()

2022-03-31 Thread Michael Qiu
Hi, Jason Does it work this time? On 2022/3/31 17:25, qiud...@archeros.com wrote: From: Michael Qiu Currently, when VM poweroff, it will trigger vdpa device(such as mlx bluefield2 VF) reset many times(with 1 datapath queue pair and one control queue, triggered 3 times), this leads to below is

[PATCH RESEND v3] vdpa: reset the backend device in the end of vhost_net_stop()

2022-03-31 Thread qiudayu
From: Michael Qiu Currently, when VM poweroff, it will trigger vdpa device(such as mlx bluefield2 VF) reset many times(with 1 datapath queue pair and one control queue, triggered 3 times), this leads to below issue: vhost VQ 2 ring restore failed: -22: Invalid argument (22) This because in vhos