test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH] TestSuite_vlan_ethertype_config.py: only tpid 0x8100 is supported for cavium_a064
@ 2019-08-12  8:05 nareddy
  0 siblings, 0 replies; only message in thread
From: nareddy @ 2019-08-12  8:05 UTC (permalink / raw)
  To: dts; +Cc: fmasood, avijay, Praneeth Reddy

From: Praneeth Reddy <nareddy@marvell.com>

Only tpid 0x8100 is supported for cavium_a064

Signed-off-by: Praneeth Reddy <nareddy@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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-12  8:05 [dts] [PATCH] TestSuite_vlan_ethertype_config.py: only tpid 0x8100 is supported for cavium_a064 nareddy

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox