NDIS_SRIOV_BAR_RESOURCES_INFO structure (ntddndis.h)
The NDIS_SRIOV_BAR_RESOURCES_INFO structure specifies the PCI Express (PCIe) Base Address Register (BAR) of a network adapter's PCIe Virtual Function (VF).
Syntax
typedef struct _NDIS_SRIOV_BAR_RESOURCES_INFO {
NDIS_OBJECT_HEADER Header;
NDIS_SRIOV_FUNCTION_ID VFId;
USHORT BarIndex;
ULONG BarResourcesOffset;
} NDIS_SRIOV_BAR_RESOURCES_INFO, *PNDIS_SRIOV_BAR_RESOURCES_INFO;
Members
Header
The type, revision, and size of the NDIS_SRIOV_BAR_RESOURCES_INFO structure. This member is formatted as an NDIS_OBJECT_HEADER structure.
The miniport driver must set the Type member of Header to NDIS_OBJECT_TYPE_DEFAULT. To specify the version of the NDIS_SRIOV_BAR_RESOURCES_INFO structure, the driver must set the Revision member of Header to the following value:
NDIS_SRIOV_BAR_RESOURCES_INFO_REVISION_1
Original version for NDIS 6.30 and later.
Set the Size member to NDIS_SIZEOF_SRIOV_BAR_RESOURCES_INFO_REVISION_1.
VFId
An NDIS_SRIOV_FUNCTION_ID value that specifies the unique identifier of the VF on the network adapter.
BarIndex
A USHORT value that specifies the BAR index on the VF. This value is the offset of the register within the table of BARs in the PCI configuration space.
BarResourcesOffset
A ULONG value that specifies the offset, in units of bytes, from the beginning of this structure to a CM_PARTIAL_RESOURCE_DESCRIPTOR structure.
Remarks
The NDIS_SRIOV_BAR_RESOURCES_INFO structure is used in OID method requests of OID_SRIOV_BAR_RESOURCES.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Supported in NDIS 6.30 and later. |
Header | ntddndis.h (include Ndis.h) |
See also