[dts] [PATCH] dynamic_queue.py: Adding max_pools parameter for cavium_a063
Tu, Lijuan
lijuan.tu at intel.com
Tue Apr 23 22:48:19 CEST 2019
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of
> nareddy at marvell.com
> Sent: Tuesday, April 23, 2019 5:34 AM
> To: dts at dpdk.org
> Cc: fmasood at marvell.com; avijay at marvell.com; Praneeth Reddy
> <nareddy at marvell.com>
> Subject: [dts] [PATCH] dynamic_queue.py: Adding max_pools parameter for
> cavium_a063
>
> From: Praneeth Reddy <nareddy at marvell.com>
>
> With cavium_a063, to allocate dynamic queues max_pools parameter is
> required in testpmd application.
>
> Signed-off-by: Praneeth Reddy <nareddy at 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
More information about the dts
mailing list