test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] TestSuite_vlan_ethertype_config.py: only tpid 0x8100 is supported for cavium_a064
@ 2019-08-12  8:05 nareddy
  2019-08-21  9:29 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages 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] 2+ messages in thread

* Re: [dts] [PATCH] TestSuite_vlan_ethertype_config.py: only tpid 0x8100 is supported for cavium_a064
  2019-08-12  8:05 [dts] [PATCH] TestSuite_vlan_ethertype_config.py: only tpid 0x8100 is supported for cavium_a064 nareddy
@ 2019-08-21  9:29 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-08-21  9:29 UTC (permalink / raw)
  To: nareddy, dts; +Cc: fmasood, avijay

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of
> nareddy@marvell.com
> Sent: Monday, August 12, 2019 4:05 PM
> 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
> 
> 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] 2+ messages in thread

end of thread, other threads:[~2019-08-21  9:29 UTC | newest]

Thread overview: 2+ messages (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
2019-08-21  9:29 ` Tu, Lijuan

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).