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 180435B17 for ; Tue, 27 Jan 2015 04:33:54 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP; 26 Jan 2015 19:33:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,472,1418112000"; d="scan'208";a="518034082" Received: from pgsmsx107.gar.corp.intel.com ([10.221.44.105]) by orsmga003.jf.intel.com with ESMTP; 26 Jan 2015 19:26:31 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.110.14) by PGSMSX107.gar.corp.intel.com (10.221.44.105) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 27 Jan 2015 11:33:32 +0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.64]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.192]) with mapi id 14.03.0195.001; Tue, 27 Jan 2015 11:33:30 +0800 From: "Qiu, Michael" To: "Liu, Yong" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH] framework: fix not convert port numa to int Thread-Index: AQHQOcm1IJe3XJ0QNE68Yf623xuSCA== Date: Tue, 27 Jan 2015 03:33:30 +0000 Message-ID: <533710CFB86FA344BFBF2D6802E60286CBA7D5@SHSMSX101.ccr.corp.intel.com> References: <1422319137-25506-1-git-send-email-yong.liu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH] framework: fix not convert port numa to int 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: Tue, 27 Jan 2015 03:33:55 -0000 On 1/27/2015 8:39 AM, Yong Liu wrote:=0A= > Signed-off-by: Marvinliu =0A= > ---=0A= > framework/config.py | 5 ++++-=0A= > 1 file changed, 4 insertions(+), 1 deletion(-)=0A= >=0A= > diff --git a/framework/config.py b/framework/config.py=0A= > index 140c84b..948609a 100755=0A= > --- a/framework/config.py=0A= > +++ b/framework/config.py=0A= > @@ -79,7 +79,10 @@ class UserConf():=0A= > =0A= > for param in port.split(','):=0A= > (key, _, value) =3D param.partition('=3D')=0A= > - portDict[key] =3D value=0A= > + if key =3D=3D 'numa':=0A= > + portDict[key] =3D int(value)=0A= > + else:=0A= > + portDict[key] =3D value=0A= > return portDict=0A= > =0A= > =0A= Acked-by: Michael Qiu =0A=