app/testpmd: add qinq stripping and insertion
authorHelin Zhang <helin.zhang@intel.com>
Thu, 11 Jun 2015 07:03:58 +0000 (15:03 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 7 Jul 2015 14:42:11 +0000 (16:42 +0200)
commit92ebda07ee58cf6966305ba03b50b81debfb2d98
tree6f4c2813bce37a7c262798b59c695f0ae2e6d789
parent4fa5e9f59bd2b41b0e1b04334c5a9abbfc205506
app/testpmd: add qinq stripping and insertion

If double vlan is detected, its stripped flag and vlan tags can be
printed on rxonly mode. Test command of 'tx_vlan set' is expanded
to set both single and double vlan tags on TX side for each packets
to be sent out.

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
app/test-pmd/cmdline.c
app/test-pmd/config.c
app/test-pmd/flowgen.c
app/test-pmd/macfwd.c
app/test-pmd/macswap.c
app/test-pmd/rxonly.c
app/test-pmd/testpmd.h
app/test-pmd/txonly.c
doc/guides/testpmd_app_ug/testpmd_funcs.rst