From: "lu,peipei" <peipeix.lu@intel.com>
To: dts@dpdk.org
Cc: "lu,peipei" <peipeix.lu@intel.com>
Subject: [dts] [PATCH V1] tests/generic_filter: fix 128 queues failed
Date: Thu, 15 Mar 2018 15:18:09 +0800 [thread overview]
Message-ID: <1521098289-84785-1-git-send-email-peipeix.lu@intel.com> (raw)
remove parameter "--total-num-mbufs". the total_mbufs default was 128. please refer to dpdk fadd37f.
Signed-off-by: lu,peipei <peipeix.lu@intel.com>
---
tests/TestSuite_generic_filter.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/tests/TestSuite_generic_filter.py b/tests/TestSuite_generic_filter.py
index e62e351..c1901ac 100644
--- a/tests/TestSuite_generic_filter.py
+++ b/tests/TestSuite_generic_filter.py
@@ -693,10 +693,8 @@ class TestGeneric_filter(TestCase):
if self.kdriver == "ixgbe":
self.dut.send_expect("sed -i -e 's/#define IXGBE_NONE_MODE_TX_NB_QUEUES 64$/#define IXGBE_NONE_MODE_TX_NB_QUEUES 128/' drivers/net/ixgbe/ixgbe_ethdev.h", "# ",30)
self.dut.build_install_dpdk(self.target)
- global valports
- total_mbufs = self.request_mbufs(128) * len(valports)
self.pmdout.start_testpmd(
- "all", "--disable-rss --rxq=128 --txq=128 --portmask=%s --nb-cores=4 --total-num-mbufs=%d" % (portMask, total_mbufs))
+ "all", "--disable-rss --rxq=128 --txq=128 --portmask=%s --nb-cores=4" % portMask )
self.dut.send_expect(
"set stat_qmap rx %s 0 0" % valports[0], "testpmd> ")
self.dut.send_expect(
--
1.9.3
next reply other threads:[~2018-03-15 7:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-15 7:18 lu,peipei [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-03-21 9:23 [dts] [PATCH V1] tests/generic_filter:fix " lu,peipei
2018-03-23 10:07 ` Liu, Yong
2018-03-15 6:17 [dts] [PATCH V1] tests/generic_filter: fix " lu,peipei
2018-03-15 6:37 ` Tu, LijuanX A
2018-03-19 8:07 ` Liu, Yong
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=1521098289-84785-1-git-send-email-peipeix.lu@intel.com \
--to=peipeix.lu@intel.com \
--cc=dts@dpdk.org \
/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).