Thread (5 messages) 5 messages, 2 authors, 2021-10-30

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

From: Maxime Coquelin <hidden>
Date: 2021-10-29 09:36:28


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 following patch to fix a partial
unmap check in vfio unmapping API.
[1] https://www.mail-archive.com/dev@dpdk.org/msg226464.html

Cc: anatoly.burakov@intel.com

Signed-off-by: Xuan Ding <redacted>
---
v2:
* Fix a typo in commit log.
---
  lib/vhost/vhost.h      |  3 --
  lib/vhost/vhost_user.c | 70 ++++++++----------------------------------
  2 files changed, 13 insertions(+), 60 deletions(-)
Reviewed-by: Maxime Coquelin <redacted>

Thanks,
Maxime
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help