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 90D12A045E for ; Fri, 31 May 2019 12:32:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 535E6375B; Fri, 31 May 2019 12:32:21 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 6DAB92C60 for ; Fri, 31 May 2019 12:32:20 +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 x4VATleV004803 for ; Fri, 31 May 2019 03:32:19 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=pfpt0818; bh=2scvcvTiprxOziwoPXooeiH0QNrWdimoXZpDtVqTcag=; b=Tk5Znc5mv2FgMajnE99Wxz2FA+vChqR0DdNxn6J5Xk1YMxJXG5oN4Z3aMaS57ss24kwr fY/svGVCOO9IEAQYiEX0OSGskR+TqF+wFT8Ozj4KV7KSh3WiYUmwW2oKfBNB2gCz98Jo BtQYfhhTM9484gwhVBEfLh2SYeL0Wi30tywOXylnhXt+T+Ltw94bx+xu4iZoa1QQ0y2k dh+Kf11/8iK+GE8n7MsO2rfbB27uU8BEsLI4gDYbRvhsK18ORCMGznYpWviTeI6nP30q uJtNdCr5oz6lB4ITMpb3z3YcIJ99d6ecx81Dpl07ldAUPpiz8iSOpE7hhdXwHfMSwyG9 lQ== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2sttf11ss1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Fri, 31 May 2019 03:32:19 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 31 May 2019 03:32:18 -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; Fri, 31 May 2019 03:32:18 -0700 Received: from thaq.marvell.com (unknown [10.28.10.232]) by maili.marvell.com (Postfix) with ESMTP id A6E233F7040; Fri, 31 May 2019 03:32:16 -0700 (PDT) From: To: CC: , , , Thanseerulhaq Date: Fri, 31 May 2019 16:01:52 +0530 Message-ID: <1559298712-2284-1-git-send-email-thaq@marvell.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1559287061-28415-1-git-send-email-thaq@marvell.com> References: <1559287061-28415-1-git-send-email-thaq@marvell.com> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-31_06:, , signatures=0 Subject: [dts] [PATCH v2] TestSuite_eventdev_perf.py: Adding Eventdev feature performance Testscript 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 Adding performance testscripts for 1/2/4 NIC ports for eventdev features atomic, parallel, order stages. Signed-off-by: Thanseerulhaq --- tests/TestSuite_eventdev_perf.py | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/tests/TestSuite_eventdev_perf.py b/tests/TestSuite_eventdev_perf.py index e93a9d4..c71abd1 100644 --- a/tests/TestSuite_eventdev_perf.py +++ b/tests/TestSuite_eventdev_perf.py @@ -1579,16 +1579,10 @@ class TestEventdevPerf(TestCase,IxiaPacketGenerator): def ip(self, port, frag, src, proto, tos, dst, chksum, len, options, version, flags, ihl, ttl, id): self.add_tcl_cmd("protocol config -name ip") self.add_tcl_cmd('ip config -sourceIpAddr "%s"' % src) - if self.nic != "cavium_a063": - self.add_tcl_cmd("ip config -sourceIpAddrMode ipRandom") - else: - self.add_tcl_cmd("ip config -sourceIpAddrMode ipIncrHost") - self.add_tcl_cmd("ip config -sourceIpAddrRepeatCount 100") + self.add_tcl_cmd("ip config -sourceIpAddrMode ipIncrHost") + self.add_tcl_cmd("ip config -sourceIpAddrRepeatCount 100") self.add_tcl_cmd('ip config -destIpAddr "%s"' % dst) - if self.nic == "cavium_a063": - self.add_tcl_cmd("ip config -destIpAddrMode ipIdle") - else: - self.add_tcl_cmd("ip config -destIpAddrMode ipIdle") + self.add_tcl_cmd("ip config -destIpAddrMode ipIdle") self.add_tcl_cmd("ip config -ttl %d" % ttl) self.add_tcl_cmd("ip config -totalLength %d" % len) self.add_tcl_cmd("ip config -fragment %d" % frag) -- 1.8.3.1