[dpdk-dev,v2,2/2] doc: Update for new HW vlan command
Commit Message
Update the testpmd doc as there are new HW VLAN commands/options.
Signed-off-by: Changchun Ouyang <changchun.ouyang@intel.com>
---
doc/guides/testpmd_app_ug/run_app.rst | 12 +++++++++++
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 33 +++++++++++++++++++++++++++++
2 files changed, 45 insertions(+)
@@ -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.
@@ -896,6 +896,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
~~~~~~~~~~~~~~~~~~~~~~~~~~