Query: pci_sriov_set_totalvfs
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PCI_SRIOV_SET_TOTALV(9) Hardware Interfaces PCI_SRIOV_SET_TOTALV(9)NAMEpci_sriov_set_totalvfs - - reduce the TotalVFs availableSYNOPSISint pci_sriov_set_totalvfs(struct pci_dev * dev, u16 numvfs);ARGUMENTSdev the PCI PF device numvfs number that should be used for TotalVFs supportedDESCRIPTIONShould 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 return -ENOSYS; if numvfs is invalid return -EINVAL; if VFs already enabled, return -EBUSY.COPYRIGHTKernel Hackers Manual 3.10 June 2014 PCI_SRIOV_SET_TOTALV(9)