test suite reviews and discussions
 help / color / mirror / Atom feed
From: Xie Wei <weix.xie@intel.com>
To: dts@dpdk.org
Cc: Haiyang Zhao <haiyangx.zhao@intel.com>, Xie Wei <weix.xie@intel.com>
Subject: [dts]  [PATCH V1] tests/port_representor:set the number of mbufs
Date: Fri, 10 Jan 2020 15:16:20 +0800	[thread overview]
Message-ID: <1578640580-35594-1-git-send-email-weix.xie@intel.com> (raw)

From: Haiyang Zhao <haiyangx.zhao@intel.com>

Set the number of mbufs to fix not enough memory on i686 architecture

Signed-off-by: Xie Wei <weix.xie@intel.com>
---
 tests/TestSuite_port_representor.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_port_representor.py b/tests/TestSuite_port_representor.py
index 4bf7274..893123a 100644
--- a/tests/TestSuite_port_representor.py
+++ b/tests/TestSuite_port_representor.py
@@ -104,14 +104,14 @@ class TestPortRepresentor(TestCase):
         self.vf_flag = 0
 
     def testpmd_pf(self):
-        self.pmdout_pf.start_testpmd("Default", eal_param="-w %s,representor=0-1" % self.pf_pci, param="--port-topology=chained")
+        self.pmdout_pf.start_testpmd("Default", eal_param="-w %s,representor=0-1" % self.pf_pci, param="--port-topology=chained --total-num-mbufs=120000")
 
     def testpmd_vf0(self):
-        self.out_vf0 = self.pmdout_vf0.start_testpmd("Default", eal_param="-w %s --file-prefix testpmd-vf0" % self.vfs_pci[0])
+        self.out_vf0 = self.pmdout_vf0.start_testpmd("Default", eal_param="-w %s --file-prefix testpmd-vf0" % self.vfs_pci[0], param="--total-num-mbufs=120000")
         self.vf0_mac = self.pmdout_vf0.get_port_mac(0)
 
     def testpmd_vf1(self):
-        self.out_vf1 = self.pmdout_vf1.start_testpmd("Default", eal_param="-w %s --file-prefix testpmd-vf1" % self.vfs_pci[1])
+        self.out_vf1 = self.pmdout_vf1.start_testpmd("Default", eal_param="-w %s --file-prefix testpmd-vf1" % self.vfs_pci[1], param="--total-num-mbufs=120000")
         self.vf1_mac = self.pmdout_vf1.get_port_mac(0)
 
     def check_port_stats(self):
-- 
2.17.2


             reply	other threads:[~2020-01-10  7:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-10  7:16 Xie Wei [this message]
2020-01-10  7:29 ` 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=1578640580-35594-1-git-send-email-weix.xie@intel.com \
    --to=weix.xie@intel.com \
    --cc=dts@dpdk.org \
    --cc=haiyangx.zhao@intel.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).