test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] dynamic_queue.py: Adding max_pools parameter for cavium_a063
@ 2019-04-23 12:33 nareddy
  2019-04-23 20:48 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: nareddy @ 2019-04-23 12:33 UTC (permalink / raw)
  To: dts; +Cc: fmasood, avijay, Praneeth Reddy

From: Praneeth Reddy <nareddy@marvell.com>

With cavium_a063, to allocate dynamic queues max_pools parameter is required in testpmd application.

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

diff --git a/tests/TestSuite_dynamic_queue.py b/tests/TestSuite_dynamic_queue.py
index 8e3fdb9..3aad63f 100644
--- a/tests/TestSuite_dynamic_queue.py
+++ b/tests/TestSuite_dynamic_queue.py
@@ -33,6 +33,13 @@ class TestDynamicQueue(TestCase):
                 "Default", "--port-topology=chained --txq=%s --rxq=%s"
                 % (self.PF_QUEUE, self.PF_QUEUE), eal_param="-w %s"
                 % (self.dut.get_port_pci(self.dut_ports[0])))
+        elif (self.nic in ["cavium_a063"]):
+            eal_opts = ""
+            for port in self.dut_ports:
+                eal_opts += "-w %s,max_pools=256 "%(self.dut.get_port_pci(self.dut_ports[port]))
+            self.dut_testpmd.start_testpmd(
+                "Default", "--port-topology=chained --txq=%s --rxq=%s"
+                % (self.PF_QUEUE, self.PF_QUEUE), eal_param = eal_opts)
         else:
             self.dut_testpmd.start_testpmd(
                 "Default", "--port-topology=chained --txq=%s --rxq=%s"
-- 
1.8.3.1


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

* Re: [dts] [PATCH] dynamic_queue.py: Adding max_pools parameter for cavium_a063
  2019-04-23 12:33 [dts] [PATCH] dynamic_queue.py: Adding max_pools parameter for cavium_a063 nareddy
@ 2019-04-23 20:48 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-04-23 20:48 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: Tuesday, April 23, 2019 5:34 AM
> To: dts@dpdk.org
> Cc: fmasood@marvell.com; avijay@marvell.com; Praneeth Reddy
> <nareddy@marvell.com>
> Subject: [dts] [PATCH] dynamic_queue.py: Adding max_pools parameter for
> cavium_a063
> 
> From: Praneeth Reddy <nareddy@marvell.com>
> 
> With cavium_a063, to allocate dynamic queues max_pools parameter is
> required in testpmd application.
> 
> Signed-off-by: Praneeth Reddy <nareddy@marvell.com>
> ---
>  tests/TestSuite_dynamic_queue.py | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/tests/TestSuite_dynamic_queue.py
> b/tests/TestSuite_dynamic_queue.py
> index 8e3fdb9..3aad63f 100644
> --- a/tests/TestSuite_dynamic_queue.py
> +++ b/tests/TestSuite_dynamic_queue.py
> @@ -33,6 +33,13 @@ class TestDynamicQueue(TestCase):
>                  "Default", "--port-topology=chained --txq=%s --rxq=%s"
>                  % (self.PF_QUEUE, self.PF_QUEUE), eal_param="-w %s"
>                  % (self.dut.get_port_pci(self.dut_ports[0])))
> +        elif (self.nic in ["cavium_a063"]):
> +            eal_opts = ""
> +            for port in self.dut_ports:
> +                eal_opts += "-w %s,max_pools=256
> "%(self.dut.get_port_pci(self.dut_ports[port]))
> +            self.dut_testpmd.start_testpmd(
> +                "Default", "--port-topology=chained --txq=%s --rxq=%s"
> +                % (self.PF_QUEUE, self.PF_QUEUE), eal_param = eal_opts)
>          else:
>              self.dut_testpmd.start_testpmd(
>                  "Default", "--port-topology=chained --txq=%s --rxq=%s"
> --
> 1.8.3.1


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

end of thread, other threads:[~2019-04-23 20:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-23 12:33 [dts] [PATCH] dynamic_queue.py: Adding max_pools parameter for cavium_a063 nareddy
2019-04-23 20:48 ` 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).