summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarvin Liu <yong.liu@intel.com>2018-08-01 00:00:39 +0800
committerThomas Monjalon <thomas@monjalon.net>2018-08-09 21:51:44 +0200
commitcc9ecbb48ee3a8fb80df6c470141260df3eacec0 (patch)
tree9ae900c570eb37ecdc0a1c160e3cc89959e85198
parentde7ceb75257c00ae810669049d77978971639973 (diff)
downloaddpdk-cc9ecbb48ee3a8fb80df6c470141260df3eacec0.zip
dpdk-cc9ecbb48ee3a8fb80df6c470141260df3eacec0.tar.gz
dpdk-cc9ecbb48ee3a8fb80df6c470141260df3eacec0.tar.xz
doc: describe --builtin-net-driver option in vhost app
Very simple version of vhost-user driver in vhost sample will be used if builtin-net-driver option is enabled. This driver is based on generic vhost lib APIs. Unfortunately, the implementation is incompatible with QEMU as protocol feature is not supported. Signed-off-by: Marvin Liu <yong.liu@intel.com> Acked-by: John McNamara <john.mcnamara@intel.com>
-rw-r--r--doc/guides/sample_app_ug/vhost.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/guides/sample_app_ug/vhost.rst b/doc/guides/sample_app_ug/vhost.rst
index 9112e78..fd42cb3 100644
--- a/doc/guides/sample_app_ug/vhost.rst
+++ b/doc/guides/sample_app_ug/vhost.rst
@@ -158,6 +158,10 @@ when disabling VLAN strip. Such feature, which heavily depends on hardware,
should be removed from this example to reduce confusion. Now, VLAN strip is
enabled and cannot be disabled.
+**--builtin-net-driver**
+A very simple vhost-user net driver which demonstrates how to use the generic
+vhost APIs will be used when this option is given. It is disabled by default.
+
Common Issues
-------------
@@ -192,3 +196,8 @@ Common Issues
according to the NIC's property. ::
make EXTRA_CFLAGS="-DMAX_QUEUES=320"
+
+* Option "builtin-net-driver" is incompatible with QEMU
+
+ QEMU vhost net device start will fail if protocol feature is not negotiated.
+ DPDK virtio-user pmd can be the replacement of QEMU.