pci_sriov_get_totalvfs
Prev | PCI Support Library | Next

## Name

pci_sriov_get_totalvfs — - get total VFs supported on this device

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

Prev | Up | Next
pci_sriov_set_totalvfs | Home | pci_read_legacy_io