Bewerken

Delen via


OID_QOS_OFFLOAD_SQ_STATS

Overlying drivers issue OID method requests of OID_QOS_OFFLOAD_SQ_STATS to obtain a list of all Scheduler Queues (SQs), with their stat counters, that are currently present on a miniport adapter.

After a successful return from the OID query request, the InformationBuffer member of the NDIS_OID_REQUEST structure contains a pointer to an NDIS_QOS_SQ_ARRAY structure. Each element of the array is an NDIS_QOS_SQ_STATS structure.

If the NDIS_OID_REQUEST buffer of the OID query contains a valid VPortId, then the returned stats are specific to the specified vPort. Otherwise, the stats specify the total stats across all vPorts associated with each SQ.

Remarks

Return Status Codes

NDIS handles the OID method request of OID_QOS_OFFLOAD_SQ_STATS for miniport drivers and returns one of the following status codes.

Status Code Description
NDIS_STATUS_SUCCESS The OID request completed successfully.
NDIS_STATUS_NOT_SUPPORTED The miniport driver does not support the NDIS QoS interface.
NDIS_STATUS_INVALID_PARAMETER The length of the InformationBuffer is less than NDIS_SIZEOF_QOS_SQ_ARRAY_REVISION_1.
NDIS_STATUS_BUFFER_TOO_SHORT The length of the information buffer is not sufficient for the returned data.
NDIS_STATUS_Xxx The request failed for other reasons.

Requirements

Requirement Value
Version Supported in NDIS 6.85 and later.
Header Ntddndis.h (include Ndis.h)

See also

NDIS_OID_REQUEST

NDIS_QOS_SQ_PARAMETERS

NDIS_QOS_SQ_ARRAY

NDIS_QOS_SQ_STATS