From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 72A34A00BE; Thu, 31 Oct 2019 08:22:21 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 387131C1D7; Thu, 31 Oct 2019 08:22:21 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 8FE691C1D2 for ; Thu, 31 Oct 2019 08:22:19 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Oct 2019 00:22:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,250,1569308400"; d="scan'208";a="204118270" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga006.jf.intel.com with ESMTP; 31 Oct 2019 00:22:18 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 31 Oct 2019 00:21:46 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 31 Oct 2019 00:21:45 -0700 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 31 Oct 2019 00:21:45 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.213]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.41]) with mapi id 14.03.0439.000; Thu, 31 Oct 2019 15:21:44 +0800 From: "Ma, LihongX" To: "Xie, WeiX" , "dts@dpdk.org" CC: "Xie, WeiX" Thread-Topic: [dts] [PATCH V1] tests/vlan_ethertype_config:change testpmd cmd Thread-Index: AQHVju7yx35kw3LvG0m35FWvbyEf6ad0VVXQ Date: Thu, 31 Oct 2019 07:21:43 +0000 Message-ID: References: <1572418779-87768-1-git-send-email-weix.xie@intel.com> In-Reply-To: <1572418779-87768-1-git-send-email-weix.xie@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] tests/vlan_ethertype_config:change testpmd cmd X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Hi, xiewei As the commit 2a0b41984c7 , we will use the ' vlan set extend on' instead o= f 'vlan set qinq on' And if we will identification the packet as Qin vlan pkts, so we should add= 'vlan set strip on xx' before 'vlan set extend on' -----Original Message----- From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xie Wei Sent: Wednesday, October 30, 2019 3:00 PM To: dts@dpdk.org Cc: Xie, WeiX Subject: [dts] [PATCH V1] tests/vlan_ethertype_config:change testpmd cmd change testpmd cmd in dpdk-2a0b41984c7 Signed-off-by: Xie Wei --- tests/TestSuite_vlan_ethertype_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_vlan_ethertype_config.py b/tests/TestSuite_vla= n_ethertype_config.py index 33e9948..d66f0d3 100644 --- a/tests/TestSuite_vlan_ethertype_config.py +++ b/tests/TestSuite_vlan_ethertype_config.py @@ -344,7 +344,7 @@ class TestVlanEthertypeConfig(TestCase): random_vlan =3D random.randint(1, MAX_VLAN - 1) rx_vlans =3D [1, random_vlan, MAX_VLAN] self.dut.send_expect( - "vlan set qinq on %d" % dutRxPortId, "testpmd> ", 20) + "vlan set qinq_strip on %d" % dutRxPortId, "testpmd> ", 20) self.dut.send_expect("set verbose 1", "testpmd> ") self.dut.send_expect("set fwd rxonly", "testpmd> ") self.dut.send_expect("start", "testpmd> ") --=20 2.17.2