From: "Qiu, Michael" <michael.qiu@intel.com>
To: "Liu, Yong" <yong.liu@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH] framework: fix not convert port numa to int
Date: Tue, 27 Jan 2015 03:33:30 +0000 [thread overview]
Message-ID: <533710CFB86FA344BFBF2D6802E60286CBA7D5@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1422319137-25506-1-git-send-email-yong.liu@intel.com>
On 1/27/2015 8:39 AM, Yong Liu wrote:
> Signed-off-by: Marvinliu <yong.liu@intel.com>
> ---
> framework/config.py | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/framework/config.py b/framework/config.py
> index 140c84b..948609a 100755
> --- a/framework/config.py
> +++ b/framework/config.py
> @@ -79,7 +79,10 @@ class UserConf():
>
> for param in port.split(','):
> (key, _, value) = param.partition('=')
> - portDict[key] = value
> + if key == 'numa':
> + portDict[key] = int(value)
> + else:
> + portDict[key] = value
> return portDict
>
>
Acked-by: Michael Qiu <michael.qiu@intel.com>
prev parent reply other threads:[~2015-01-27 3:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-27 0:38 Yong Liu
2015-01-27 3:33 ` Qiu, Michael [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=533710CFB86FA344BFBF2D6802E60286CBA7D5@SHSMSX101.ccr.corp.intel.com \
--to=michael.qiu@intel.com \
--cc=dts@dpdk.org \
--cc=yong.liu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).