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 EF1E0A0471 for ; Wed, 14 Aug 2019 16:13:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B2AA11B19; Wed, 14 Aug 2019 16:13:46 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 28B911252 for ; Wed, 14 Aug 2019 16:13:45 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x7EECtI6008307 for ; Wed, 14 Aug 2019 07:13:44 -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=6fjaO9JtPcO9x6/I52GFdooGqHjCGI3TGqBn3tZSPV4=; b=TbcxHrZD0Rewq3QfXlc8NKYbwqLFP5ss/CztLHA8z1tFfa3013WAiiM8LhKlYF3083G6 YNPs7dM3CzoXyaEZXU6It3s56R0/TqepqNuc2BjJmdKacjiR3xOXkP44R3yjQBsjOR0W n2zm6Ua84XPm+tG/8uaDGlT0Tj6Sm1NNuzFUwztXbEcOKpXF/uRaeB5J9a0VUjojKelh yIkVoYI9ihuyWzX07CTGy6B2CMtZ93SFp8LIJFkQlQLhy/eB//Pug+vOyO9+iyTc04+c 2Pb1JlMt1O17Uuyv/wM6p2X99EIgx9U/2W0CbfG8xzzKeOOfKww4J1NAXbi03LYWXu8z ew== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0b-0016f401.pphosted.com with ESMTP id 2ubfabfb05-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Wed, 14 Aug 2019 07:13:43 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 14 Aug 2019 07:13:41 -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; Wed, 14 Aug 2019 07:13:41 -0700 Received: from thaq.marvell.com (unknown [10.28.10.34]) by maili.marvell.com (Postfix) with ESMTP id 84C5C3F703F; Wed, 14 Aug 2019 07:13:40 -0700 (PDT) From: To: CC: , , Thanseerulhaq Date: Wed, 14 Aug 2019 19:43:08 +0530 Message-ID: <1565791988-7842-1-git-send-email-thaq@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:5.22.84,1.0.8 definitions=2019-08-14_05:2019-08-14,2019-08-14 signatures=0 Subject: [dts] [PATCH] tests/TestSuite_userspace_ethtool.py: Corrected error in userspaceethtool ringparam testcase. 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: Thanseerulhaq Observed ethtool ringparam setting command is passed worngly. EthApp> ringparam Set ring parameters Signed-off-by: Thanseerulhaq --- tests/TestSuite_userspace_ethtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_userspace_ethtool.py b/tests/TestSuite_userspace_ethtool.py index 557a3ff..0a4b772 100644 --- a/tests/TestSuite_userspace_ethtool.py +++ b/tests/TestSuite_userspace_ethtool.py @@ -402,7 +402,7 @@ class TestUserspaceEthtool(TestCase, IxiaPacketGenerator): port = self.ports[index] ori_rx_pkts, ori_tx_pkts = self.strip_portstats(port) _, rx_max, _, tx_max = self.strip_ringparam(index) - self.dut.send_expect("ringparam %d %d %d" % (index, rx_max, tx_max), "EthApp>") + self.dut.send_expect("ringparam %d %d %d" % (index, tx_max, rx_max), "EthApp>") rx_ring, _, tx_ring, _ = self.strip_ringparam(index) self.verify(rx_ring == rx_max, "Userspace tool failed to set Rx ring parameter") self.verify(tx_ring == tx_max, "Userspace tool failed to set Tx ring parameter") -- 1.8.3.1