test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] dynamic_queue: Fix Tx queue tests on cavium device
@ 2019-07-04 13:57 pvukkisala
  2019-07-10  5:25 ` Tu, Lijuan
  0 siblings, 1 reply; 4+ messages in thread
From: pvukkisala @ 2019-07-04 13:57 UTC (permalink / raw)
  To: dts; +Cc: avijay, fmasood, Phanendra Vukkisala

From: Phanendra Vukkisala <pvukkisala@marvell.com>

our pmd completely blocks queuing up the pkts into TXD when queue is in stop state

Signed-off-by: Phanendra Vukkisala <pvukkisala@marvell.com>
---
 tests/TestSuite_dynamic_queue.py |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_dynamic_queue.py b/tests/TestSuite_dynamic_queue.py
index f334a96..912e858 100644
--- a/tests/TestSuite_dynamic_queue.py
+++ b/tests/TestSuite_dynamic_queue.py
@@ -150,9 +150,13 @@ class TestDynamicQueue(TestCase):
             out = self.dut_testpmd.execute_cmd('stop')
             tx_num = qringsize - 1
 
-            # Check Tx stopped queue only transmits qringsize-1 packets
-            self.verify("TX-packets: %d" % tx_num in out,
-                        "Fail to stop txq at runtime")
+            if self.nic == "cavium_a063":
+                self.verify("TX-packets: 0" in out,
+                            "Fail to stop txq at runtime")
+            else:
+                # Check Tx stopped queue only transmits qringsize-1 packets 
+                self.verify("TX-packets: %d" % tx_num in out,
+                            "Fail to stop txq at runtime")
             if chgflag == 1:
                 chg_qringsize = qringsize % 1024 + 256
                 self.dut_testpmd.execute_cmd(
-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 4+ messages in thread
* [dts] [PATCH] dynamic_queue: Fix Tx queue tests on cavium device
@ 2019-07-15  6:43 pvukkisala
  2019-08-07  3:23 ` Tu, Lijuan
  0 siblings, 1 reply; 4+ messages in thread
From: pvukkisala @ 2019-07-15  6:43 UTC (permalink / raw)
  To: dts; +Cc: avijay, fmasood, Phanendra Vukkisala

From: Phanendra Vukkisala <pvukkisala@marvell.com>

our pmd completely blocks queuing up the pkts into TXD when queue is in stop state

Signed-off-by: Phanendra Vukkisala <pvukkisala@marvell.com>
---
 tests/TestSuite_dynamic_queue.py |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_dynamic_queue.py b/tests/TestSuite_dynamic_queue.py
index b055e5e..906fff8 100644
--- a/tests/TestSuite_dynamic_queue.py
+++ b/tests/TestSuite_dynamic_queue.py
@@ -152,9 +152,13 @@ class TestDynamicQueue(TestCase):
             out = self.dut_testpmd.execute_cmd('stop')
             tx_num = qringsize - 1
 
-            # Check Tx stopped queue only transmits qringsize-1 packets
-            self.verify("TX-packets: %d" % tx_num in out,
-                        "Fail to stop txq at runtime")
+            if self.nic == "cavium_a063":
+                self.verify("TX-packets: 0" in out,
+                            "Fail to stop txq at runtime")
+            else:
+                # Check Tx stopped queue only transmits qringsize-1 packets 
+                self.verify("TX-packets: %d" % tx_num in out,
+                            "Fail to stop txq at runtime")
             if chgflag == 1:
                 chg_qringsize = qringsize % 1024 + 256
                 if qringsize == 512:
-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-08-07  3:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-04 13:57 [dts] [PATCH] dynamic_queue: Fix Tx queue tests on cavium device pvukkisala
2019-07-10  5:25 ` Tu, Lijuan
2019-07-15  6:43 pvukkisala
2019-08-07  3:23 ` Tu, Lijuan

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).