Thread (40 messages) 40 messages, 6 authors, 2021-10-21

Re: [dpdk-dev] [PATCH v6 2/2] vhost: enable IOMMU for async vhost

From: Hu, Jiayu <hidden>
Date: 2021-09-30 05:19:24

-----Original Message-----
From: Ding, Xuan <redacted>
Sent: Wednesday, September 29, 2021 10:41 AM
To: dev@dpdk.org; Burakov, Anatoly <redacted>;
maxime.coquelin@redhat.com; Xia, Chenbo [off-list ref]
Cc: Hu, Jiayu <redacted>; Jiang, Cheng1 <redacted>;
Richardson, Bruce [off-list ref]; Pai G, Sunil
[off-list ref]; Wang, Yinan [off-list ref]; Yang,
YvonneX [off-list ref]; Ding, Xuan [off-list ref]
Subject: [PATCH v6 2/2] vhost: enable IOMMU for async vhost

The use of IOMMU has many advantages, such as isolation and address
translation. This patch extends the capbility of DMA engine to use IOMMU if
the DMA engine is bound to vfio.

When set memory table, the guest memory will be mapped into the default
container of DPDK.

Signed-off-by: Xuan Ding <redacted>
---
 lib/vhost/vhost.h      |   4 ++
 lib/vhost/vhost_user.c | 116
++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 118 insertions(+), 2 deletions(-)
Reviewed-by: Jiayu Hu <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help