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 2BF51A00E6 for ; Wed, 7 Aug 2019 05:41:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1EB264C91; Wed, 7 Aug 2019 05:41:28 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 2B1352E8F for ; Wed, 7 Aug 2019 05:41:26 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Aug 2019 20:41:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,356,1559545200"; d="scan'208";a="165187536" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga007.jf.intel.com with ESMTP; 06 Aug 2019 20:41:25 -0700 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 20:41:24 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 20:41:24 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.80]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.62]) with mapi id 14.03.0439.000; Wed, 7 Aug 2019 11:41:22 +0800 From: "Tu, Lijuan" To: "Zhu, WenhuiX" , "dts@dpdk.org" CC: "Zhu, WenhuiX" Thread-Topic: [dts] [PATCH V2] tests/queue_region:change fortpark flowtype Thread-Index: AQHVO3j+5pAIqMyxFU2h9m9JbE4bjabvLPpQ Date: Wed, 7 Aug 2019 03:41:21 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAFEC82@SHSMSX101.ccr.corp.intel.com> References: <1563242137-119117-1-git-send-email-wenhuix.zhu@intel.com> In-Reply-To: <1563242137-119117-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZDQ1NTg5YmEtY2RmYy00YjM0LWI5MTYtZmZkZjZlODc5NjQwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiWkdVOG1SZm1id2RkU2d1cUE4M0FnSVwvS2RQUktxb1JrOXF5Z0FRU2NBR1JZa3lGeXY5dGxwUHhId0c3NzdabFMifQ== 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 V2] 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: Tuesday, July 16, 2019 9:56 AM > To: dts@dpdk.org > Cc: Zhu, WenhuiX > Subject: [dts] [PATCH V2] 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 | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) >=20 > diff --git a/tests/TestSuite_queue_region.py > b/tests/TestSuite_queue_region.py index 01842c2..28e7a58 100644 > --- a/tests/TestSuite_queue_region.py > +++ b/tests/TestSuite_queue_region.py > @@ -212,7 +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> ") > + if self.nic in ["fortpark_TLV"]: > + self.dut.send_expect("set port 0 queue-region region_id 2 fl= owtype > 39", "testpmd> ") > + else: > + self.dut.send_expect("set port 0 queue-region region_id 2 > + flowtype 41", "testpmd> ") > self.dut.send_expect("set port 0 queue-region region_id 3 flowty= pe 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> ") @@ -223,7 +226,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