[dts] [PATCH V1] framework/dut: fix issue of ports config in eal params
Tu, Lijuan
lijuan.tu at intel.com
Tue Dec 17 08:08:27 CET 2019
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of lihong
> Sent: Friday, December 6, 2019 5:54 AM
> To: dts at dpdk.org
> Cc: Ma, LihongX <lihongx.ma at intel.com>
> Subject: [dts] [PATCH V1] framework/dut: fix issue of ports config in eal
> params
>
> Signed-off-by: lihong <lihongx.ma at 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
More information about the dts
mailing list