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 18CB3A00E6 for ; Wed, 7 Aug 2019 05:41:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E62AB4C8F; Wed, 7 Aug 2019 05:41:10 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id E65444C88 for ; Wed, 7 Aug 2019 05:41:08 +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 fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Aug 2019 20:41:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,356,1559545200"; d="scan'208";a="165187497" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga007.jf.intel.com with ESMTP; 06 Aug 2019 20:41:07 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) 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:07 -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:41:05 +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: AQHVOuC6TJdch4a1MUyJhCvYCNIez6bvLgsA Date: Wed, 7 Aug 2019 03:41:05 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAFEC76@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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYzBlYWE0M2YtMjdkZi00YWMyLTlhOTMtMTJkZTBiNTlmNDZlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiWXFhQnZvdTZSK0Y1cDR6XC95Y2JoN1hPZUVYWmdUa0ZiaHhQQjhrblVkOGxndllZdlNjdWI4K1R3QjBlTG43NWoifQ== 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" Sorry, not applied V1, applied V2 > -----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