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 7BA13A0471 for ; Mon, 15 Jul 2019 09:51:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 547841B94F; Mon, 15 Jul 2019 09:51:39 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id A89FF3772 for ; Mon, 15 Jul 2019 09:51:36 +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 fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Jul 2019 00:51:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,493,1557212400"; d="scan'208";a="157747022" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga007.jf.intel.com with ESMTP; 15 Jul 2019 00:51:35 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 15 Jul 2019 00:51:35 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx601.amr.corp.intel.com (10.18.126.81) 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 00:51:34 -0700 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by fmsmsx601.amr.corp.intel.com (10.18.126.81) 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 00:51:34 -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; Mon, 15 Jul 2019 15:51:32 +0800 From: "Zhu, ShuaiX" To: "Zhu, WenhuiX" , "dts@dpdk.org" CC: "Zhu, WenhuiX" , "Zhu, ShuaiX" Thread-Topic: [dts] [PATCH V1] tests/queue_region:change fortpark flowtype Thread-Index: AQHVOuC6vm8cG6NKA0Ol3VIPoggLDabLTk8Q Date: Mon, 15 Jul 2019 07:51:32 +0000 Message-ID: <4DC48DF9BDA3E54A836D2D3C057DEC6F0B1C200A@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: 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 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" Tested-by: Zhu, ShuaiX > -----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 > flowtype 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