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

Benjamin Herrenschmidt benh at au1.ibm.com
Tue Feb 10 11:26:19 AEDT 2015


On Thu, 2015-01-15 at 10:27 +0800, Wei Yang wrote:
> +       if ((retval = pcibios_sriov_enable(dev, initial))) {
> +               dev_err(&dev->dev, "Failure %d from
> pcibios_sriov_setup()\n",
> +                       retval);
> +               return retval;
> +       }
> +

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 ?

Ben.




More information about the Linuxppc-dev mailing list