Name

pci_sriov_get_totalvfs — - get total VFs supported on this devic3

Synopsis

int pci_sriov_get_totalvfs (struct pci_dev * dev);
 

Arguments

dev

the PCI PF device

Description

For a PCIe device with SRIOV support, return the PCIe SRIOV capability value of TotalVFs or the value of drvttl if the driver reduced it. Otherwise, -EINVAL.