[dts] [PATCH v2] TestSuite_eventdev_perf.py: Adding Eventdev feature performance Testscript

thaq at marvell.com thaq at marvell.com
Fri May 31 12:31:52 CEST 2019


From: Thanseerulhaq <thaq at marvell.com>

Adding performance testscripts for 1/2/4 NIC ports for eventdev features atomic, parallel, order stages.

Signed-off-by: Thanseerulhaq <thaq at 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



More information about the dts mailing list