[V1] tests/vlan_ethertype_config: fix script
Checks
Context |
Check |
Description |
ci/Intel-dts-format-test |
success
|
Testing OK
|
ci/Intel-dts-pylama-test |
success
|
Testing OK
|
ci/Intel-dts-suite-test |
success
|
Testing OK
|
Commit Message
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(-)
Comments
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
@@ -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"
@@ -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]