Re: [v2] PCI: Add an option to control probing of VFs before enabling SR-IOV

2017-04-12 Thread Bodong Wang
On 4/12/2017 10:22 AM, Bjorn Helgaas wrote: On Wed, Apr 12, 2017 at 09:37:22AM -0500, Bodong Wang wrote: On 4/11/2017 4:12 PM, Bjorn Helgaas wrote: Hi Bodong, On Wed, Mar 22, 2017 at 05:53:58PM +0200, bod...@mellanox.com wrote: From: Bodong Wang Sometimes it is not desirable to probe the vi

Re: [v2] PCI: Add an option to control probing of VFs before enabling SR-IOV

2017-04-12 Thread Bjorn Helgaas
On Wed, Apr 12, 2017 at 09:37:22AM -0500, Bodong Wang wrote: > On 4/11/2017 4:12 PM, Bjorn Helgaas wrote: > >Hi Bodong, > > > >On Wed, Mar 22, 2017 at 05:53:58PM +0200, bod...@mellanox.com wrote: > >>From: Bodong Wang > >> > >>Sometimes it is not desirable to probe the virtual functions after > >>

Re: [v2] PCI: Add an option to control probing of VFs before enabling SR-IOV

2017-04-12 Thread Bodong Wang
On 4/11/2017 4:12 PM, Bjorn Helgaas wrote: Hi Bodong, On Wed, Mar 22, 2017 at 05:53:58PM +0200, bod...@mellanox.com wrote: From: Bodong Wang Sometimes it is not desirable to probe the virtual functions after SRIOV is enabled. This can save host side resource usage by VF instances which would

Re: [v2] PCI: Add an option to control probing of VFs before enabling SR-IOV

2017-04-11 Thread Alex Williamson
On Tue, 11 Apr 2017 16:12:11 -0500 Bjorn Helgaas wrote: > Hi Bodong, > > On Wed, Mar 22, 2017 at 05:53:58PM +0200, bod...@mellanox.com wrote: > > From: Bodong Wang > > > > Sometimes it is not desirable to probe the virtual functions after > > SRIOV is enabled. This can save host side resource

Re: [v2] PCI: Add an option to control probing of VFs before enabling SR-IOV

2017-04-11 Thread Alex Williamson
On Wed, 22 Mar 2017 17:53:58 +0200 bod...@mellanox.com wrote: > From: Bodong Wang > > Sometimes it is not desirable to probe the virtual functions after > SRIOV is enabled. This can save host side resource usage by VF > instances which would be eventually probed to VMs. > > Add a new PCI sysfs

Re: [v2] PCI: Add an option to control probing of VFs before enabling SR-IOV

2017-04-11 Thread Bjorn Helgaas
Hi Bodong, On Wed, Mar 22, 2017 at 05:53:58PM +0200, bod...@mellanox.com wrote: > From: Bodong Wang > > Sometimes it is not desirable to probe the virtual functions after > SRIOV is enabled. This can save host side resource usage by VF > instances which would be eventually probed to VMs. > > Ad

Re: [v2] PCI: Add an option to control probing of VFs before enabling SR-IOV

2017-03-31 Thread Bodong Wang
On 3/27/2017 10:11 AM, Bodong Wang wrote: On 3/22/2017 10:53 AM, bod...@mellanox.com wrote: From: Bodong Wang Sometimes it is not desirable to probe the virtual functions after SRIOV is enabled. This can save host side resource usage by VF instances which would be eventually probed to VMs. Ad

Re: [v2] PCI: Add an option to control probing of VFs before enabling SR-IOV

2017-03-27 Thread Bodong Wang
On 3/22/2017 10:53 AM, bod...@mellanox.com wrote: From: Bodong Wang Sometimes it is not desirable to probe the virtual functions after SRIOV is enabled. This can save host side resource usage by VF instances which would be eventually probed to VMs. Add a new PCI sysfs interface "sriov_probe_vf

[v2] PCI: Add an option to control probing of VFs before enabling SR-IOV

2017-03-22 Thread bodong
From: Bodong Wang Sometimes it is not desirable to probe the virtual functions after SRIOV is enabled. This can save host side resource usage by VF instances which would be eventually probed to VMs. Add a new PCI sysfs interface "sriov_probe_vfs" to control that from the PF, all current callers