[dts] [PATCH V2] fix FreeBSD get mac addr error
Liu, Yong
yong.liu at intel.com
Wed Aug 30 11:08:39 CEST 2017
Gang,
Nothing changed from V1 patch, please review my previous comments.
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of xu,gang
> Sent: Wednesday, August 30, 2017 4:59 PM
> To: dts at dpdk.org
> Cc: Xu, GangX <gangx.xu at intel.com>
> Subject: [dts] [PATCH V2] fix FreeBSD get mac addr error
>
> get mac addr need restore interface
>
> Signed-off-by: xu,gang <gangx.xu at intel.com>
> ---
> framework/dut.py | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/framework/dut.py b/framework/dut.py
> index 22ff0bb..682da8c 100644
> --- a/framework/dut.py
> +++ b/framework/dut.py
> @@ -190,6 +190,10 @@ class Dut(Crb):
>
> if self.get_os_type() == 'freebsd':
> self.send_expect('alias make=gmake', '# ')
> + out = self.__send_expect('kldstat', '# ')
> + if 'nic_uio.ko' in out:
> + self.__send_expect('kldunload nic_uio.ko', '# ')
> + self.__send_expect('kldunload contigmem.ko', '# ')
>
> self.init_core_list()
> self.pci_devices_information()
> --
> 1.9.3
More information about the dts
mailing list