[dts] [PATCH V2] Framework/dut: fix parameter error on some OS

Liu, Yong yong.liu at intel.com
Thu Jan 19 07:17:50 CET 2017


Lijuan,
Patch subject haven't describe your patch accurately. Applied in your patch with subject modified.

Thanks,
Marvin

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Lijuan Tu
> Sent: Thursday, January 19, 2017 1:55 PM
> To: dts at dpdk.org
> Cc: Tu, LijuanX A <lijuanx.a.tu at intel.com>
> Subject: [dts] [PATCH V2] Framework/dut: fix parameter error on some OS
> 
> FreeBSD not support virtualization cases.
> Add one blank function for FreeBSD OS to workaround this issue
> 
> Signed-off-by: Lijuan Tu <lijuanx.a.tu at intel.com>
> ---
>  nics/net_device.py | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/nics/net_device.py b/nics/net_device.py index bbe4bed..a2697b3
> 100644
> --- a/nics/net_device.py
> +++ b/nics/net_device.py
> @@ -548,6 +548,13 @@ class NetDevice(object):
>              self, 'get_sriov_vfs_pci_%s' % self.__get_os_type())
>          return get_sriov_vfs_pci(self.domain_id, self.bus_id, self.devfun_id,
> self.current_driver)
> 
> +    def get_sriov_vfs_pci_freebsd(self, bus_id, devfun_id, driver):
> +        """
> +        FreeBSD not support virtualization cases now.
> +        We can implement it later.
> +        """
> +        pass
> +
>      def get_sriov_vfs_pci_linux(self, domain_id, bus_id, devfun_id, driver):
>          """
>          Get all SRIOV VF pci bus of specified pci device on linux.
> --
> 1.9.3



More information about the dts mailing list