On Tue, 2015-02-10 at 09:35 +0800, Wei Yang wrote: > >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. -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html