* [dts] fix failed case rss hash key size and set_promiscuousmode
@ 2015-07-20 3:06 huilong,xu
2015-07-20 4:06 ` Liu, Yong
0 siblings, 1 reply; 2+ messages in thread
From: huilong,xu @ 2015-07-20 3:06 UTC (permalink / raw)
To: dts
From: huilong xu <huilongx.xu@intel.com>
Signed-off-by: huilong xu <huilongx.xu@intel.com>
---
| 2 +-
tests/TestSuite_shutdown_api.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.py
index 9f9ba17..df9c16c 100644
--- a/tests/TestSuite_pmdrssreta.py
+++ b/tests/TestSuite_pmdrssreta.py
@@ -245,7 +245,7 @@ class TestPmdrssreta(TestCase):
if m is not None:
size = m.group(1)
print dts.GREEN("******************")
- print dts.GREEN("NIC %s hash size %d and expected %d" % (self.nic, size, nic_rss_key_size[self.nic]))
+ print dts.GREEN("NIC %s hash size %d and expected %d" % (self.nic, int(size), nic_rss_key_size[self.nic]))
if (nic_rss_key_size[self.nic] == int(size)):
self.verify(True, "pass")
else:
diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py
index ce9b8c0..482091a 100644
--- a/tests/TestSuite_shutdown_api.py
+++ b/tests/TestSuite_shutdown_api.py
@@ -214,7 +214,7 @@ class TestShutdownApi(TestCase):
"""
Promiscuous mode.
"""
- self.pmdout.start_testpmd("Default", "--portmask=%s" % dts.create_mask([self.ports[0], self.ports[1]]), self.ports_socket)
+ self.pmdout.start_testpmd("Default", "--portmask=%s" % dts.create_mask([self.ports[0], self.ports[1]]), socket = self.ports_socket)
self.dut.send_expect("port stop all", "testpmd> ", 100)
self.dut.send_expect("set promisc all off", "testpmd> ")
--
1.7.4.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] fix failed case rss hash key size and set_promiscuousmode
2015-07-20 3:06 [dts] fix failed case rss hash key size and set_promiscuousmode huilong,xu
@ 2015-07-20 4:06 ` Liu, Yong
0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2015-07-20 4:06 UTC (permalink / raw)
To: Xu, HuilongX, dts
Applied in 1.1 branch. Thanks.
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of huilong,xu
> Sent: Monday, July 20, 2015 11:06 AM
> To: dts@dpdk.org
> Subject: [dts] fix failed case rss hash key size and set_promiscuousmode
>
> From: huilong xu <huilongx.xu@intel.com>
>
>
> Signed-off-by: huilong xu <huilongx.xu@intel.com>
> ---
> tests/TestSuite_pmdrssreta.py | 2 +-
> tests/TestSuite_shutdown_api.py | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.py
> index 9f9ba17..df9c16c 100644
> --- a/tests/TestSuite_pmdrssreta.py
> +++ b/tests/TestSuite_pmdrssreta.py
> @@ -245,7 +245,7 @@ class TestPmdrssreta(TestCase):
> if m is not None:
> size = m.group(1)
> print dts.GREEN("******************")
> - print dts.GREEN("NIC %s hash size %d and expected %d" %
> (self.nic, size, nic_rss_key_size[self.nic]))
> + print dts.GREEN("NIC %s hash size %d and expected %d" %
> (self.nic, int(size), nic_rss_key_size[self.nic]))
> if (nic_rss_key_size[self.nic] == int(size)):
> self.verify(True, "pass")
> else:
> diff --git a/tests/TestSuite_shutdown_api.py
> b/tests/TestSuite_shutdown_api.py
> index ce9b8c0..482091a 100644
> --- a/tests/TestSuite_shutdown_api.py
> +++ b/tests/TestSuite_shutdown_api.py
> @@ -214,7 +214,7 @@ class TestShutdownApi(TestCase):
> """
> Promiscuous mode.
> """
> - self.pmdout.start_testpmd("Default", "--portmask=%s" %
> dts.create_mask([self.ports[0], self.ports[1]]), self.ports_socket)
> + self.pmdout.start_testpmd("Default", "--portmask=%s" %
> dts.create_mask([self.ports[0], self.ports[1]]), socket =
> self.ports_socket)
>
> self.dut.send_expect("port stop all", "testpmd> ", 100)
> self.dut.send_expect("set promisc all off", "testpmd> ")
> --
> 1.7.4.4
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-20 4:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-20 3:06 [dts] fix failed case rss hash key size and set_promiscuousmode huilong,xu
2015-07-20 4:06 ` 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).