PCI_SRIOV_SET_TOTALV(9) Hardware Interfaces PCI_SRIOV_SET_TOTALV(9)NAMEpci_sriov_set_totalvfs - - reduce the TotalVFs available
SYNOPSIS
int pci_sriov_set_totalvfs(struct pci_dev * dev, u16 numvfs);
ARGUMENTS
dev
the PCI PF device
numvfs
-- undescribed --
NUMVFS
number that should be used for TotalVFs supported
Should be called from PF driverĀ“s probe routine with deviceĀ“s mutex
held.
Returns 0 if PF is an SRIOV-capable device and value of numvfs valid.
If not a PF with VFS, return -EINVAL; if VFs already enabled, return
-EBUSY.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 PCI_SRIOV_SET_TOTALV(9)