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 B79F1A00E6 for ; Wed, 10 Jul 2019 07:25:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AF1EC1B96E; Wed, 10 Jul 2019 07:25:20 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id D2C5B1B958 for ; Wed, 10 Jul 2019 07:25:19 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jul 2019 22:25:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,473,1557212400"; d="scan'208";a="340964271" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga005.jf.intel.com with ESMTP; 09 Jul 2019 22:25:18 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 9 Jul 2019 22:25:18 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 9 Jul 2019 22:25:17 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 9 Jul 2019 22:25:17 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.134]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.162]) with mapi id 14.03.0439.000; Wed, 10 Jul 2019 13:25:16 +0800 From: "Tu, Lijuan" To: "pvukkisala@marvell.com" , "dts@dpdk.org" CC: "avijay@marvell.com" , "fmasood@marvell.com" Thread-Topic: [dts] [PATCH] dynamic_queue: Fix Tx queue tests on cavium device Thread-Index: AQHVMnB2aIgRZyI0Ok+lGwYPUP3/8qbDWr8g Date: Wed, 10 Jul 2019 05:25:15 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BADE8CF@SHSMSX101.ccr.corp.intel.com> References: <1562248643-7014-1-git-send-email-pvukkisala@marvell.com> In-Reply-To: <1562248643-7014-1-git-send-email-pvukkisala@marvell.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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOGQ2ZGI5NGYtZDJkNS00NTBkLWJkNGItNzVhMzZiNTE2ZDBkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoicWFOa0xSTythbndpUVFDbWNydUt5WWxaYTVuTDRaODVJU3U5ZURMUGcrY1VJaStYTTd2aE9ZT1wvRWtBZW5HczcifQ== 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] dynamic_queue: Fix Tx queue tests on cavium device 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, applied error, could you fix it? Applying: dynamic_queue: Fix Tx queue tests on cavium device .git/rebase-apply/patch:20: trailing whitespace. # Check Tx stopped queue only transmits qringsize-1 packets error: patch failed: tests/TestSuite_dynamic_queue.py:150 error: tests/TestSuite_dynamic_queue.py: patch does not apply Patch failed at 0001 dynamic_queue: Fix Tx queue tests on cavium device > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of > pvukkisala@marvell.com > Sent: Thursday, July 4, 2019 9:57 PM > To: dts@dpdk.org > Cc: avijay@marvell.com; fmasood@marvell.com; Phanendra Vukkisala > > Subject: [dts] [PATCH] dynamic_queue: Fix Tx queue tests on cavium device >=20 > From: Phanendra Vukkisala >=20 > our pmd completely blocks queuing up the pkts into TXD when queue is in > stop state >=20 > Signed-off-by: Phanendra Vukkisala > --- > tests/TestSuite_dynamic_queue.py | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-) >=20 > diff --git a/tests/TestSuite_dynamic_queue.py > b/tests/TestSuite_dynamic_queue.py > index f334a96..912e858 100644 > --- a/tests/TestSuite_dynamic_queue.py > +++ b/tests/TestSuite_dynamic_queue.py > @@ -150,9 +150,13 @@ class TestDynamicQueue(TestCase): > out =3D self.dut_testpmd.execute_cmd('stop') > tx_num =3D qringsize - 1 >=20 > - # Check Tx stopped queue only transmits qringsize-1 packets > - self.verify("TX-packets: %d" % tx_num in out, > - "Fail to stop txq at runtime") > + if self.nic =3D=3D "cavium_a063": > + self.verify("TX-packets: 0" in out, > + "Fail to stop txq at runtime") > + else: > + # Check Tx stopped queue only transmits qringsize-1 pack= ets > + self.verify("TX-packets: %d" % tx_num in out, > + "Fail to stop txq at runtime") > if chgflag =3D=3D 1: > chg_qringsize =3D qringsize % 1024 + 256 > self.dut_testpmd.execute_cmd( > -- > 1.7.9.5