NET_RX_FRAGMENT_BUFFER_ALLOCATION_MODE enumeration (netadapter.h)

The NET_RX_FRAGMENT_BUFFER_ALLOCATION_MODE enumeration identifies how the operating system should allocate NET_FRAGMENT receive buffers for a net adapter client driver's receive queues.

Syntax

typedef enum _NET_RX_FRAGMENT_BUFFER_ALLOCATION_MODE {
  NetRxFragmentBufferAllocationModeSystem = 0,
  NetRxFragmentBufferAllocationModeDriver = 1
} NET_RX_FRAGMENT_BUFFER_ALLOCATION_MODE;

Constants

 
NetRxFragmentBufferAllocationModeSystem
Value: 0
The operating system allocates NET_FRAGMENT receive buffers on behalf of the client driver.
NetRxFragmentBufferAllocationModeDriver
Value: 1
The operating system never allocates NET_FRAGMENT receive buffers. The client driver is responsible for buffer allocation.

Remarks

This enumeration is a value of the NET_ADAPTER_RX_CAPABILITIES structure. Together with NET_RX_FRAGMENT_BUFFER_ATTACHMENT_MODE, it specifies how a net adapter client driver would like to configure its receive queue fragment buffers. For more information, see NET_ADAPTER_RX_CAPABILITIES.

Requirements

Requirement Value
Minimum KMDF version 1.25
Minimum UMDF version 2.33
Header netadapter.h (include netadaptercx.h)

See also

NET_ADAPTER_RX_CAPABILITIES