Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the identifier associated with a transmit queue.
Syntax
ULONG NetTxQueueInitGetQueueId(
[_In_] NETTXQUEUE_INIT *NetTxQueueInit
);
Parameters
[_In_] NetTxQueueInit
A pointer to a NetAdapterCx-allocated NETTXQUEUE_INIT structure. For more information, see the Remarks section.
Return value
Returns a ULONG that identifies a transmit queue.
Remarks
The client driver receives a pointer to a NETTXQUEUE_INIT structure in its EVT_NET_ADAPTER_CREATE_TXQUEUE callback function.
Starting with zero, NetAdapterCx assigns a unique identifier value for each queue that it creates. The client driver specifies the number of transmit queues that the network adapter supports in the MaximumNumberOfQueues member of the NET_ADAPTER_TX_CAPABILITIES structure, which is initialized and passed to NetAdapterSetDataPathCapabilities when starting a net adapter. Identifier values range from zero to the value of (((MaxNumber of TxQueues) + (MaxNumber of RxQueues)) - 1)
.
Requirements
Requirement | Value |
---|---|
Target Platform | Universal |
Minimum KMDF version | 1.21 |
Minimum UMDF version | 2.33 |
Header | nettxqueue.h (include netadaptercx.h) |
IRQL | PASSIVE_LEVEL |