* [dts] [PATCH V1] fix test case can't get ports
@ 2015-06-18 3:33 huilong,xu
2015-06-19 0:44 ` Liu, Yong
0 siblings, 1 reply; 2+ messages in thread
From: huilong,xu @ 2015-06-18 3:33 UTC (permalink / raw)
To: dts
From: huilong xu <huilongx.xu@intel.com>
issue:
test case can't get ports when used port config replace port map
fix:
not check dut port ipv6 connect stats
# Please enter the commit message for your changes. Lines starting
Signed-off-by: huilong xu <huilongx.xu@intel.com>
---
framework/dut.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/framework/dut.py b/framework/dut.py
index a9b4ed0..7762958 100644
--- a/framework/dut.py
+++ b/framework/dut.py
@@ -394,9 +394,8 @@ class Dut(Crb):
if (socket is None or
port_info['numa'] == -1 or
socket == port_info['numa']):
- # port has link
- if (port_info['ipv6'] != "Not connected" and
- self.tester.get_local_port(portid) != -1):
+ # port has link,
+ if self.tester.get_local_port(portid) != -1:
ports.append(portid)
return ports
--
1.7.4.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH V1] fix test case can't get ports
2015-06-18 3:33 [dts] [PATCH V1] fix test case can't get ports huilong,xu
@ 2015-06-19 0:44 ` Liu, Yong
0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2015-06-19 0:44 UTC (permalink / raw)
To: Xu, HuilongX, dts
Thanks, applied into master branch.
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of huilong,xu
> Sent: Thursday, June 18, 2015 11:34 AM
> To: dts@dpdk.org
> Subject: [dts] [PATCH V1] fix test case can't get ports
>
> From: huilong xu <huilongx.xu@intel.com>
>
> issue:
> test case can't get ports when used port config replace port map
> fix:
> not check dut port ipv6 connect stats
>
> # Please enter the commit message for your changes. Lines starting
>
> Signed-off-by: huilong xu <huilongx.xu@intel.com>
> ---
> framework/dut.py | 5 ++---
> 1 files changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/framework/dut.py b/framework/dut.py
> index a9b4ed0..7762958 100644
> --- a/framework/dut.py
> +++ b/framework/dut.py
> @@ -394,9 +394,8 @@ class Dut(Crb):
> if (socket is None or
> port_info['numa'] == -1 or
> socket == port_info['numa']):
> - # port has link
> - if (port_info['ipv6'] != "Not connected" and
> - self.tester.get_local_port(portid) != -1):
> + # port has link,
> + if self.tester.get_local_port(portid) != -1:
> ports.append(portid)
> return ports
>
> --
> 1.7.4.4
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-19 0:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-18 3:33 [dts] [PATCH V1] fix test case can't get ports huilong,xu
2015-06-19 0:44 ` 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).