RE: [PATCH v7 1/2] vhost: introduce DMA vchannel unconfiguration

2022-10-21 Thread Ding, Xuan
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Friday, October 21, 2022 4:10 PM > To: Ding, Xuan ; Xia, Chenbo > Cc: dev@dpdk.org; Hu, Jiayu ; He, Xingguang > ; Yang, YvonneX ; > Jiang, Cheng1 ; Wang, YuanX > ; Ma, WenwuX > Subject: Re: [PAT

Re: [PATCH v7 1/2] vhost: introduce DMA vchannel unconfiguration

2022-10-21 Thread Maxime Coquelin
On 10/20/22 11:11, xuan.d...@intel.com wrote: From: Xuan Ding Add a new API rte_vhost_async_dma_unconfigure() to unconfigure DMA vchannels in vhost async data path. Lock protection are also added to protect DMA vchannels configuration and unconfiguration from concurrent calls. Signed-off-by

[PATCH v7 1/2] vhost: introduce DMA vchannel unconfiguration

2022-10-20 Thread xuan . ding
From: Xuan Ding Add a new API rte_vhost_async_dma_unconfigure() to unconfigure DMA vchannels in vhost async data path. Lock protection are also added to protect DMA vchannels configuration and unconfiguration from concurrent calls. Signed-off-by: Xuan Ding --- doc/guides/prog_guide/vhost_lib.r