1PCI_NUM_VF(9) Hardware Interfaces PCI_NUM_VF(9)
23
4
NAME
6pci_num_vf - return number of VFs associated with a PF
7device_release_driver
8
SYNOPSIS
10int pci_num_vf(struct pci_dev * dev);
11
ARGUMENTS
13dev
14the PCI device
15
DESCRIPTION
17Returns number of VFs, or 0 if SR-IOV is not enabled.
18
COPYRIGHT
20Kernel Hackers Manual 2.6. June 2019 PCI_NUM_VF(9)