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 78F32A0471 for ; Tue, 16 Jul 2019 03:53:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 29FD02C5E; Tue, 16 Jul 2019 03:53:40 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 952282BE1 for ; Tue, 16 Jul 2019 03:53:37 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Jul 2019 18:53:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,496,1557212400"; d="scan'208";a="167505441" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga008.fm.intel.com with ESMTP; 15 Jul 2019 18:53:36 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 15 Jul 2019 18:53:35 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 15 Jul 2019 18:53:35 -0700 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 15 Jul 2019 18:53:35 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.134]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.240]) with mapi id 14.03.0439.000; Tue, 16 Jul 2019 09:53:34 +0800 From: "Zhu, ShuaiX" To: "Zhu, WenhuiX" , "dts@dpdk.org" CC: "Zhu, WenhuiX" , "Zhu, ShuaiX" Thread-Topic: [dts] [PATCH V2] tests/queue_region:change fortpark flowtype Thread-Index: AQHVO3j+xCihr9ZT3UuaSRtg/xH+96bMe4Bw Date: Tue, 16 Jul 2019 01:53:33 +0000 Message-ID: <4DC48DF9BDA3E54A836D2D3C057DEC6F0B1C2252@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: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action 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" Tested-by: Zhu, ShuaiX > -----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 > flowtype 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