From: <nareddy@marvell.com>
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
Date: Tue, 23 Apr 2019 18:03:58 +0530 [thread overview]
Message-ID: <1556022838-5655-1-git-send-email-nareddy@marvell.com> (raw)
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
next reply other threads:[~2019-04-23 12:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-23 12:33 nareddy [this message]
2019-04-23 20:48 ` Tu, Lijuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1556022838-5655-1-git-send-email-nareddy@marvell.com \
--to=nareddy@marvell.com \
--cc=avijay@marvell.com \
--cc=dts@dpdk.org \
--cc=fmasood@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).