From: Jiale Song <songx.jiale@intel.com>
To: dts@dpdk.org
Cc: Jiale Song <songx.jiale@intel.com>
Subject: [dts] [PATCH V1] tests/vlan_ethertype_config: fix script
Date: Fri, 27 May 2022 14:07:28 +0800 [thread overview]
Message-ID: <20220527060728.180550-1-songx.jiale@intel.com> (raw)
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
next reply other threads:[~2022-05-27 6:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-27 6:07 Jiale Song [this message]
2022-05-28 8:35 ` lijuan.tu
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=20220527060728.180550-1-songx.jiale@intel.com \
--to=songx.jiale@intel.com \
--cc=dts@dpdk.org \
/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).