test suite reviews and discussions
 help / color / mirror / Atom feed
From: <nareddy@marvell.com>
To: <dts@dpdk.org>
Cc: <fmasood@marvell.com>, <avijay@marvell.com>,
	Praneeth Reddy <nareddy@marvell.com>
Subject: [dts] [PATCH] TestSuite_vlan_ethertype_config.py: only tpid 0x8100 is supported for cavium_a064
Date: Mon, 12 Aug 2019 13:35:02 +0530	[thread overview]
Message-ID: <1565597102-7273-1-git-send-email-nareddy@marvell.com> (raw)

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


             reply	other threads:[~2019-08-12  8:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-12  8:05 nareddy [this message]
2019-08-21  9:29 ` Tu, Lijuan

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=1565597102-7273-1-git-send-email-nareddy@marvell.com \
    --to=nareddy@marvell.com \
    --cc=avijay@marvell.com \
    --cc=dts@dpdk.org \
    --cc=fmasood@marvell.com \
    /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).