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

2021-07-20 Thread Xia, Chenbo
> -Original Message- > From: Hu, Jiayu > Sent: Monday, July 19, 2021 11:01 PM > To: dev@dpdk.org > Cc: maxime.coque...@redhat.com; Xia, Chenbo ; Hu, Jiayu > > Subject: [PATCH v6 0/3] provide thread unsafe async registration functions > > Lock protection is needed during the vhost notifie

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

2021-07-19 Thread Jiayu Hu
Lock protection is needed during the vhost notifies the application of device readiness, so the first patch adds lock protection. In addition, the second patch reworks async feature structure to improve readability. After performing locking, existed async vhost registration functions will cause dea