From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E5EE5A0A06 for ; Tue, 19 Jan 2021 14:01:23 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D819F140E3F; Tue, 19 Jan 2021 14:01:23 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 6091E140E11; Tue, 19 Jan 2021 14:01:20 +0100 (CET) IronPort-SDR: mwU3AhLSElitMj1+NxruoCsGaWxCDrBhdfYFj1tb17BwYmHhNHIq9rs2IAd8cqTRYEmB6KKEIU U9RgPR8iqT8Q== X-IronPort-AV: E=McAfee;i="6000,8403,9868"; a="158692812" X-IronPort-AV: E=Sophos;i="5.79,358,1602572400"; d="scan'208";a="158692812" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2021 05:01:17 -0800 IronPort-SDR: OvSpq0r/v1XIpuf/mK4HcS740v7auduYS3B8yoEXg1SSgPFmgXC5ykmCA/AunlII6h3k/7phLY s1hZdQf1mrDA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,358,1602572400"; d="scan'208";a="500930879" Received: from irvmail001.ir.intel.com ([10.43.11.63]) by orsmga004.jf.intel.com with ESMTP; 19 Jan 2021 05:00:56 -0800 Received: from sivswdev09.ir.intel.com (sivswdev09.ir.intel.com [10.237.217.48]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id 10JD0tus006743; Tue, 19 Jan 2021 13:00:55 GMT Received: from sivswdev09.ir.intel.com (localhost [127.0.0.1]) by sivswdev09.ir.intel.com with ESMTP id 10JD0to2019935; Tue, 19 Jan 2021 13:00:55 GMT Received: (from bairemon@localhost) by sivswdev09.ir.intel.com with LOCAL id 10JD0tPO019931; Tue, 19 Jan 2021 13:00:55 GMT From: Bernard Iremonger To: dev@dpdk.org, xiaoyun.li@intel.com Cc: Bernard Iremonger , stable@dpdk.org Date: Tue, 19 Jan 2021 13:00:52 +0000 Message-Id: <1611061252-19605-1-git-send-email-bernard.iremonger@intel.com> X-Mailer: git-send-email 1.7.0.7 In-Reply-To: <1610623187-3631-1> References: <1610623187-3631-1> Subject: [dpdk-stable] [PATCH v2] doc: fix testpmd sample qinq flow rules X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" In the Testpmd Flow rules management section, correct the TPID values in the Sample QinQ flow rules sub section. Also replace the keyword qinq_strip with extend in the vlan set command. Fixes: bef3bfe7d5f4 ("doc: revise sample testpmd flow commands") Cc: stable@dpdk.org Signed-off-by: Bernard Iremonger --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst index 9be4500..6a00245 100644 --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst @@ -4426,14 +4426,14 @@ Sample QinQ flow rules Before creating QinQ rule(s) the following commands should be issued to enable QinQ:: testpmd> port stop 0 - testpmd> vlan set qinq_strip on 0 + testpmd> vlan set extend on 0 The above command sets the inner and outer TPID's to 0x8100. To change the TPID's the following commands should be used:: - testpmd> vlan set outer tpid 0xa100 0 - testpmd> vlan set inner tpid 0x9100 0 + testpmd> vlan set outer tpid 0x88A8 0 + testpmd> vlan set inner tpid 0x8100 0 testpmd> port start 0 Validate and create a QinQ rule on port 0 to steer traffic to a VF queue in a VM. -- 2.7.4