From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ouyang Changchun Subject: [PATCH] doc: New option for vhost sample Date: Tue, 3 Mar 2015 10:23:06 +0800 Message-ID: <1425349386-15840-1-git-send-email-changchun.ouyang@intel.com> To: dev-VfR2kkLFssw@public.gmane.org Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Since codes for this new option(--vlan-strip) are already merged into mainline, see: commit: e3d61d1609cb9b3ea851c7776bfbb60dcfe8844a. So the doc need update for that. Signed-off-by: Changchun Ouyang --- doc/guides/sample_app_ug/vhost.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/guides/sample_app_ug/vhost.rst b/doc/guides/sample_app_ug/vhost.rst index 76997da..b97ca6d 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) ---------------------------------- -- 1.8.4.2