From: Jianwei Mei <jianweix.mei@intel.com>
To: dts@dpdk.org
Cc: zhaoyan.chen@intel.com, lihongx.ma@intel.com,
meijx <jianweix.mei@intel.com>
Subject: [dts] [PATCH V1 2/6] framework/config.py: deal with dut_cores parameter
Date: Sat, 28 Sep 2019 01:34:54 +0800 [thread overview]
Message-ID: <1569605698-316544-2-git-send-email-jianweix.mei@intel.com> (raw)
In-Reply-To: <1569605698-316544-1-git-send-email-jianweix.mei@intel.com>
From: meijx <jianweix.mei@intel.com>
deal with new parameter in config.py
Signed-off-by: meijx <jianweix.mei@intel.com>
---
framework/config.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/framework/config.py b/framework/config.py
index abb1469..7a8ca48 100644
--- a/framework/config.py
+++ b/framework/config.py
@@ -266,7 +266,7 @@ class CrbsConf(UserConf):
'pass': '', 'tester IP': '', 'tester pass': '',
IXIA: None, 'memory channels': 4,
PKTGEN: None,
- 'bypass core0': True}
+ 'bypass core0': True, 'dut_cores': ''}
def __init__(self, crbs_conf=CRBCONF):
self.config_file = crbs_conf
@@ -322,6 +322,8 @@ class CrbsConf(UserConf):
crb['board'] = value
elif key == 'dut_arch':
crb['dut arch'] = value
+ elif key == 'dut_cores':
+ crb['dut_cores'] = value
self.crbs_cfg.append(crb)
return self.crbs_cfg
--
1.8.3.1
next prev parent reply other threads:[~2019-09-27 8:48 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-27 17:34 [dts] [PATCH V1 1/6] conf/crbs.cfg:add " Jianwei Mei
2019-09-27 17:34 ` Jianwei Mei [this message]
2019-10-08 2:22 ` [dts] [PATCH V1 2/6] framework/config.py: deal with " Chen, Zhaoyan
2019-09-27 17:34 ` [dts] [PATCH V1 3/6] framework/crb.py: only scan configured ports from ports.cfg and overwrite kill all Jianwei Mei
2019-10-08 2:22 ` Chen, Zhaoyan
2019-09-27 17:34 ` [dts] [PATCH V1 4/6] framework/dut.py: add function create_eal_parameters Jianwei Mei
2019-10-08 2:22 ` Chen, Zhaoyan
2019-09-27 17:34 ` [dts] [PATCH V1 5/6] framework/pmd_output.py: overwrite function start_testpmd Jianwei Mei
2019-10-08 2:22 ` Chen, Zhaoyan
2019-09-27 17:34 ` [dts] [PATCH V1 6/6] framework/virt_dut.py: add prefix list for virt dut Jianwei Mei
2019-10-08 2:22 ` Chen, Zhaoyan
2019-10-08 2:22 ` [dts] [PATCH V1 1/6] conf/crbs.cfg:add dut_cores parameter Chen, Zhaoyan
2019-10-12 5:30 ` Tu, Lijuan
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=1569605698-316544-2-git-send-email-jianweix.mei@intel.com \
--to=jianweix.mei@intel.com \
--cc=dts@dpdk.org \
--cc=lihongx.ma@intel.com \
--cc=zhaoyan.chen@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).