summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChangchun Ouyang <changchun.ouyang@intel.com>2015-03-03 10:23:06 +0800
committerThomas Monjalon <thomas.monjalon@6wind.com>2015-03-31 02:55:07 +0200
commitf904713a5015ad0240e9839bd62ff88f8a904933 (patch)
tree525cd336cece3fbf6df610da4cbc79442a82dbfa
parent92893bbd4050292e458878365461f82100e73acf (diff)
downloaddpdk-stable-f904713a5015ad0240e9839bd62ff88f8a904933.zip
dpdk-stable-f904713a5015ad0240e9839bd62ff88f8a904933.tar.gz
dpdk-stable-f904713a5015ad0240e9839bd62ff88f8a904933.tar.xz
doc: add new vlan option in vhost sample guide
see commit: e3d61d1609cb9b3ea851c7776bfbb60dcfe8844a. Signed-off-by: Changchun Ouyang <changchun.ouyang@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
-rw-r--r--doc/guides/sample_app_ug/vhost.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/guides/sample_app_ug/vhost.rst b/doc/guides/sample_app_ug/vhost.rst
index 4a6d434..25d91bb 100644
--- a/doc/guides/sample_app_ug/vhost.rst
+++ b/doc/guides/sample_app_ug/vhost.rst
@@ -468,6 +468,14 @@ The value is 64 by default.
user@target:~$ ./build/app/vhost-switch -c f -n 4 --huge-dir /mnt/huge -- --zero-copy 1 --tx-desc-num [0, n]
+**VLAN strip.**
+The VLAN strip option enable/disable the VLAN strip on host, if disabled, the guest will receive the packets with VLAN tag.
+It is enabled by default.
+
+.. code-block:: console
+
+ user@target:~$ ./build/app/vhost-switch -c f -n 4 --huge-dir /mnt/huge -- --vlan-strip [0, 1]
+
Running the Virtual Machine (QEMU)
----------------------------------