Accessing the PCI Configuration Space of a Virtual Function

This section describes guidelines for accessing the data from the PCI configuration space of PCI Express (PCIe) Virtual Functions (VFs). VFs are a hardware function of a network adapter that supports single root I/O virtualization (SR-IOV).

This section includes the following topics:

Querying the PCI Configuration Data of a Virtual Function

Setting the PCI Configuration Data of a Virtual Function

For more information on VFs for SR-IOV network adapters, see SR-IOV Virtual Functions (VFs).

Note  Only the PF miniport driver can configure the PCI configuration space for a VF. The VF miniport driver cannot directly access most of the SR-IOV adapter's hardware resources, such as the PCI configuration space. For more information, see Writing SR-IOV VF Miniport Drivers.