From: "Liu, Yong" <yong.liu@intel.com>
To: "Tu, LijuanX A" <lijuanx.a.tu@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Tu, LijuanX A" <lijuanx.a.tu@intel.com>
Subject: Re: [dts] [PATCH V2] Framework/dut: fix parameter error on some OS
Date: Thu, 19 Jan 2017 06:17:50 +0000 [thread overview]
Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E62D4D781@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <1484805276-50361-1-git-send-email-lijuanx.a.tu@intel.com>
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
prev parent reply other threads:[~2017-01-19 6:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-19 5:54 Lijuan Tu
2017-01-19 6:17 ` Liu, Yong [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86228AFD5BCD8E4EBFD2B90117B5E81E62D4D781@SHSMSX103.ccr.corp.intel.com \
--to=yong.liu@intel.com \
--cc=dts@dpdk.org \
--cc=lijuanx.a.tu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).