From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Ma, LihongX" <lihongx.ma@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Ma, LihongX" <lihongx.ma@intel.com>
Subject: Re: [dts] [PATCH V1 1/2] framework/dut: same prefix add once is enough
Date: Fri, 13 Mar 2020 06:30:09 +0000 [thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBEC736@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1583458010-1414-2-git-send-email-lihongx.ma@intel.com>
Applied the series, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of lihong
> Sent: Friday, March 6, 2020 9:27 AM
> To: dts@dpdk.org
> Cc: Ma, LihongX <lihongx.ma@intel.com>
> Subject: [dts] [PATCH V1 1/2] framework/dut: same prefix add once is
> enough
>
> Signed-off-by: lihong <lihongx.ma@intel.com>
> ---
> framework/dut.py | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/framework/dut.py b/framework/dut.py index 4b8bd3e..c3e7c86
> 100644
> --- a/framework/dut.py
> +++ b/framework/dut.py
> @@ -77,6 +77,7 @@ class Dut(Crb):
> self.virt_pids = []
> self.prefix_subfix = str(os.getpid()) + '_' +
> time.strftime("%Y%m%d%H%M%S", time.localtime())
> self.prefix_list = []
> + self.hugepage_path = None
>
> def filter_cores_from_crb_cfg(self):
> # get core list from crbs.cfg
> @@ -175,7 +176,8 @@ class Dut(Crb):
> file_prefix = config['prefix'] + '_' + self.prefix_subfix
> else:
> file_prefix = 'dpdk' + '_' + self.prefix_subfix
> - self.prefix_list.append(file_prefix)
> + if file_prefix not in self.prefix_list:
> + self.prefix_list.append(file_prefix)
>
> # deal with vdev
> if 'vdevs' in config and len(config['vdevs']) != 0:
> --
> 2.7.4
next prev parent reply other threads:[~2020-03-13 6:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-06 1:26 [dts] [PATCH V1 0/2] " lihong
2020-03-06 1:26 ` [dts] [PATCH V1 1/2] " lihong
2020-03-06 8:57 ` Ma, LihongX
2020-03-13 6:30 ` Tu, Lijuan [this message]
2020-03-06 1:26 ` [dts] [PATCH V1 2/2] framework/crb: delete the mnt of hugepage when dut kill_all lihong
2020-03-06 8:57 ` Ma, LihongX
2020-03-06 8:57 ` [dts] [PATCH V1 0/2] framework/dut: same prefix add once is enough Ma, LihongX
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=8CE3E05A3F976642AAB0F4675D0AD20E0BBEC736@SHSMSX101.ccr.corp.intel.com \
--to=lijuan.tu@intel.com \
--cc=dts@dpdk.org \
--cc=lihongx.ma@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).