Re: [PATCH v2] net/vhost: fix deadlock on vring state change

2022-07-01 Thread Maxime Coquelin
On 6/27/22 07:51, Yuan Wang wrote: If vring state changes after pmd starts working, the locked vring notifies pmd, thus calling update_queuing_status(), the latter will wait for pmd to finish accessing vring, while pmd is also waiting for vring to be unlocked, thus causing deadlock. Actually,

RE: [PATCH v2] net/vhost: fix deadlock on vring state change

2022-07-01 Thread Xia, Chenbo
> -Original Message- > From: Wang, YuanX > Sent: Monday, June 27, 2022 1:51 PM > To: maxime.coque...@redhat.com; Xia, Chenbo ; > dev@dpdk.org > Cc: Hu, Jiayu ; He, Xingguang ; > Jiang, Cheng1 ; Ling, WeiX ; > Wang, YuanX ; sta...@dpdk.org > Subject: [PATCH v2] net/vhost: fix deadlock on vr