Re: [dpdk-dev] [PATCH 0/2] provide thread unsafe async registration functions

2021-07-01 Thread Hu, Jiayu
> -Original Message- > From: Maxime Coquelin > Sent: Thursday, July 1, 2021 11:43 PM > To: Hu, Jiayu ; Maxime Coquelin > ; dev@dpdk.org > Cc: Xia, Chenbo ; Wang, Yinan > ; David Marchand > Subject: Re: [PATCH 0/2] provide thread unsafe async registration functions > > Hi Jiayu, > > On

Re: [dpdk-dev] [PATCH 0/2] provide thread unsafe async registration functions

2021-07-01 Thread Maxime Coquelin
Hi Jiayu, On 6/29/21 7:36 AM, Hu, Jiayu wrote: > Hi Maxime, > >> -Original Message- >> From: Maxime Coquelin >> Sent: Monday, June 7, 2021 9:20 PM >> To: Hu, Jiayu ; dev@dpdk.org >> Cc: maxime.coque...@redhat.com; Xia, Chenbo ; >> Wang, Yinan >> Subject: Re: [PATCH 0/2] provide thread u

Re: [dpdk-dev] [PATCH 0/2] provide thread unsafe async registration functions

2021-06-28 Thread Hu, Jiayu
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Monday, June 7, 2021 9:20 PM > To: Hu, Jiayu ; dev@dpdk.org > Cc: maxime.coque...@redhat.com; Xia, Chenbo ; > Wang, Yinan > Subject: Re: [PATCH 0/2] provide thread unsafe async registration functions > > Hi Jiayu, > > On 6

Re: [dpdk-dev] [PATCH 0/2] provide thread unsafe async registration functions

2021-06-07 Thread Hu, Jiayu
> -Original Message- > From: Maxime Coquelin > Sent: Monday, June 7, 2021 9:20 PM > To: Hu, Jiayu ; dev@dpdk.org > Cc: maxime.coque...@redhat.com; Xia, Chenbo ; > Wang, Yinan > Subject: Re: [PATCH 0/2] provide thread unsafe async registration functions > > Hi Jiayu, > > On 6/7/21 10:0

Re: [dpdk-dev] [PATCH 0/2] provide thread unsafe async registration functions

2021-06-07 Thread Maxime Coquelin
Hi Jiayu, On 6/7/21 10:07 AM, Hu, Jiayu wrote: > Hi Maxime, > >> -Original Message- >> From: Maxime Coquelin >> Sent: Friday, June 4, 2021 3:25 PM >> To: Hu, Jiayu ; dev@dpdk.org >> Cc: maxime.coque...@redhat.com; Xia, Chenbo ; >> Wang, Yinan >> Subject: Re: [PATCH 0/2] provide thread u

Re: [dpdk-dev] [PATCH 0/2] provide thread unsafe async registration functions

2021-06-07 Thread Hu, Jiayu
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Friday, June 4, 2021 3:25 PM > To: Hu, Jiayu ; dev@dpdk.org > Cc: maxime.coque...@redhat.com; Xia, Chenbo ; > Wang, Yinan > Subject: Re: [PATCH 0/2] provide thread unsafe async registration functions > > Sorry, for previous

Re: [dpdk-dev] [PATCH 0/2] provide thread unsafe async registration functions

2021-06-04 Thread Maxime Coquelin
Sorry, for previous blank reply. On 5/28/21 10:11 AM, Jiayu Hu wrote: > Lock protection is needed during the vhost notifies the application of > device readiness, so the first patch is to add lock protection. After > performing locking, existed async vhost registration functions will cause > deadl

Re: [dpdk-dev] [PATCH 0/2] provide thread unsafe async registration functions

2021-06-04 Thread Maxime Coquelin
On 5/28/21 10:11 AM, Jiayu Hu wrote: > Lock protection is needed during the vhost notifies the application of > device readiness, so the first patch is to add lock protection. After > performing locking, existed async vhost registration functions will cause > deadlock, as they acquire lock too.

[dpdk-dev] [PATCH 0/2] provide thread unsafe async registration functions

2021-05-27 Thread Jiayu Hu
Lock protection is needed during the vhost notifies the application of device readiness, so the first patch is to add lock protection. After performing locking, existed async vhost registration functions will cause deadlock, as they acquire lock too. So the second patch is to provide unsafe registr