NetTxQueueGetRingCollection function

The NetTxQueueGetRingCollection method retrieves the NET_RING_COLLECTION structure for a transmit (Tx) queue.

Syntax

const NET_RING_COLLECTION * NetTxQueueGetRingCollection(
  NETPACKETQUEUE PacketQueue
);

Parameters

PacketQueue

A pointer to a NetAdapterCx-allocated NETPACKETQUEUE structure. The client driver receives a pointer to this NETPACKETQUEUE structure in its EVT_NET_ADAPTER_CREATE_TXQUEUE callback function.

Return Value

Returns a pointer to the queue's NET_RING_COLLECTION structure.

Remarks

Use the NET_RING_COLLECTION structure returned by this method to access a transmit queue's net rings.

Requirements

   
Target Platform Universal
Minimum KMDF version 1.29
Header nettxqueue.h (include netadaptercx.h)
IRQL PASSIVE_LEVEL