doc: more vlan offload commands in testpmd

Update the testpmd doc as there are new HW VLAN commands/options.

Signed-off-by: Changchun Ouyang <changchun.ouyang@intel.com>
Acked-by: Michael Qiu <michael.qiu@intel.com>
Acked-by: Siobhan Butler <siobhan.a.butler@intel.com>
This commit is contained in:
Ouyang Changchun 2015-03-06 16:10:06 +08:00 committed by Thomas Monjalon
parent c9dd4aad4f
commit f2552cd5ef
2 changed files with 45 additions and 0 deletions

View File

@ -262,6 +262,18 @@ They must be separated from the EAL options, shown in the previous section, with
Disable hardware VLAN.
* --disable-hw-vlan-filter
Disable hardware VLAN filter.
* --disable-hw-vlan-strip
Disable hardware VLAN strip.
* --disable-hw-vlan-extend
Disable hardware VLAN extend.
* --enable-drop-en
Enable per-queue packet drop for packets with no descriptors.

View File

@ -954,6 +954,39 @@ Hardware VLAN is on by default.
The off option is equivalent to the --disable-hw-vlan command-line option.
port config - VLAN filter
~~~~~~~~~~~~~~~~~~~~~~~~~
Set hardware VLAN filter on or off for all ports:
port config all hw-vlan-filter (on|off)
Hardware VLAN filter is on by default.
The off option is equivalent to the --disable-hw-vlan-filter command-line option.
port config - VLAN strip
~~~~~~~~~~~~~~~~~~~~~~~~
Set hardware VLAN strip on or off for all ports:
port config all hw-vlan-strip (on|off)
Hardware VLAN strip is on by default.
The off option is equivalent to the --disable-hw-vlan-strip command-line option.
port config - VLAN extend
~~~~~~~~~~~~~~~~~~~~~~~~~
Set hardware VLAN extend on or off for all ports:
port config all hw-vlan-extend (on|off)
Hardware VLAN extend is off by default.
The off option is equivalent to the --disable-hw-vlan-extend command-line option.
port config - Drop Packets
~~~~~~~~~~~~~~~~~~~~~~~~~~