[dts] [PATCH V1] tests/port_representor:set the number of mbufs
Tu, Lijuan
lijuan.tu at intel.com
Fri Jan 10 08:29:58 CET 2020
applied
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Xie Wei
> Sent: Friday, January 10, 2020 3:16 PM
> To: dts at dpdk.org
> Cc: Zhao, HaiyangX <haiyangx.zhao at intel.com>; Xie, WeiX
> <weix.xie at intel.com>
> Subject: [dts] [PATCH V1] tests/port_representor:set the number of mbufs
>
> From: Haiyang Zhao <haiyangx.zhao at intel.com>
>
> Set the number of mbufs to fix not enough memory on i686 architecture
>
> Signed-off-by: Xie Wei <weix.xie at 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
More information about the dts
mailing list