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 EFA96A00E6 for ; Wed, 10 Jul 2019 04:09:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E1D5B3237; Wed, 10 Jul 2019 04:09:22 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 92725160 for ; Wed, 10 Jul 2019 04:09:21 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jul 2019 19:09:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,472,1557212400"; d="scan'208";a="317214793" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga004.jf.intel.com with ESMTP; 09 Jul 2019 19:09:20 -0700 Received: from fmsmsx124.amr.corp.intel.com (10.18.125.39) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 9 Jul 2019 19:08:48 -0700 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by fmsmsx124.amr.corp.intel.com (10.18.125.39) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 9 Jul 2019 19:08:48 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.134]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.174]) with mapi id 14.03.0439.000; Wed, 10 Jul 2019 10:08:47 +0800 From: "Tu, Lijuan" To: "Ma, LihongX" , "dts@dpdk.org" CC: "Ma, LihongX" Thread-Topic: [dts] [PATCH V1] tests/dynamic_queue: add ringsize condition Thread-Index: AQHVNWxLqxtTHuwY10qbIQ/WE8/LeabDHe7Q Date: Wed, 10 Jul 2019 02:08:46 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BADE6A4@SHSMSX101.ccr.corp.intel.com> References: <1562548769-9149-1-git-send-email-lihongx.ma@intel.com> In-Reply-To: <1562548769-9149-1-git-send-email-lihongx.ma@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.0.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMDVlOTc1MmQtMTA5ZS00MGM0LTkwMWItODlhOGRkMzJlNjBiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoicndteCtcLzNnZERhY2dMc2RTQWFmU0EzVnlJV0FOdUVvQXZVUVltWGpqTzFucWlzdzJHZlNsMis2UGt2VXRYMkoifQ== 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/dynamic_queue: add ringsize condition 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 lihong > Sent: Monday, July 8, 2019 9:19 AM > To: dts@dpdk.org > Cc: Ma, LihongX > Subject: [dts] [PATCH V1] tests/dynamic_queue: add ringsize condition >=20 > Signed-off-by: lihong > --- > tests/TestSuite_dynamic_queue.py | 4 ++++ > 1 file changed, 4 insertions(+) >=20 > diff --git a/tests/TestSuite_dynamic_queue.py > b/tests/TestSuite_dynamic_queue.py > index f334a96..b055e5e 100644 > --- a/tests/TestSuite_dynamic_queue.py > +++ b/tests/TestSuite_dynamic_queue.py > @@ -104,6 +104,8 @@ class TestDynamicQueue(TestCase): > pattern =3D "%s([0-9]+)" % qring_strip > qringsize =3D self.element_strip(out, pattern) > chg_qringsize =3D qringsize % 1024 + 256 > + if qringsize =3D=3D 512: > + chg_qringsize =3D 256 > self.dut_testpmd.execute_cmd( > 'port config 0 rxq %d ring_size %d' > % (queue[i], chg_qringsize)) @@ -155,6 +157,8 @@ cla= ss > TestDynamicQueue(TestCase): > "Fail to stop txq at runtime") > if chgflag =3D=3D 1: > chg_qringsize =3D qringsize % 1024 + 256 > + if qringsize =3D=3D 512: > + chg_qringsize =3D 256 > self.dut_testpmd.execute_cmd( > 'port config 0 txq %d ring_size %d' > % (queue, chg_qringsize)) > -- > 2.7.4