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

2021-09-26 Thread Ding, Xuan
Hi Jiayu, > -Original Message- > From: Hu, Jiayu > Sent: Monday, September 27, 2021 12:18 PM > To: Ding, Xuan ; dev@dpdk.org; Burakov, Anatoly > ; maxime.coque...@redhat.com; Xia, Chenbo > > Cc: Jiang, Cheng1 ; Richardson, Bruce > ; Pai G, Sunil ; Wang, > Yinan ; Yang, YvonneX > Subject

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

2021-09-26 Thread Hu, Jiayu
Hi Xuan, > -Original Message- > From: Ding, Xuan > Sent: Saturday, September 25, 2021 6:04 PM > To: dev@dpdk.org; Burakov, Anatoly ; > maxime.coque...@redhat.com; Xia, Chenbo > Cc: Hu, Jiayu ; Jiang, Cheng1 ; > Richardson, Bruce ; Pai G, Sunil > ; Wang, Yinan ; Yang, > YvonneX ; Ding, Xu

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

2021-09-25 Thread Xuan Ding
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 ---