Skip to content

Latest commit

 

History

History
128 lines (84 loc) · 4.87 KB

ns-ntddndis-ndis_qos_offload_capabilities.md

File metadata and controls

128 lines (84 loc) · 4.87 KB
UID title ms.date targetos description req.construct-type req.ddi-compliance req.dll req.header req.include-header req.kmdf-ver req.lib req.max-support req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.typenames req.umdf-ver req.unicode-ansi topic_type api_type api_location api_name f1_keywords dev_langs
NS:ntddndis._NDIS_QOS_OFFLOAD_CAPABILITIES
NDIS_QOS_OFFLOAD_CAPABILITIES
10/30/2020
Windows
The NDIS_QOS_OFFLOAD_CAPABILITIES structure specifies the hardware and current Hardware Quality of Service (QoS) capabilities of a miniport adapter.
structure
ntddndis.h
ndis.h
Supported in NDIS 6.85 and later.
Windows Server 2022
NDIS_QOS_OFFLOAD_CAPABILITIES, *PNDIS_QOS_OFFLOAD_CAPABILITIES
apiref
HeaderDef
ntddndis.h
_NDIS_QOS_OFFLOAD_CAPABILITIES
PNDIS_QOS_OFFLOAD_CAPABILITIES
NDIS_QOS_OFFLOAD_CAPABILITIES
_NDIS_QOS_OFFLOAD_CAPABILITIES
ntddndis/_NDIS_QOS_OFFLOAD_CAPABILITIES
PNDIS_QOS_OFFLOAD_CAPABILITIES
ntddndis/PNDIS_QOS_OFFLOAD_CAPABILITIES
NDIS_QOS_OFFLOAD_CAPABILITIES
ntddndis/NDIS_QOS_OFFLOAD_CAPABILITIES
c++

-description

The NDIS_QOS_OFFLOAD_CAPABILITIES structure specifies the hardware and current Hardware Quality of Service (QoS) offload capabilities of a miniport adapter.

-struct-fields

-field Header

The type, revision, and size of the NDIS_QOS_OFFLOAD_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.

The driver must set the Revision member of Header to NDIS_QOS_OFFLOAD_CAPABILITIES_REVISION_2 to specify the version of the NDIS_QOS_OFFLOAD_CAPABILITIES structure.

The driver must set the Size member to NDIS_SIZEOF_QOS_OFFLOAD_CAPABILITIES_REVISION_2.

-field Flags

This field is not used in NDIS_QOS_OFFLOAD_CAPABILITIES_REVISION_2. The driver must set this member to zero.

-field SupportedSqTypes

A ULONG value that contains a bitwise OR of flags. These flags specify the type of NDIS QoS Scheduler Queues (SQs) that the miniport adapter supports. The following flags are defined:

NDIS_QOS_OFFLOAD_CAPS_STANDARD_SQ

If this flag is set, the miniport adapter supports standard SQs.

-field TransmitCapSupported

An array of BOOLEAN values that specify whether the miniport adapter supports transmit bandwidth caps for each traffic class (TC). For more information, see NDIS QoS Traffic Classes.

-field TransmitReservationSupported

An array of BOOLEAN values that specify whether the miniport adapter supports transmit bandwidth reservations for each TC.

-field ReceiveCapSupported

An array of BOOLEAN values that specify whether the miniport adapter supports receive bandwidth caps for each TC.

-field TransmitGftCapSupported

Reserved for future use.

-field ReceiveGftCapSupported

Reserved for future use.

-field TcSupportedTable

An array of BOOLEAN values that specify whether the miniport adapter supports rate limits for each TC.

-field NumStandardSqsSupported

A ULONG value that contains the maximum number of standard SQs that can be created on the miniport adapter.

-field NumGftSqsSupported

For forward compatibility, the miniport driver must set this field to zero when responding to the OS query.

-field ReservationGranularitySupported

A ULONG value that contains the scheduling granularity that the NIC can support for transmit reservations. For example, if the NIC can support at most a 1:10000 ratio between effective queues, this value should be 10000. This value is purely informational. A NIC may be asked to schedule queues with ratios between reservation values that exceed this granularity. In this case, the result should be a best approximation.

-field MaxNumSqInputs

A ULONG value that contains the maximum number of vPorts that can be associated with an SQ.

-field CrossTcTransmitMaxCapSupported

If TRUE, the miniport adapter supports a single transmit cap value for traffics across multiple TCs.

-remarks

The NDIS_QOS_OFFLOAD_CAPABILITIES structure is returned in OID query requests OID_QOS_OFFLOAD_HARDWARE_CAPABILITIES and OID_QOS_OFFLOAD_CURRENT_CAPABILITIES.

-see-also

NDIS_OBJECT_HEADER

OID_QOS_OFFLOAD_HARDWARE_CAPABILITIES

OID_QOS_OFFLOAD_CURRENT_CAPABILITIES

NDIS QoS Traffic Classes