test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] dual_vlan: Skip qinq on tests in random and synthetic tests for cavium devices
@ 2019-09-06  5:07 pvukkisala
  2019-09-18 10:25 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: pvukkisala @ 2019-09-06  5:07 UTC (permalink / raw)
  To: dts; +Cc: avijay, fmasood, Phanendra Vukkisala

From: Phanendra Vukkisala <pvukkisala@marvell.com>

Configuring QinQ ON is not supported now in cavium devices

Signed-off-by: Phanendra Vukkisala <pvukkisala@marvell.com>
---
 conf/test_case_checklist.json |    4 +---
 tests/TestSuite_dual_vlan.py  |    3 +++
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/conf/test_case_checklist.json b/conf/test_case_checklist.json
index 71faa19..504a089 100644
--- a/conf/test_case_checklist.json
+++ b/conf/test_case_checklist.json
@@ -510,9 +510,7 @@
                 "fortpark_TLV",
                 "sagepond",
                 "sageville",
-                "cavium_a063",
-                "cavium_a064",
-		"carlsville"
+                "carlsville"
             ],
             "Target": [
                 "ALL"
diff --git a/tests/TestSuite_dual_vlan.py b/tests/TestSuite_dual_vlan.py
index f81fda1..9cb3879 100644
--- a/tests/TestSuite_dual_vlan.py
+++ b/tests/TestSuite_dual_vlan.py
@@ -205,6 +205,9 @@ class TestDualVlan(TestCase):
         temp.append("on") if (caseDef & stripCase) != 0 else temp.append("off")
         temp.append("on") if (caseDef & filterCase) != 0 else temp.append("off")
         temp.append("on") if (caseDef & qinqCase) != 0 else temp.append("off")
+        if (self.nic in ["cavium_a063", "cavium_a064"]) and temp[2] == "on":
+            ## Skip QinQ for cavium devices as it is not supported.
+            return
         self.mode_config(strip=temp[0], filter=temp[1], qinq=temp[2])
 
         if (caseDef & txCase) != 0:
-- 
1.7.9.5


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

end of thread, other threads:[~2019-09-18 10:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-06  5:07 [dts] [PATCH] dual_vlan: Skip qinq on tests in random and synthetic tests for cavium devices pvukkisala
2019-09-18 10:25 ` 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).