From: <thaq@marvell.com>
To: <dts@dpdk.org>
Cc: <fmasood@marvell.com>, <avijay@marvell.com>, <jerinj@marvell.com>,
Thanseerulhaq <thaq@marvell.com>
Subject: [dts] [PATCH v2] TestSuite_eventdev_perf.py: Adding Eventdev feature performance Testscript
Date: Fri, 31 May 2019 16:01:52 +0530 [thread overview]
Message-ID: <1559298712-2284-1-git-send-email-thaq@marvell.com> (raw)
In-Reply-To: <1559287061-28415-1-git-send-email-thaq@marvell.com>
From: Thanseerulhaq <thaq@marvell.com>
Adding performance testscripts for 1/2/4 NIC ports for eventdev features atomic, parallel, order stages.
Signed-off-by: Thanseerulhaq <thaq@marvell.com>
---
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
next prev parent reply other threads:[~2019-05-31 10:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-31 7:17 [dts] [PATCH] " thaq
2019-05-31 10:31 ` thaq [this message]
2019-06-12 3:08 ` Tu, Lijuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1559298712-2284-1-git-send-email-thaq@marvell.com \
--to=thaq@marvell.com \
--cc=avijay@marvell.com \
--cc=dts@dpdk.org \
--cc=fmasood@marvell.com \
--cc=jerinj@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).