* [dts] [PATCH] tests pmd: fix perf_pmd_performance_4ports case failed issue.
@ 2015-11-09 3:19 Ding Heng
2015-11-09 7:14 ` Liu, Yong
0 siblings, 1 reply; 2+ messages in thread
From: Ding Heng @ 2015-11-09 3:19 UTC (permalink / raw)
To: dts; +Cc: Ding Heng
Modify a variable name to avoid this issue.
Signed-off-by: Ding Heng <hengx.ding@intel.com>
diff --git a/tests/TestSuite_pmd.py b/tests/TestSuite_pmd.py
index 525ed02..29dec2b 100644
--- a/tests/TestSuite_pmd.py
+++ b/tests/TestSuite_pmd.py
@@ -154,12 +154,13 @@ class TestPmd(TestCase,IxiaPacketGenerator):
port_mask = dts.create_mask(self.dut.get_ports())
self.pmdout.start_testpmd("all", "--coremask=%s --rxq=%d --txq=%d --portmask=%s --rss-ip" % (core_mask, queues, queues, port_mask))
+ command_line = self.pmdout.get_pmd_cmd()
info = "Executing PMD (mac fwd) using %s\n" % test_cycle['cores']
dts.report(info, annex=True)
self.logger.info(info)
- dts.report(commandLine + "\n\n", frame=True, annex=True)
+ dts.report(command_line + "\n\n", frame=True, annex=True)
# self.dut.send_expect("set fwd mac", "testpmd> ", 100)
self.dut.send_expect("start", "testpmd> ")
--
1.9.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH] tests pmd: fix perf_pmd_performance_4ports case failed issue.
2015-11-09 3:19 [dts] [PATCH] tests pmd: fix perf_pmd_performance_4ports case failed issue Ding Heng
@ 2015-11-09 7:14 ` Liu, Yong
0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2015-11-09 7:14 UTC (permalink / raw)
To: Ding Heng, dts
Applied. Thanks.
On 11/09/2015 11:19 AM, Ding Heng wrote:
> Modify a variable name to avoid this issue.
>
> Signed-off-by: Ding Heng <hengx.ding@intel.com>
>
> diff --git a/tests/TestSuite_pmd.py b/tests/TestSuite_pmd.py
> index 525ed02..29dec2b 100644
> --- a/tests/TestSuite_pmd.py
> +++ b/tests/TestSuite_pmd.py
> @@ -154,12 +154,13 @@ class TestPmd(TestCase,IxiaPacketGenerator):
> port_mask = dts.create_mask(self.dut.get_ports())
>
> self.pmdout.start_testpmd("all", "--coremask=%s --rxq=%d --txq=%d --portmask=%s --rss-ip" % (core_mask, queues, queues, port_mask))
> + command_line = self.pmdout.get_pmd_cmd()
>
> info = "Executing PMD (mac fwd) using %s\n" % test_cycle['cores']
> dts.report(info, annex=True)
> self.logger.info(info)
>
> - dts.report(commandLine + "\n\n", frame=True, annex=True)
> + dts.report(command_line + "\n\n", frame=True, annex=True)
>
> # self.dut.send_expect("set fwd mac", "testpmd> ", 100)
> self.dut.send_expect("start", "testpmd> ")
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-09 7:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-09 3:19 [dts] [PATCH] tests pmd: fix perf_pmd_performance_4ports case failed issue Ding Heng
2015-11-09 7:14 ` Liu, Yong
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).