From: Xuan Ding Date: Mon, 22 Nov 2021 08:49:48 +0000 (+0000) Subject: doc: update recommended IOVA mode for async vhost X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=38e0f108c44fe963db1d52d3cb7bd832962ba280;p=dpdk.git doc: update recommended IOVA mode for async vhost 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 Reviewed-by: Maxime Coquelin --- diff --git a/doc/guides/prog_guide/vhost_lib.rst b/doc/guides/prog_guide/vhost_lib.rst index 76f5d303c9..7b93116905 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.