doc: update recommended IOVA mode for async vhost
PATCH 1/1 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 <[email protected]>
--- doc/guides/prog_guide/vhost_lib.rst | 9 +++++++++ 1 file changed, 9 insertions(+)
doc/guides/prog_guide/vhost_lib.rst +9 -0
@@ -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.
Signature · 1 line
2.17.1
Quoted 16 lines · 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 <[email protected]>--- doc/guides/prog_guide/vhost_lib.rst | 9 +++++++++ 1 file changed, 9 insertions(+)doc/guides/prog_guide/vhost_lib.rst +0
-0@@ -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.
doc/guides/prog_guide/vhost_lib.rst Finally, a set of device ops is defined for device specific operations: · line 453
Quoted 10 lines
doc/guides/prog_guide/vhost_lib.rst +9
-0+ +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.
Reviewed-by Maxime Coquelin <[email protected]>
Thanks,
Maxime
Maxime Coquelin
AppliedQuoted 16 lines · 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 <[email protected]>--- doc/guides/prog_guide/vhost_lib.rst | 9 +++++++++ 1 file changed, 9 insertions(+)doc/guides/prog_guide/vhost_lib.rst +0
-0@@ -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.
doc/guides/prog_guide/vhost_lib.rst Finally, a set of device ops is defined for device specific operations: · line 453
Quoted 10 lines
doc/guides/prog_guide/vhost_lib.rst +9
-0+ +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.
Applied to dpdk-next-virtio/main.
Thanks,
Maxime