From f2552cd5ef313f3d80d0d8e725d9e2b1b7d938ca Mon Sep 17 00:00:00 2001 From: Ouyang Changchun Date: Fri, 6 Mar 2015 16:10:06 +0800 Subject: [PATCH] doc: more vlan offload commands in testpmd Update the testpmd doc as there are new HW VLAN commands/options. Signed-off-by: Changchun Ouyang Acked-by: Michael Qiu Acked-by: Siobhan Butler --- doc/guides/testpmd_app_ug/run_app.rst | 12 ++++++++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 33 +++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/doc/guides/testpmd_app_ug/run_app.rst b/doc/guides/testpmd_app_ug/run_app.rst index 67f62d2eb6..3898e67237 100644 --- a/doc/guides/testpmd_app_ug/run_app.rst +++ b/doc/guides/testpmd_app_ug/run_app.rst @@ -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. diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst index 34e37cb9a7..ac66fa63ba 100644 --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst @@ -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 ~~~~~~~~~~~~~~~~~~~~~~~~~~