doc: add new vlan option in vhost sample guide

see commit: e3d61d1609.

Signed-off-by: Changchun Ouyang <changchun.ouyang@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
This commit is contained in:
Changchun Ouyang 2015-03-03 10:23:06 +08:00 committed by Thomas Monjalon
parent 92893bbd40
commit f904713a50

View File

@ -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)
----------------------------------