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] framework/dut: fix issue of ports config in eal params
Date: Tue, 17 Dec 2019 07:08:27 +0000 [thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB82851@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1575582864-29319-1-git-send-email-lihongx.ma@intel.com>
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of lihong
> Sent: Friday, December 6, 2019 5:54 AM
> To: dts@dpdk.org
> Cc: Ma, LihongX <lihongx.ma@intel.com>
> Subject: [dts] [PATCH V1] framework/dut: fix issue of ports config in eal
> params
>
> Signed-off-by: lihong <lihongx.ma@intel.com>
> ---
> framework/dut.py | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/framework/dut.py b/framework/dut.py index f26b081..6e4b1e5
> 100644
> --- a/framework/dut.py
> +++ b/framework/dut.py
> @@ -143,9 +143,9 @@ class Dut(Crb):
> else:
> if config.has_key('port_options') and port in
> config['port_options'].keys():
> port_option = config['port_options'][port]
> - w_pci_list.append('-w %s,%s' %
> (self.ports_info[config['ports'].index(port)]['pci'], port_option))
> + w_pci_list.append('-w %s,%s' % (port,
> + port_option))
> else:
> - w_pci_list.append('-w %s' %
> self.ports_info[config['ports'].index(port)]['pci'])
> + w_pci_list.append('-w %s' % port)
> w_pci_str = ' '.join(w_pci_list)
>
> # deal with black ports
> --
> 2.7.4
prev parent reply other threads:[~2019-12-17 7:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-05 21:54 lihong
2019-12-06 5:21 ` Ma, LihongX
2019-12-17 7:08 ` Tu, Lijuan [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=8CE3E05A3F976642AAB0F4675D0AD20E0BB82851@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).