[dts] [PATCH V1 1/3] solve dts compile error on freesbd

Liu, Yong yong.liu at intel.com
Tue Sep 6 08:13:21 CEST 2016


Hi Gang, NIC object should input three parameter. If NIC object initialized with incorrect parameters, it may cause error when called some methods.

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of xu,gang
> Sent: Tuesday, August 30, 2016 5:52 PM
> To: dts at dpdk.org
> Cc: Xu, GangX
> Subject: [dts] [PATCH V1 1/3] solve dts compile error on freesbd
> 
> Signed-off-by: xu,gang <gangx.xu at intel.com>
> ---
>  framework/dut.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/framework/dut.py b/framework/dut.py
> index 2f4e53a..d92713b 100644
> --- a/framework/dut.py
> +++ b/framework/dut.py
> @@ -726,7 +726,7 @@ class Dut(Crb):
>                                                        skipped))
>                  continue
> 
> -            port = GetNicObj(self, pci_bus, '')
> +            port = GetNicObj(self, '',pci_bus, '')
>              intf = port.get_interface_name()
> 
>              macaddr = port.get_mac_addr()
> --
> 1.9.3



More information about the dts mailing list