Skip to content

vhost: add IOMMU support in async data path

Xuan Ding dpdk-dev 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 11 repliesIn review
  2. v42 patches 0 repliesSuperseded
  3. v31 patch 5 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v21 patch0 repliesSuperseded
v11 patch0 repliesSuperseded

Changes in v5 from the cover letter

* Fixed a coding style issue.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vhost: enable IOMMU for async vhostdoc/guides/prog_guide/vhost_lib.rst lib/vhost/rte_vhost.h lib/vhost/socket.c +2 more+65 -111 replies
2/2example/vhost: add dma vfio parsingdoc/guides/sample_app_ug/vhost.rst examples/vhost/main.c+22 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [dpdk-dev] [PATCH v5 0/2] vhost: add IOMMU support in async data path

This patch series expands the capability of DMA devices to use IOMMU. When application informs the library the DMA device is bound to vfio, the IOMMU will be programmed for guest memory.

v5:
* Fixed a coding style issue.

v4:
* Added the compatibility with IOVA_AS_PA.
* Revised the commit log that the IOMMU capability is added for DMA
* device.
* Changed single patch to patchset, added a new flag parsing in example.

v3:
* Fixed some typos.

v2:
* Fixed a format issue.
* Added the dma unmap logic when device is closed.

Xuan Ding (2):
vhost: enable IOMMU for async vhost
example/vhost: add dma vfio parsing

 doc/guides/prog_guide/vhost_lib.rst |  9 ++++++
 doc/guides/sample_app_ug/vhost.rst  |  7 +++++
 examples/vhost/main.c               | 16 +++++++++-
 lib/vhost/rte_vhost.h               |  1 +
 lib/vhost/socket.c                  |  9 ++++++
 lib/vhost/vhost.h                   |  1 +
 lib/vhost/vhost_user.c              | 46 ++++++++++++++++++++++++++++-
 7 files changed, 87 insertions(+), 2 deletions(-)
Signature · 1 line
2.17.1