[dts] [PATCH] TestSuite_vlan_ethertype_config.py: only tpid 0x8100 is supported for cavium_a064
nareddy at marvell.com
nareddy at marvell.com
Mon Aug 12 10:05:02 CEST 2019
From: Praneeth Reddy <nareddy at marvell.com>
Only tpid 0x8100 is supported for cavium_a064
Signed-off-by: Praneeth Reddy <nareddy at marvell.com>
---
tests/TestSuite_vlan_ethertype_config.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/TestSuite_vlan_ethertype_config.py b/tests/TestSuite_vlan_ethertype_config.py
index 1cb1083..16063a4 100644
--- a/tests/TestSuite_vlan_ethertype_config.py
+++ b/tests/TestSuite_vlan_ethertype_config.py
@@ -199,7 +199,7 @@ class TestVlanEthertypeConfig(TestCase):
dutRxPortId, "testpmd> ", 20)
rx_vlans = [1, random_vlan, MAX_VLAN]
# caium_a063 card support only default '0x8100' tpid in rx mode
- if self.nic == "cavium_a063":
+ if (self.nic in ["cavium_a063", "cavium_a064"]):
tpids = [0x8100]
else:
tpids = [0x8100, 0xA100]
@@ -231,7 +231,7 @@ class TestVlanEthertypeConfig(TestCase):
self.dut.send_expect("start", "testpmd> ")
# caium_a063 card support only default '0x8100' tpid in rx mode
- if self.nic == "cavium_a063":
+ if (self.nic in ["cavium_a063", "cavium_a064"]):
tpids = [0x8100]
else:
tpids = [0x8100, 0xA100]
@@ -263,7 +263,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 == "cavium_a063":
+ if (self.nic in ["cavium_a063", "cavium_a064"]):
tpids = [0x8100]
else:
tpids = [0x8100, 0xA100]
@@ -292,7 +292,7 @@ class TestVlanEthertypeConfig(TestCase):
self.dut.send_expect("start", "testpmd> ")
# caium_a063 card support only default '0x8100' tpid in rx mode
- if self.nic == "cavium_a063":
+ if (self.nic in ["cavium_a063", "cavium_a064"]):
tpids = [0x8100]
else:
tpids = [0x8100, 0xA100]
--
1.8.3.1
More information about the dts
mailing list