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 012DDA0471 for ; Mon, 15 Jul 2019 08:43:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BB039322C; Mon, 15 Jul 2019 08:43:58 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id ECFA22E81 for ; Mon, 15 Jul 2019 08:43:53 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x6F6eUjQ001360 for ; Sun, 14 Jul 2019 23:43:52 -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=P6mYGWBphcr61g44EPbOuKMRPStVTmbbqMfJW+DnTUg=; b=ZsvDV69L2EzNcLX1UKdFKZwBgSpTL/C44RPgOmFwouamV/tl/2gxz9HlxbKvtP/mkaCJ RJzDwwoNn547hBOBh9Dmqo/j1bXACZ0JzLmvr7lM0ZLMLHgg++IjhxPD8s++VGNtPM1H PdRD76wrD9vWYfhCNwWNz4qL9dUK7L0DKY0lL0KLKWwgxNbQzgm06/CRToRSIC+EsI1j AdXSKvnOk+1KapZdRdj1ZSPrYHZmHliQKROqkQB0CJs/ZDYcxnoDczJrBaTDpV/qF+46 jjnWHpgC674kTARvLRmUT6G3v4Kgp7ZHRS6NijP+JwOk4BD5F3J+4SQCzRDx4qbFMuyQ Iw== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 2tqcnppcnk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Sun, 14 Jul 2019 23:43:52 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sun, 14 Jul 2019 23:43:51 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Sun, 14 Jul 2019 23:43:51 -0700 Received: from phanendra-system.marvell.com (unknown [10.28.11.20]) by maili.marvell.com (Postfix) with ESMTP id 2CA6C3F703F; Sun, 14 Jul 2019 23:43:49 -0700 (PDT) From: To: CC: , , Phanendra Vukkisala Date: Mon, 15 Jul 2019 12:13:25 +0530 Message-ID: <1563173005-22103-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:5.22.84,1.0.8 definitions=2019-07-15_01:2019-07-12,2019-07-15 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 b055e5e..906fff8 100644 --- a/tests/TestSuite_dynamic_queue.py +++ b/tests/TestSuite_dynamic_queue.py @@ -152,9 +152,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 if qringsize == 512: -- 1.7.9.5