test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V2] Framework/dut: fix parameter error on some OS
@ 2017-01-19  5:54 Lijuan Tu
  2017-01-19  6:17 ` Liu, Yong
  0 siblings, 1 reply; 2+ messages in thread
From: Lijuan Tu @ 2017-01-19  5:54 UTC (permalink / raw)
  To: dts; +Cc: Lijuan Tu

FreeBSD not support virtualization cases. 
Add one blank function for FreeBSD OS to workaround this issue

Signed-off-by: Lijuan Tu <lijuanx.a.tu@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH V2] Framework/dut: fix parameter error on some OS
  2017-01-19  5:54 [dts] [PATCH V2] Framework/dut: fix parameter error on some OS Lijuan Tu
@ 2017-01-19  6:17 ` Liu, Yong
  0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2017-01-19  6:17 UTC (permalink / raw)
  To: Tu, LijuanX A, dts; +Cc: Tu, LijuanX A

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@dpdk.org] On Behalf Of Lijuan Tu
> Sent: Thursday, January 19, 2017 1:55 PM
> To: dts@dpdk.org
> Cc: Tu, LijuanX A <lijuanx.a.tu@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@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-19  6:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-19  5:54 [dts] [PATCH V2] Framework/dut: fix parameter error on some OS Lijuan Tu
2017-01-19  6:17 ` Liu, Yong

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).