test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] TestSuite_dynamic_queue.py: max_pools parameter is required for cavium_a064
@ 2019-08-09  4:13 nareddy
  2019-08-12  6:52 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: nareddy @ 2019-08-09  4:13 UTC (permalink / raw)
  To: dts; +Cc: fmasood, avijay, Praneeth Reddy

From: Praneeth Reddy <nareddy@marvell.com>

To assign tx and rx queues max_pools parameter is required for cavium_a064

Signed-off-by: Praneeth Reddy <nareddy@marvell.com>
---
 tests/TestSuite_dynamic_queue.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_dynamic_queue.py b/tests/TestSuite_dynamic_queue.py
index 89373bc..dd05eab 100644
--- a/tests/TestSuite_dynamic_queue.py
+++ b/tests/TestSuite_dynamic_queue.py
@@ -33,7 +33,7 @@ class TestDynamicQueue(TestCase):
             self.dut_testpmd.start_testpmd(
                 "all", "--port-topology=chained --txq=%s --rxq=%s"
                 % (self.PF_QUEUE, self.PF_QUEUE))
-        elif (self.nic in ["cavium_a063"]):
+        elif (self.nic in ["cavium_a063", "cavium_a064"]):
             eal_opts = ""
             for port in self.dut_ports:
                 eal_opts += "-w %s,max_pools=256 "%(self.dut.get_port_pci(self.dut_ports[port]))
@@ -152,7 +152,7 @@ class TestDynamicQueue(TestCase):
             out = self.dut_testpmd.execute_cmd('stop')
             tx_num = qringsize - 1
 
-            if self.nic == "cavium_a063":
+            if (self.nic in ["cavium_a063", "cavium_a064"]):
                 self.verify("TX-packets: 0" in out,
                             "Fail to stop txq at runtime")
             else:
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH] TestSuite_dynamic_queue.py: max_pools parameter is required for cavium_a064
  2019-08-09  4:13 [dts] [PATCH] TestSuite_dynamic_queue.py: max_pools parameter is required for cavium_a064 nareddy
@ 2019-08-12  6:52 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-08-12  6:52 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: Friday, August 9, 2019 12:14 PM
> To: dts@dpdk.org
> Cc: fmasood@marvell.com; avijay@marvell.com; Praneeth Reddy
> <nareddy@marvell.com>
> Subject: [dts] [PATCH] TestSuite_dynamic_queue.py: max_pools parameter is
> required for cavium_a064
> 
> From: Praneeth Reddy <nareddy@marvell.com>
> 
> To assign tx and rx queues max_pools parameter is required for
> cavium_a064
> 
> Signed-off-by: Praneeth Reddy <nareddy@marvell.com>
> ---
>  tests/TestSuite_dynamic_queue.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/TestSuite_dynamic_queue.py
> b/tests/TestSuite_dynamic_queue.py
> index 89373bc..dd05eab 100644
> --- a/tests/TestSuite_dynamic_queue.py
> +++ b/tests/TestSuite_dynamic_queue.py
> @@ -33,7 +33,7 @@ class TestDynamicQueue(TestCase):
>              self.dut_testpmd.start_testpmd(
>                  "all", "--port-topology=chained --txq=%s --rxq=%s"
>                  % (self.PF_QUEUE, self.PF_QUEUE))
> -        elif (self.nic in ["cavium_a063"]):
> +        elif (self.nic in ["cavium_a063", "cavium_a064"]):
>              eal_opts = ""
>              for port in self.dut_ports:
>                  eal_opts += "-w %s,max_pools=256
> "%(self.dut.get_port_pci(self.dut_ports[port]))
> @@ -152,7 +152,7 @@ class TestDynamicQueue(TestCase):
>              out = self.dut_testpmd.execute_cmd('stop')
>              tx_num = qringsize - 1
> 
> -            if self.nic == "cavium_a063":
> +            if (self.nic in ["cavium_a063", "cavium_a064"]):
>                  self.verify("TX-packets: 0" in out,
>                              "Fail to stop txq at runtime")
>              else:
> --
> 1.8.3.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-12  6:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-09  4:13 [dts] [PATCH] TestSuite_dynamic_queue.py: max_pools parameter is required for cavium_a064 nareddy
2019-08-12  6:52 ` 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).