DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] doc: New option for vhost sample
@ 2015-03-03  2:23 Ouyang Changchun
  2015-03-27 14:13 ` De Lara Guarch, Pablo
  0 siblings, 1 reply; 3+ messages in thread
From: Ouyang Changchun @ 2015-03-03  2:23 UTC (permalink / raw)
  To: 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 <changchun.ouyang@intel.com>
---
 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

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

* Re: [dpdk-dev] [PATCH] doc: New option for vhost sample
  2015-03-03  2:23 [dpdk-dev] [PATCH] doc: New option for vhost sample Ouyang Changchun
@ 2015-03-27 14:13 ` De Lara Guarch, Pablo
  2015-03-31  0:55   ` Thomas Monjalon
  0 siblings, 1 reply; 3+ messages in thread
From: De Lara Guarch, Pablo @ 2015-03-27 14:13 UTC (permalink / raw)
  To: Ouyang, Changchun, dev



> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Ouyang Changchun
> Sent: Tuesday, March 03, 2015 2:23 AM
> To: dev@dpdk.org
> Subject: [dpdk-dev] [PATCH] doc: New option for vhost sample
> 
> 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 <changchun.ouyang@intel.com>

Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>

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

* Re: [dpdk-dev] [PATCH] doc: New option for vhost sample
  2015-03-27 14:13 ` De Lara Guarch, Pablo
@ 2015-03-31  0:55   ` Thomas Monjalon
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2015-03-31  0:55 UTC (permalink / raw)
  To: Ouyang, Changchun; +Cc: 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 <changchun.ouyang@intel.com>
> 
> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>

Applied, thanks

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

end of thread, other threads:[~2015-03-31  0:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-03  2:23 [dpdk-dev] [PATCH] doc: New option for vhost sample Ouyang Changchun
2015-03-27 14:13 ` De Lara Guarch, Pablo
2015-03-31  0:55   ` Thomas Monjalon

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