[dts] [PATCH] TestSuite_vlan_ethertype_config.py: only tpid 0x8100 is supported for cavium_a064

Tu, Lijuan lijuan.tu at intel.com
Wed Aug 21 11:29:24 CEST 2019


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of
> nareddy at marvell.com
> Sent: Monday, August 12, 2019 4:05 PM
> To: dts at dpdk.org
> Cc: fmasood at marvell.com; avijay at marvell.com; Praneeth Reddy
> <nareddy at marvell.com>
> Subject: [dts] [PATCH] TestSuite_vlan_ethertype_config.py: only tpid 0x8100
> is supported for cavium_a064
> 
> 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