NET_PACKET_QUEUE_CONFIG structure

Warning

Some information in this topic relates to prereleased product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

NetAdapterCx is preview only in Windows 10, version 1903.

The NET_PACKET_QUEUE_CONFIG structure describes the configuration options for a NetAdapterCx client driver's packet queue.

Syntax

typedef struct _NET_PACKET_QUEUE_CONFIG {
  ULONG                                     Size;
  PFN_PACKET_QUEUE_START                    EvtStart;
  PFN_PACKET_QUEUE_STOP                     EvtStop;
  PFN_PACKET_QUEUE_ADVANCE                  EvtAdvance;
  PFN_PACKET_QUEUE_SET_NOTIFICATION_ENABLED EvtSetNotificationEnabled;
  PFN_PACKET_QUEUE_CANCEL                   EvtCancel;
} NET_PACKET_QUEUE_CONFIG;

Members

Size

The size of this structure, in bytes.

EvtStart

A pointer to the client driver's EVT_PACKET_QUEUE_START event callback function for this packet queue. This callback function is required.

EvtStop

A pointer to the client driver's EVT_PACKET_QUEUE_STOP event callback function for this packet queue. This callback function is required.

EvtAdvance

A pointer to the client driver's EVT_PACKET_QUEUE_ADVANCE event callback function for this packet queue. This callback function is required.

EvtSetNotificationEnabled

A pointer to the client driver's EVT_PACKET_QUEUE_SET_NOTIFICATION_ENABLED event callback function for this packet queue. This callback function is required.

EvtCancel

A pointer to the client driver's EVT_PACKET_QUEUE_CANCEL event callback function for this packet queue. This callback function is required.

Remarks

Call NET_PACKET_QUEUE_CONFIG_INIT to initialize this structure.

The NET_PACKET_QUEUE_CONFIG structure is an input parameter to NetTxQueueCreate and NetRxQueueCreate. The client must use NET_PACKET_QUEUE_CONFIG_INIT to initialize this structure before calling NetTx(Rx)QueueCreate.

Requirements

   
Minimum KMDF version 1.27
Header netpacketqueue.h

See Also

NET_PACKET_QUEUE_CONFIG_INIT

NetTxQueueCreate

NetRxQueueCreate