From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 28D2EC528 for ; Thu, 18 Jun 2015 05:33:40 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP; 17 Jun 2015 20:33:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,636,1427785200"; d="scan'208";a="510132989" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by FMSMGA003.fm.intel.com with ESMTP; 17 Jun 2015 20:33:39 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t5I3Xbao019038; Thu, 18 Jun 2015 11:33:37 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t5I3XYPl017927; Thu, 18 Jun 2015 11:33:36 +0800 Received: (from huilongx@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t5I3XYgm017923; Thu, 18 Jun 2015 11:33:34 +0800 From: "huilong,xu" To: dts@dpdk.org Date: Thu, 18 Jun 2015 11:33:33 +0800 Message-Id: <1434598413-17893-1-git-send-email-huilongx.xu@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dts] [PATCH V1] fix test case can't get ports X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 03:33:40 -0000 From: huilong xu 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 --- 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