From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 99E27A05D3 for ; Tue, 23 Apr 2019 14:34:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7A52C1B277; Tue, 23 Apr 2019 14:34:06 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 2158158FA for ; Tue, 23 Apr 2019 14:34:04 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x3NCPr1s004247 for ; Tue, 23 Apr 2019 05:34:03 -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=bRzFxxEaOQ56SE80k0R8bnG3B7hxYCDkDTAVhuV0HgY=; b=MoLd8v0xk3ZebeJlwy2OKC66aysqYgirIHBcoaPoB3WNEm375DJG64zrDtOGLqM1fLJC u9+GZCGUSHlJ/FmpYqoq3ahN7ZjQOfAzsrY8bEeYIEoBUZ3Nzq7Mhw76BxCkWjAApm2V e7dDyMUGGyMd4hII5nKl8PIp24tTRQYoVRL36QF+gFtZy6btb06Cdmty8j4uZ+KdGx1k Ym/njkDm4nu3ZDsp5+N4BQMZZUH7bsDGM48PdT9vvGoBrdFeH4DntCGS3vTQspl4d1N/ 79ZdCIFrO4jZD+saq2I++qhFRvk85qnRAA4ZcOL1x0mc4PP4276gY2kcLFxra8i9028U vw== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 2s211mgppa-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Tue, 23 Apr 2019 05:34:03 -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; Tue, 23 Apr 2019 05:34:02 -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; Tue, 23 Apr 2019 05:34:02 -0700 Received: from localhost.marvell.com (unknown [10.28.10.195]) by maili.marvell.com (Postfix) with ESMTP id 388493F7041; Tue, 23 Apr 2019 05:34:01 -0700 (PDT) From: To: CC: , , Praneeth Reddy Date: Tue, 23 Apr 2019 18:03:58 +0530 Message-ID: <1556022838-5655-1-git-send-email-nareddy@marvell.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-04-23_03:, , signatures=0 Subject: [dts] [PATCH] dynamic_queue.py: Adding max_pools parameter for cavium_a063 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: Praneeth Reddy With cavium_a063, to allocate dynamic queues max_pools parameter is required in testpmd application. Signed-off-by: Praneeth Reddy --- tests/TestSuite_dynamic_queue.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/TestSuite_dynamic_queue.py b/tests/TestSuite_dynamic_queue.py index 8e3fdb9..3aad63f 100644 --- a/tests/TestSuite_dynamic_queue.py +++ b/tests/TestSuite_dynamic_queue.py @@ -33,6 +33,13 @@ class TestDynamicQueue(TestCase): "Default", "--port-topology=chained --txq=%s --rxq=%s" % (self.PF_QUEUE, self.PF_QUEUE), eal_param="-w %s" % (self.dut.get_port_pci(self.dut_ports[0]))) + elif (self.nic in ["cavium_a063"]): + eal_opts = "" + for port in self.dut_ports: + eal_opts += "-w %s,max_pools=256 "%(self.dut.get_port_pci(self.dut_ports[port])) + self.dut_testpmd.start_testpmd( + "Default", "--port-topology=chained --txq=%s --rxq=%s" + % (self.PF_QUEUE, self.PF_QUEUE), eal_param = eal_opts) else: self.dut_testpmd.start_testpmd( "Default", "--port-topology=chained --txq=%s --rxq=%s" -- 1.8.3.1