From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 8BBB6FB4E for ; Thu, 19 Jan 2017 06:53:33 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 18 Jan 2017 21:53:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,252,1477983600"; d="scan'208";a="1084743319" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by orsmga001.jf.intel.com with ESMTP; 18 Jan 2017 21:53:31 -0800 From: Lijuan Tu To: dts@dpdk.org Cc: Lijuan Tu Date: Thu, 19 Jan 2017 13:54:36 +0800 Message-Id: <1484805276-50361-1-git-send-email-lijuanx.a.tu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V2] Framework/dut: fix parameter error on some OS X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2017 05:53:33 -0000 FreeBSD not support virtualization cases. Add one blank function for FreeBSD OS to workaround this issue Signed-off-by: Lijuan Tu --- 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