Re: [dpdk-dev] [PATCH v2] vhost: remove async dma map status

2021-10-30 Thread Ding, Xuan
Hi Maxime, >-Original Message- >From: Maxime Coquelin >Sent: Friday, October 29, 2021 6:36 PM >To: Ding, Xuan ; dev@dpdk.org; Xia, Chenbo > >Cc: Hu, Jiayu ; Burakov, Anatoly > >Subject: Re: [PATCH v2] vhost: remove async dma map status > > > >On 10/27/21 12:00, Xuan Ding wrote: >> Async d

Re: [dpdk-dev] [PATCH v2] vhost: remove async dma map status

2021-10-29 Thread Maxime Coquelin
On 10/27/21 12:00, Xuan Ding wrote: Async dma map status flag was added to prevent the unnecessary unmap when DMA devices bound to kernel driver. This brings maintenance cost for a lot of code. This patch removes the dma map status by using rte_errno instead. This patch relies on the followin

Re: [dpdk-dev] [PATCH v2] vhost: remove async dma map status

2021-10-29 Thread Maxime Coquelin
On 10/27/21 12:00, Xuan Ding wrote: Async dma map status flag was added to prevent the unnecessary unmap when DMA devices bound to kernel driver. This brings maintenance cost for a lot of code. This patch removes the dma map status by using rte_errno instead. This patch relies on the followin

[dpdk-dev] [PATCH v2] vhost: remove async dma map status

2021-10-27 Thread Xuan Ding
Async dma map status flag was added to prevent the unnecessary unmap when DMA devices bound to kernel driver. This brings maintenance cost for a lot of code. This patch removes the dma map status by using rte_errno instead. This patch relies on the following patch to fix a partial unmap check in v