test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/tso :fix syntax issue
@ 2019-06-25 16:15 zhaomeijuan
  2019-06-26  8:09 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: zhaomeijuan @ 2019-06-25 16:15 UTC (permalink / raw)
  To: dts; +Cc: zhaomeijuan

Signed-off-by: zhaomeijuan <meijuanx.zhao@intel.com>
---
 tests/TestSuite_tso.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_tso.py b/tests/TestSuite_tso.py
index fd4879d..34294cc 100644
--- a/tests/TestSuite_tso.py
+++ b/tests/TestSuite_tso.py
@@ -360,7 +360,6 @@ class TestTSO(TestCase):
                 queues = 1
 
             command_line = "./%s/app/testpmd -c %s -n %d %s -- -i --rxd=512 --txd=512 --burst=32 --rxfreet=64 --mbcache=128 --portmask=%s --txpt=36 --txht=0 --txwt=0 --txfreet=32 --txrst=32 " % (self.target, self.coreMask, self.dut.get_memory_channels(), self.blacklist, self.portMask)
->>>>>>> next
             info = "Executing PMD using %s\n" % test_cycle['cores']
             self.logger.info(info)
             self.rst_report(info, annex=True)
@@ -409,8 +408,8 @@ class TestTSO(TestCase):
                 _, pps = self.tester.pktgen.measure_throughput(stream_ids=streams)
 
                 pps /= 1000000.0
-                test_cycle['Mpps'][frame_size] = pps
-                test_cycle['pct'][frame_size] = pps * 100 / wirespeed
+                test_cycle['Mpps'][loading_size] = pps
+                test_cycle['pct'][loading_size] = pps * 100 / wirespeed
 
             self.dut.send_expect("stop", "testpmd> ")
             self.dut.send_expect("quit", "# ", 30)
-- 
2.17.1


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

* Re: [dts] [PATCH V1] tests/tso :fix syntax issue
  2019-06-25 16:15 [dts] [PATCH V1] tests/tso :fix syntax issue zhaomeijuan
@ 2019-06-26  8:09 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-06-26  8:09 UTC (permalink / raw)
  To: Zhao, MeijuanX, dts; +Cc: Zhao, MeijuanX

Applied, thanks


> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhaomeijuan
> Sent: Wednesday, June 26, 2019 12:15 AM
> To: dts@dpdk.org
> Cc: Zhao, MeijuanX <meijuanx.zhao@intel.com>
> Subject: [dts] [PATCH V1] tests/tso :fix syntax issue
> 
> Signed-off-by: zhaomeijuan <meijuanx.zhao@intel.com>
> ---
>  tests/TestSuite_tso.py | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/tests/TestSuite_tso.py b/tests/TestSuite_tso.py index
> fd4879d..34294cc 100644
> --- a/tests/TestSuite_tso.py
> +++ b/tests/TestSuite_tso.py
> @@ -360,7 +360,6 @@ class TestTSO(TestCase):
>                  queues = 1
> 
>              command_line = "./%s/app/testpmd -c %s -n %d %s -- -i --rxd=512 --
> txd=512 --burst=32 --rxfreet=64 --mbcache=128 --portmask=%s --txpt=36 --
> txht=0 --txwt=0 --txfreet=32 --txrst=32 " % (self.target, self.coreMask,
> self.dut.get_memory_channels(), self.blacklist, self.portMask)
> ->>>>>>> next
>              info = "Executing PMD using %s\n" % test_cycle['cores']
>              self.logger.info(info)
>              self.rst_report(info, annex=True) @@ -409,8 +408,8 @@ class
> TestTSO(TestCase):
>                  _, pps =
> self.tester.pktgen.measure_throughput(stream_ids=streams)
> 
>                  pps /= 1000000.0
> -                test_cycle['Mpps'][frame_size] = pps
> -                test_cycle['pct'][frame_size] = pps * 100 / wirespeed
> +                test_cycle['Mpps'][loading_size] = pps
> +                test_cycle['pct'][loading_size] = pps * 100 / wirespeed
> 
>              self.dut.send_expect("stop", "testpmd> ")
>              self.dut.send_expect("quit", "# ", 30)
> --
> 2.17.1


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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-25 16:15 [dts] [PATCH V1] tests/tso :fix syntax issue zhaomeijuan
2019-06-26  8:09 ` 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).