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 13FA6FB4F for ; Thu, 19 Jan 2017 07:20:06 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP; 18 Jan 2017 22:20:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,252,1477983600"; d="scan'208";a="1096061112" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga001.fm.intel.com with ESMTP; 18 Jan 2017 22:20:05 -0800 Received: from fmsmsx120.amr.corp.intel.com (10.18.124.208) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 18 Jan 2017 22:20:05 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx120.amr.corp.intel.com (10.18.124.208) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 18 Jan 2017 22:20:03 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.20]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.132]) with mapi id 14.03.0248.002; Thu, 19 Jan 2017 14:17:51 +0800 From: "Liu, Yong" To: "Tu, LijuanX A" , "dts@dpdk.org" CC: "Tu, LijuanX A" Thread-Topic: [dts] [PATCH V2] Framework/dut: fix parameter error on some OS Thread-Index: AQHSchhsBZ4HJbQXpUyzpoyOAOn6u6E/Ut1A Date: Thu, 19 Jan 2017 06:17:50 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E62D4D781@SHSMSX103.ccr.corp.intel.com> References: <1484805276-50361-1-git-send-email-lijuanx.a.tu@intel.com> In-Reply-To: <1484805276-50361-1-git-send-email-lijuanx.a.tu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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 06:20:07 -0000 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 > Subject: [dts] [PATCH V2] Framework/dut: fix parameter error on some OS >=20 > FreeBSD not support virtualization cases. > Add one blank function for FreeBSD OS to workaround this issue >=20 > Signed-off-by: Lijuan Tu > --- > nics/net_device.py | 7 +++++++ > 1 file changed, 7 insertions(+) >=20 > diff --git a/nics/net_device.py b/nics/net_device.py index bbe4bed..a2697= b3 > 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.devfu= n_id, > self.current_driver) >=20 > + 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, driv= er): > """ > Get all SRIOV VF pci bus of specified pci device on linux. > -- > 1.9.3