test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/vlan_ethertype_config: fix script
@ 2022-05-27  6:07 Jiale Song
  2022-05-28  8:35 ` lijuan.tu
  0 siblings, 1 reply; 2+ messages in thread
From: Jiale Song @ 2022-05-27  6:07 UTC (permalink / raw)
  To: dts; +Cc: Jiale Song

fix 2 issue:
  1.IGC-I225_LM only support '0x8100' tpid in rx mode.
  2.IGC-I225_LM not suport vlan qinq, add to checklist.

Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
 conf/test_case_checklist.json            | 3 ++-
 tests/TestSuite_vlan_ethertype_config.py | 6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/conf/test_case_checklist.json b/conf/test_case_checklist.json
index 2185fcaf..053841ce 100644
--- a/conf/test_case_checklist.json
+++ b/conf/test_case_checklist.json
@@ -2300,7 +2300,8 @@
                 "I40E_10G-SFP_X722",
                 "I40E_10G-10G_BASE_T_X722",
                 "cavium_a064",
-                "I40E_10G-10G_BASE_T_BC"
+                "I40E_10G-10G_BASE_T_BC",
+                "IGC-I225_LM"
             ],
             "Target": [
                 "ALL"
diff --git a/tests/TestSuite_vlan_ethertype_config.py b/tests/TestSuite_vlan_ethertype_config.py
index ce7f1c7b..43e36ead 100644
--- a/tests/TestSuite_vlan_ethertype_config.py
+++ b/tests/TestSuite_vlan_ethertype_config.py
@@ -209,7 +209,7 @@ class TestVlanEthertypeConfig(TestCase):
         self.dut.send_expect("vlan set strip off %s" % dutRxPortId, "testpmd> ", 20)
         rx_vlans = [1, random_vlan, MAX_VLAN]
         # caium_a063 card support only default '0x8100' tpid in rx mode
-        if self.nic in ["cavium_a063", "cavium_a064"]:
+        if self.nic in ["cavium_a063", "cavium_a064", "IGC-I225_LM"]:
             tpids = [0x8100]
         else:
             tpids = [0x8100, 0xA100]
@@ -242,7 +242,7 @@ class TestVlanEthertypeConfig(TestCase):
         self.dut.send_expect("start", "testpmd> ")
 
         # caium_a063 card support only default '0x8100' tpid in rx mode
-        if self.nic in ["cavium_a063", "cavium_a064"]:
+        if self.nic in ["cavium_a063", "cavium_a064", "IGC-I225_LM", "IGC-I225_LM"]:
             tpids = [0x8100]
         else:
             tpids = [0x8100, 0xA100]
@@ -275,7 +275,7 @@ class TestVlanEthertypeConfig(TestCase):
         self.dut.send_expect("start", "testpmd> ", 20)
 
         # caium_a063 card support only default '0x8100' tpid in rx mode
-        if self.nic in ["cavium_a063", "cavium_a064"]:
+        if self.nic in ["cavium_a063", "cavium_a064", "IGC-I225_LM"]:
             tpids = [0x8100]
         else:
             tpids = [0x8100, 0xA100]
-- 
2.25.1


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

* [dts] [PATCH V1] tests/vlan_ethertype_config: fix script
  2022-05-27  6:07 [dts] [PATCH V1] tests/vlan_ethertype_config: fix script Jiale Song
@ 2022-05-28  8:35 ` lijuan.tu
  0 siblings, 0 replies; 2+ messages in thread
From: lijuan.tu @ 2022-05-28  8:35 UTC (permalink / raw)
  To: dts, Jiale Song; +Cc: Jiale Song

On Fri, 27 May 2022 14:07:28 +0800, Jiale Song <songx.jiale@intel.com> wrote:
> fix 2 issue:
>   1.IGC-I225_LM only support '0x8100' tpid in rx mode.
>   2.IGC-I225_LM not suport vlan qinq, add to checklist.
> 
> Signed-off-by: Jiale Song <songx.jiale@intel.com>


Applied, thanks

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

end of thread, other threads:[~2022-05-28  8:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-27  6:07 [dts] [PATCH V1] tests/vlan_ethertype_config: fix script Jiale Song
2022-05-28  8:35 ` lijuan.tu

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