// ntddndis.h
typedef struct _NDIS_SRIOV_CAPABILITIES {
NDIS_OBJECT_HEADER Header;
ULONG Flags;
ULONG SriovCapabilities;
} NDIS_SRIOV_CAPABILITIES, *PNDIS_SRIOV_CAPABILITIES;
View the official Windows Driver Kit DDI reference
No description available.
The NDIS_SRIOV_CAPABILITIES structure specifies the single root I/O virtualization (SR-IOV) capabilities of the network adapter.
Header
The type, revision, and size of the NDIS_SRIOV_CAPABILITIES 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_CAPABILITIES structure, the driver must set the Revision member of Header to the following value:
Original version for NDIS 6.30 and later.
Set the Size member to NDIS_SIZEOF_SRIOV_CAPABILITIES _REVISION_1.
Flags
A ULONG value that contains a bitwise OR of flags. This member is reserved for NDIS
SriovCapabilities
A ULONG value that contains a bitwise OR of the following flags:
Specifies that the network adapter supports SR-IOV functionality.
Note This flag must only be set by the miniport driver for the PCI Express (PCIe) Physical Function (PF) of the network adapter. This driver runs in the management operating system. This operating system runs in the Hyper-V parent partition.
Specifies that this is a PF miniport driver.
Specifies that this is a PCIe Virtual Function (VF) miniport driver.
The miniport driver uses the NDIS_SRIOV_CAPABILITIES structure to report its SR-IOV capabilities in the following ways:
NDIS passes the network adapter's SR-IOV capabilities to overlying drivers that bind to the network adapter in the following way:
For more information on how to report the SR-IOV capabilities of a network adapter, see Determining SR-IOV Capabilities.
NDIS_MINIPORT_ADAPTER_HARDWARE_ASSIST_ATTRIBUTES
OID_SRIOV_CURRENT_CAPABILITIES
OID_SRIOV_HARDWARE_CAPABILITIES