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 AC204A00E6 for ; Wed, 7 Aug 2019 05:24:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 882963423; Wed, 7 Aug 2019 05:24:48 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 463552F42 for ; Wed, 7 Aug 2019 05:24:46 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Aug 2019 20:24:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,356,1559545200"; d="scan'208";a="374262234" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga006.fm.intel.com with ESMTP; 06 Aug 2019 20:24:45 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 20:24:44 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 6 Aug 2019 20:24:43 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 6 Aug 2019 20:24:43 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.80]) by shsmsx102.ccr.corp.intel.com ([169.254.2.19]) with mapi id 14.03.0439.000; Wed, 7 Aug 2019 11:24:42 +0800 From: "Tu, Lijuan" To: "Zhu, WenhuiX" , "dts@dpdk.org" CC: "Zhu, WenhuiX" Thread-Topic: [dts] [PATCH V1] tests/queue_region:change fortpark flowtype Thread-Index: AQHVOuC6TJdch4a1MUyJhCvYCNIez6bvKYJg Date: Wed, 7 Aug 2019 03:24:41 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAFEBFA@SHSMSX101.ccr.corp.intel.com> References: <1563176759-113640-1-git-send-email-wenhuix.zhu@intel.com> In-Reply-To: <1563176759-113640-1-git-send-email-wenhuix.zhu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzAzNzhmZGMtOWY4Mi00NDliLWEyODEtYTY5ZTZjZTViZWQxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoibUF0QzZYSzdGVHMyY1FadlVpNkFYTTFCY3VVUEh6bXY5ZFo3UGFvTFVLTVVRRmhmWk9UcFU3NTgwek51XC9IWDMifQ== 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/queue_region:change fortpark flowtype 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" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhuwenhui > Sent: Monday, July 15, 2019 3:46 PM > To: dts@dpdk.org > Cc: Zhu, WenhuiX > Subject: [dts] [PATCH V1] tests/queue_region:change fortpark flowtype >=20 > if nic is x722,ipv6-udp belongs to flowtype 39. >=20 > Signed-off-by: zhuwenhui > --- > tests/TestSuite_queue_region.py | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) >=20 > diff --git a/tests/TestSuite_queue_region.py > b/tests/TestSuite_queue_region.py index 01842c2..7a70e31 100644 > --- a/tests/TestSuite_queue_region.py > +++ b/tests/TestSuite_queue_region.py > @@ -212,8 +212,10 @@ class TestQueue_region(TestCase): > self.dut.send_expect("set port 0 queue-region region_id 2 flowty= pe 33", > "testpmd> ") > self.dut.send_expect("set port 0 queue-region region_id 4 flowty= pe 35", > "testpmd> ") > self.dut.send_expect("set port 0 queue-region region_id 6 flowty= pe 36", > "testpmd> ") > - self.dut.send_expect("set port 0 queue-region region_id 2 flowty= pe 41", > "testpmd> ") > - self.dut.send_expect("set port 0 queue-region region_id 3 flowty= pe 43", > "testpmd> ") > + if self.nic in ["fortpark_TLV"]: > + self.dut.send_expect("set port 0 queue-region region_id 2 fl= owtype > 41", "testpmd> ") > + else: > + self.dut.send_expect("set port 0 queue-region region_id 3 > + flowtype 43", "testpmd> ") > self.dut.send_expect("set port 0 queue-region region_id 4 flowty= pe 44", > "testpmd> ") > self.dut.send_expect("set port 0 queue-region region_id 5 flowty= pe 45", > "testpmd> ") > self.dut.send_expect("set port 0 queue-region region_id 7 flowty= pe 46", > "testpmd> ") @@ -223,7 +225,7 @@ class TestQueue_region(TestCase): > # region | queue | flowtype | packet_type > # 0 | 1 | 31 | IPv4_UDP > # 1 | 3,4 | 32 | IPv4_TCP_SYN > - # 2 | 6,7 | 33,41 | IPv4_TCP, IPv6_UDP > + # 2 | 6,7 | 33,41/39 | IPv4_TCP, IPv6_UDP > # 3 | 8,9 | 43 | IPv6_TCP > # 4 | 11,12,13,14 | 35,44 | IPv4_Other, IPv6_SCTP > # 5 | 15 | 45 | IPv6_Other > -- > 2.17.2