DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] doc: add driver limitation for vhost dequeue zero copy
@ 2018-02-24 14:44 Junjie Chen
  2018-02-26  4:44 ` Tan, Jianfeng
  2018-02-27  9:21 ` [dpdk-dev] [PATCH v2] " Junjie Chen
  0 siblings, 2 replies; 14+ messages in thread
From: Junjie Chen @ 2018-02-24 14:44 UTC (permalink / raw)
  To: yliu, maxime.coquelin, jianfeng.tan; +Cc: dev, Junjie Chen

In vhost-switch example, when binding nic to vfio-pci, dequeue zero
copy cannot work in VM2NIC mode due to no iommu dma mapping is setup
for guest memory currently.

Signed-off-by: Junjie Chen <junjie.j.chen@intel.com>
---
 doc/guides/sample_app_ug/vhost.rst | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/doc/guides/sample_app_ug/vhost.rst b/doc/guides/sample_app_ug/vhost.rst
index a4bdc6a..1591a31 100644
--- a/doc/guides/sample_app_ug/vhost.rst
+++ b/doc/guides/sample_app_ug/vhost.rst
@@ -147,7 +147,10 @@ retries on an RX burst, it takes effect only when rx retry is enabled. The
 default value is 15.
 
 **--dequeue-zero-copy**
-Dequeue zero copy will be enabled when this option is given.
+Dequeue zero copy will be enabled when this option is given, it is worth to
+note that if NIC is binded to vfio-pci driver, dequeue zero copy cannot work 
+at VM2NIC mode (vm2vm=0) due to currently we don't setup iommu dma mapping for
+guest memory.
 
 **--vlan-strip 0|1**
 VLAN strip option is removed, because different NICs have different behaviors
-- 
2.0.1

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

end of thread, other threads:[~2018-04-11 14:34 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-24 14:44 [dpdk-dev] [PATCH] doc: add driver limitation for vhost dequeue zero copy Junjie Chen
2018-02-26  4:44 ` Tan, Jianfeng
2018-03-13  9:12   ` Kovacevic, Marko
2018-03-13  9:18     ` Chen, Junjie J
2018-02-27  9:21 ` [dpdk-dev] [PATCH v2] " Junjie Chen
2018-03-06  8:57   ` Maxime Coquelin
2018-03-09  5:17     ` Chen, Junjie J
2018-03-09 10:07   ` [dpdk-dev] [PATCH v3] " Junjie Chen
2018-03-12  3:15     ` Tan, Jianfeng
2018-03-13  9:19       ` Chen, Junjie J
2018-03-14 16:24     ` [dpdk-dev] [PATCH v4] " Junjie Chen
2018-03-19  6:56       ` Tan, Jianfeng
2018-03-29 12:14       ` Maxime Coquelin
2018-04-11 14:34         ` 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).