1. NAME

pci_sriov_get_totalvfs - - get total VFs supported on this devic3

2. SYNOPSIS

int pci_sriov_get_totalvfs(struct pci_dev *  dev );

3. ARGUMENTS

dev
    the PCI PF device

4. 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, -EINVAL.

5. COPYRIGHT