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 9A5E5CE7 for ; Thu, 20 Oct 2016 12:10:36 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 20 Oct 2016 03:10:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,518,1473145200"; d="scan'208";a="1073109324" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by fmsmga002.fm.intel.com with ESMTP; 20 Oct 2016 03:10:35 -0700 From: "xu,gang" To: dts@dpdk.org Cc: "xu,gang" Date: Thu, 20 Oct 2016 18:12:05 +0800 Message-Id: <1476958325-11131-1-git-send-email-gangx.xu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] fix can't get lcore array 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, 20 Oct 2016 10:10:37 -0000 fix can't get lcore array according to the core config like "1S/10C/1T" Signed-off-by: xu,gang --- framework/crb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/crb.py b/framework/crb.py index cddda93..a8e308a 100644 --- a/framework/crb.py +++ b/framework/crb.py @@ -607,7 +607,7 @@ class Crb(object): if config == 'all': return [n['thread'] for n in self.cores] - m = re.match("([1234])S/([1-9]+)C/([12])T", config) + m = re.match("([1234])S/([0-9]+)C/([12])T", config) if m: nr_sockets = int(m.group(1)) -- 1.9.3