test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [next][PATCH V1] tests/fm10k_perf fix syntax error
@ 2019-06-10 17:26 zhaomeijuan
  2019-06-26  9:11 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: zhaomeijuan @ 2019-06-10 17:26 UTC (permalink / raw)
  To: dts; +Cc: zhaomeijuan

Signed-off-by: zhaomeijuan <meijuanx.zhao@intel.com>
---
 tests/TestSuite_fm10k_perf.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_fm10k_perf.py b/tests/TestSuite_fm10k_perf.py
index b18d0d5..a991ee9 100644
--- a/tests/TestSuite_fm10k_perf.py
+++ b/tests/TestSuite_fm10k_perf.py
@@ -136,6 +136,7 @@ class TestFM10kL3fwd(TestCase):
             self.dut.build_install_dpdk(self.target)
 
         self.l3fwd_test_results = {'header': [],
+                                   'data': []}
 
         self.rebuild_l3fwd()
 
@@ -500,9 +501,10 @@ class TestFM10kL3fwd(TestCase):
 
                         subtitle.append(cores)
                         cmdline = rtCmdLines[cores] % (TestFM10kL3fwd.path + "l3fwd_" + mode, coreMask[cores],
+                                                       self.dut.get_memory_channels(), utils.create_mask(valports[:2]))
 
                         if frame_size > 1518:
-                            cmdline = cmdline + "--max-pkt-len %d" % frame_size
+                            cmdline = cmdline + " --max-pkt-len %d" % frame_size
                         self.rst_report(cmdline + "\n", frame=True, annex=True)
 
                         out = self.dut.send_expect(cmdline, "L3FWD:", 120)
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [next][PATCH V1] tests/fm10k_perf fix syntax error
  2019-06-10 17:26 [dts] [next][PATCH V1] tests/fm10k_perf fix syntax error zhaomeijuan
@ 2019-06-26  9:11 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-06-26  9:11 UTC (permalink / raw)
  To: Zhao, MeijuanX, dts; +Cc: Zhao, MeijuanX

Applied into master branch

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhaomeijuan
> Sent: Tuesday, June 11, 2019 1:27 AM
> To: dts@dpdk.org
> Cc: Zhao, MeijuanX <meijuanx.zhao@intel.com>
> Subject: [dts] [next][PATCH V1] tests/fm10k_perf fix syntax error
> 
> Signed-off-by: zhaomeijuan <meijuanx.zhao@intel.com>
> ---
>  tests/TestSuite_fm10k_perf.py | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_fm10k_perf.py b/tests/TestSuite_fm10k_perf.py
> index b18d0d5..a991ee9 100644
> --- a/tests/TestSuite_fm10k_perf.py
> +++ b/tests/TestSuite_fm10k_perf.py
> @@ -136,6 +136,7 @@ class TestFM10kL3fwd(TestCase):
>              self.dut.build_install_dpdk(self.target)
> 
>          self.l3fwd_test_results = {'header': [],
> +                                   'data': []}
> 
>          self.rebuild_l3fwd()
> 
> @@ -500,9 +501,10 @@ class TestFM10kL3fwd(TestCase):
> 
>                          subtitle.append(cores)
>                          cmdline = rtCmdLines[cores] % (TestFM10kL3fwd.path +
> "l3fwd_" + mode, coreMask[cores],
> +
> + self.dut.get_memory_channels(), utils.create_mask(valports[:2]))
> 
>                          if frame_size > 1518:
> -                            cmdline = cmdline + "--max-pkt-len %d" % frame_size
> +                            cmdline = cmdline + " --max-pkt-len %d" %
> + frame_size
>                          self.rst_report(cmdline + "\n", frame=True, annex=True)
> 
>                          out = self.dut.send_expect(cmdline, "L3FWD:", 120)
> --
> 2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-26  9:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-10 17:26 [dts] [next][PATCH V1] tests/fm10k_perf fix syntax error zhaomeijuan
2019-06-26  9:11 ` Tu, Lijuan

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).