From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 2A8D52934 for ; Wed, 26 Oct 2016 09:37:55 +0200 (CEST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP; 26 Oct 2016 00:37:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,549,1473145200"; d="scan'208";a="23739674" Received: from stv-crb-56.sh.intel.com (HELO [10.239.128.116]) ([10.239.128.116]) by fmsmga006.fm.intel.com with ESMTP; 26 Oct 2016 00:37:53 -0700 Message-ID: <58105D84.80706@intel.com> Date: Wed, 26 Oct 2016 15:38:44 +0800 From: "Liu, Yong" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "xu,gang" , dts@dpdk.org References: <1476958325-11131-1-git-send-email-gangx.xu@intel.com> In-Reply-To: <1476958325-11131-1-git-send-email-gangx.xu@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [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: Wed, 26 Oct 2016 07:37:55 -0000 Thanks gang. Applied. On 10/20/2016 06:12 PM, xu,gang wrote: > 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))