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_pipeline_perf.py: Adding Eventdev_pipeline feature performance Testscript
Date: Fri, 31 May 2019 16:58:38 +0530 [thread overview]
Message-ID: <1559302118-6501-1-git-send-email-thaq@marvell.com> (raw)
In-Reply-To: <1559287890-27187-1-git-send-email-thaq@marvell.com>
From: Thanseerulhaq <thaq@marvell.com>
Adding performance testscripts for 1/2/4 NIC ports for eventdev_pipeline features atomic, parallel, order stages.
Adding eventdev_perf testcase supports for Marvell cards in test_case_supportlist.json file.
Signed-off-by: Thanseerulhaq <thaq@marvell.com>
---
tests/TestSuite_eventdev_pipeline_perf.py | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/tests/TestSuite_eventdev_pipeline_perf.py b/tests/TestSuite_eventdev_pipeline_perf.py
index ac99eb1..1c23859 100644
--- a/tests/TestSuite_eventdev_pipeline_perf.py
+++ b/tests/TestSuite_eventdev_pipeline_perf.py
@@ -806,16 +806,10 @@ class TestEventdevPipelinePerf(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 11:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-31 7:31 [dts] [PATCH] " thaq
2019-05-31 11:28 ` thaq [this message]
2019-06-10 12:25 ` [dts] [PATCH v3] " thaq
2019-06-12 3:13 ` 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=1559302118-6501-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).