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 5D4F4A0487 for ; Thu, 4 Jul 2019 15:57:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 259841BE5E; Thu, 4 Jul 2019 15:57:34 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 5D6AC1BE59 for ; Thu, 4 Jul 2019 15:57:31 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x64DlPCF028620 for ; Thu, 4 Jul 2019 06:57:31 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0818; bh=FtMPq3vFoiO3apuma8JauMOUYF85dz78xLD1rnINftI=; b=bIwa6Qd8aY9X8Htu43fu0WlQspJaexNiWO9CICgvFCJF/uEBh8EoMFAxkuIEtFI7lp10 21k3frZIIYkIiAoS1mGs7mvWdjDP2ZNwGWs6xcEUI1O+PBNMVDu/xzCiQZLgRDgctCfR R7aXFFFNau5hgHFRwfPndL4g1GVgJ3cel4IsBlmwIjbbD01KVkduxCSStUa6uQsW+35j vc0ltxof5fShRfExUb48R+dAFKm/u+aSTc5JSJBE5FH6jfuJ1zalfD5vcv0amvfxUUBe SpJV8GZ8SCzhjb7eNX62pIDRSr6CsCX0Hgs/yStTnXWp/YhQGAcC416ys9CbwqWhW5I1 +w== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0b-0016f401.pphosted.com with ESMTP id 2tgtf75mjf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 04 Jul 2019 06:57:31 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 4 Jul 2019 06:57:29 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Thu, 4 Jul 2019 06:57:29 -0700 Received: from phanendra-system.marvell.com (unknown [10.28.11.20]) by maili.marvell.com (Postfix) with ESMTP id 38B673F703F; Thu, 4 Jul 2019 06:57:28 -0700 (PDT) From: To: CC: , , Phanendra Vukkisala Date: Thu, 4 Jul 2019 19:27:23 +0530 Message-ID: <1562248643-7014-1-git-send-email-pvukkisala@marvell.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-07-04_07:, , signatures=0 Subject: [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" From: Phanendra Vukkisala our pmd completely blocks queuing up the pkts into TXD when queue is in stop state Signed-off-by: Phanendra Vukkisala --- tests/TestSuite_dynamic_queue.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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 = self.dut_testpmd.execute_cmd('stop') tx_num = qringsize - 1 - # 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 == "cavium_a063": + self.verify("TX-packets: 0" in out, + "Fail to stop txq at runtime") + else: + # 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 chgflag == 1: chg_qringsize = qringsize % 1024 + 256 self.dut_testpmd.execute_cmd( -- 1.7.9.5