From patchwork Fri Mar 6 08:10:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ouyang Changchun X-Patchwork-Id: 3909 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 7EC075A88; Fri, 6 Mar 2015 09:10:20 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id A5A545A84 for ; Fri, 6 Mar 2015 09:10:18 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP; 06 Mar 2015 00:10:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,351,1422950400"; d="scan'208";a="694795477" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga002.jf.intel.com with ESMTP; 06 Mar 2015 00:10:17 -0800 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id t268AFoR029174; Fri, 6 Mar 2015 16:10:15 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t268ACa8001887; Fri, 6 Mar 2015 16:10:14 +0800 Received: (from couyang@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t268ACNN001883; Fri, 6 Mar 2015 16:10:12 +0800 From: Ouyang Changchun To: dev@dpdk.org Date: Fri, 6 Mar 2015 16:10:06 +0800 Message-Id: <1425629406-1838-3-git-send-email-changchun.ouyang@intel.com> X-Mailer: git-send-email 1.7.12.2 In-Reply-To: <1425629406-1838-1-git-send-email-changchun.ouyang@intel.com> References: <1425628813-1546-1-git-send-email-changchun.ouyang@intel.com> <1425629406-1838-1-git-send-email-changchun.ouyang@intel.com> Subject: [dpdk-dev] [PATCH v3 2/2] doc: Update for new HW vlan command X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Update the testpmd doc as there are new HW VLAN commands/options. Signed-off-by: Changchun Ouyang Acked-by: Michael Qiu --- 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 67f62d2..3898e67 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 218835a..b644626 100644 --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst @@ -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 ~~~~~~~~~~~~~~~~~~~~~~~~~~