DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] doc: update recommended IOVA mode for async vhost
@ 2021-11-22  8:49 Xuan Ding
  2022-01-31  8:41 ` Maxime Coquelin
  2022-02-08 11:10 ` Maxime Coquelin
  0 siblings, 2 replies; 3+ messages in thread
From: Xuan Ding @ 2021-11-22  8:49 UTC (permalink / raw)
  To: maxime.coquelin, chenbo.xia
  Cc: dev, jiayu.hu, yinan.wang, xingguang.he, Xuan Ding

DPDK 21.11 adds vfio support for DMA device in vhost. This patch
updates recommended IOVA mode in async datapath.

Signed-off-by: Xuan Ding <xuan.ding@intel.com>
---
 doc/guides/prog_guide/vhost_lib.rst | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/doc/guides/prog_guide/vhost_lib.rst b/doc/guides/prog_guide/vhost_lib.rst
index 76f5d303c9..f72ce75909 100644
--- a/doc/guides/prog_guide/vhost_lib.rst
+++ b/doc/guides/prog_guide/vhost_lib.rst
@@ -442,3 +442,12 @@ Finally, a set of device ops is defined for device specific operations:
 * ``get_notify_area``
 
   Called to get the notify area info of the queue.
+
+Recommended IOVA mode in async datapath
+---------------------------------------
+
+When DMA devices are bound to vfio driver, VA mode is recommended.
+For PA mode, page by page mapping may exceed IOMMU's max capability,
+better to use 1G guest hugepage.
+
+For uio driver, any vfio related error message can be ignored.
\ No newline at end of file
-- 
2.17.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-02-08 11:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-22  8:49 [PATCH] doc: update recommended IOVA mode for async vhost Xuan Ding
2022-01-31  8:41 ` Maxime Coquelin
2022-02-08 11:10 ` Maxime Coquelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).