Name

pci_sriov_get_totalvfs — - get total VFs supported on this device

Synopsis

int pci_sriov_get_totalvfs (struct pci_dev * dev);
 

Arguments

struct pci_dev * 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 driver_max_VFs if the driver reduced it. Otherwise 0.