NDIS_SRIOV_WRITE_VF_CONFIG_SPACE_PARAMETERS structure (ntddndis.h)

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

Syntax

typedef struct _NDIS_SRIOV_WRITE_VF_CONFIG_SPACE_PARAMETERS {
  NDIS_OBJECT_HEADER     Header;
  NDIS_SRIOV_FUNCTION_ID VFId;
  ULONG                  Offset;
  ULONG                  Length;
  ULONG                  BufferOffset;
} NDIS_SRIOV_WRITE_VF_CONFIG_SPACE_PARAMETERS, *PNDIS_SRIOV_WRITE_VF_CONFIG_SPACE_PARAMETERS;

Members

Header

The type, revision, and size of the NDIS_SRIOV_WRITE_VF_CONFIG_SPACE_PARAMETERS structure. This member is formatted as an NDIS_OBJECT_HEADER structure.

The driver must set the Type member of Header to NDIS_OBJECT_TYPE_DEFAULT. To specify the version of the NDIS_SRIOV_WRITE_VF_CONFIG_SPACE_PARAMETERS structure, the driver must set the Revision member of Header to the following value:

NDIS_SRIOV_WRITE_VF_CONFIG_BLOCK_PARAMETERS_REVISION_1

Original version for NDIS 6.30 and later.

Set the Size member to NDIS_SIZEOF_SRIOV_WRITE_VF_CONFIG_BLOCK_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 written.

Length

A ULONG value that specifies the length, in units of bytes, of the write 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 to be written to the PCI configuration space of the VF.

Remarks

The NDIS_SRIOV_WRITE_VF_CONFIG_SPACE_PARAMETERS structure is used in an OID set request of OID_SRIOV_WRITE_VF_CONFIG_SPACE.

Requirements

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

See also

NDIS_OBJECT_HEADER

OID_SRIOV_WRITE_VF_CONFIG_SPACE