From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Xie, WeiX" <weix.xie@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Zhao, HaiyangX" <haiyangx.zhao@intel.com>,
"Xie, WeiX" <weix.xie@intel.com>
Subject: Re: [dts] [PATCH V1] tests/port_representor:set the number of mbufs
Date: Fri, 10 Jan 2020 07:29:58 +0000 [thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBA54F9@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1578640580-35594-1-git-send-email-weix.xie@intel.com>
applied
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xie Wei
> Sent: Friday, January 10, 2020 3:16 PM
> To: dts@dpdk.org
> Cc: Zhao, HaiyangX <haiyangx.zhao@intel.com>; Xie, WeiX
> <weix.xie@intel.com>
> Subject: [dts] [PATCH V1] tests/port_representor:set the number of mbufs
>
> 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
prev parent reply other threads:[~2020-01-10 7:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-10 7:16 Xie Wei
2020-01-10 7:29 ` Tu, Lijuan [this message]
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=8CE3E05A3F976642AAB0F4675D0AD20E0BBA54F9@SHSMSX101.ccr.corp.intel.com \
--to=lijuan.tu@intel.com \
--cc=dts@dpdk.org \
--cc=haiyangx.zhao@intel.com \
--cc=weix.xie@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).