RE: [RFC PATCH v2 4/9] vhost: fix async access

2022-04-03 Thread Pai G, Sunil
> -Original Message- > From: David Marchand > Sent: Wednesday, March 30, 2022 7:20 PM > To: dev@dpdk.org > Cc: maxime.coque...@redhat.com; Xia, Chenbo ; Hu, > Jiayu ; Wang, YuanX ; Ding, Xuan > ; sta...@dpdk.org; Patrick Fu > Subject: [RFC PATCH v2 4/9] vhost: fix async access > > vq->

RE: [RFC PATCH v2 4/9] vhost: fix async access

2022-03-31 Thread Hu, Jiayu
> -Original Message- > From: Maxime Coquelin > Sent: Thursday, March 31, 2022 4:00 PM > To: David Marchand ; dev@dpdk.org > Cc: Xia, Chenbo ; Hu, Jiayu ; > Wang, YuanX ; Ding, Xuan ; > sta...@dpdk.org; Patrick Fu > Subject: Re: [RFC PATCH v2 4/9] vhost: fix as

Re: [RFC PATCH v2 4/9] vhost: fix async access

2022-03-31 Thread Maxime Coquelin
Hi Jiayu, On 3/30/22 15:49, David Marchand wrote: vq->async accesses must be protected with vq->access_lock. Fixes: eb666d24085f ("vhost: fix async unregister deadlock") Fixes: 0c0935c5f794 ("vhost: allow to check in-flight packets for async vhost") Cc: sta...@dpdk.org Signed-off-by: David Mar