NDIS_SRIOV_READ_VF_CONFIG_SPACE_PARAMETERS structure

The NDIS_SRIOV_READ_VF_CONFIG_SPACE_PARAMETERS structure specifies the parameters for a read operation on the PCI Express (PCIe) configuration space of a network adapter's Virtual Function (VF).

Syntax

typedef struct _NDIS_SRIOV_READ_VF_CONFIG_SPACE_PARAMETERS {
  NDIS_OBJECT_HEADER     Header;
  NDIS_SRIOV_FUNCTION_ID VFId;
  ULONG                  Offset;
  ULONG                  Length;
  ULONG                  BufferOffset;
} NDIS_SRIOV_READ_VF_CONFIG_SPACE_PARAMETERS, *PNDIS_SRIOV_READ_VF_CONFIG_SPACE_PARAMETERS;

Members

Header

The type, revision, and size of the NDIS_SRIOV_READ_VF_CONFIG_SPACE_PARAMETERS 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_READ_VF_CONFIG_SPACE_PARAMETERS structure, the driver must set the Revision member of Header to the following value:

NDIS_SRIOV_READ_VF_CONFIG_SPACE_PARAMETERS_REVISION_1

Original version for NDIS 6.30 and later.

Set the Size member to NDIS_SIZEOF_SRIOV_READ_VF_CONFIG_SPACE_PARAMETERS_REVISION_1.

VFId

An NDIS_SRIOV_FUNCTION_ID value that specifies the unique identifier of the VF on the network adapter.

Note  The VF with the specified NDIS_SRIOV_FUNCTION_ID value must have resources that were previously allocated through an OID set request of OID_NIC_SWITCH_ALLOCATE_VF.
 

Offset

A ULONG value that specifies the offset within the PCI configuration space of the VF in which data will be read.

Length

A ULONG value that specifies the length, in units of bytes, of the read operation.

BufferOffset

A ULONG value that specifies the offset, in units of bytes, from the beginning of this structure to a buffer that contains the data that is read from the PCI configuration space of the VF.

Remarks

The NDIS_SRIOV_READ_VF_CONFIG_SPACE_PARAMETERS structure is used in OID method requests of OID_SRIOV_READ_VF_CONFIG_SPACE.

Requirements

   
Minimum supported client Supported in NDIS 6.30 and later.
Header ntddndis.h (include Ndis.h)

See Also

NDIS_OBJECT_HEADER

OID_SRIOV_READ_VF_CONFIG_SPACE