Thread (85 messages) 85 messages, 4 authors, 2015-03-02

Re: [PATCH V11 02/17] PCI/IOV: add VF enable/disable hook

From: Benjamin Herrenschmidt <hidden>
Date: 2015-02-10 02:14:14
Also in: linux-pci

On Tue, 2015-02-10 at 09:35 +0800, Wei Yang wrote:
quoted
Don't we want pcibios_sriov_enable() to be able to crop the number
of VFs or do we think any resource limits have been applied
already ?
The second parameter "initial" is the number of VFs will be enabled.
Arch
dependent function will check the resources for these number of VFs.

Do I catch your question correctly?
I was wondering if the number of resource that can be enabled is
smaller, should the arch function be able to return that smaller
number and we would still enable that number ?

Ie, have the arch function be able to "update" the value of
"initial" (by passing it by pointer for example).

Cheers,
Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help