NET_RX_FRAGMENT_BUFFER_ATTACHMENT_MODE Enumeration

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_RX_FRAGMENT_BUFFER_ATTACHMENT_MODE enumeration identifies how the operating system should pre-attach NET_FRAGMENT buffers to NET_PACKETs for a net adapter client driver's receive queues.

Syntax

typedef enum _NET_RX_FRAGMENT_BUFFER_ATTACHMENT_MODE {
  NetRxFragmentBufferAttachmentModeSystem,
  NetRxFragmentBufferAttachmentModeDriver
} NET_RX_FRAGMENT_BUFFER_ATTACHMENT_MODE;

Constants

NetRxFragmentBufferAttachmentModeSystem The operating system attaches receive [NET_FRAGMENT](../fragment/ns-fragment-_net_fragment.md)s to [NET_PACKET](../packet/ns-packet-_net_packet.md)s automatically. This value is valid **only** when receive fragment buffer allocation, identified by the [NET_RX_FRAGMENT_BUFFER_ALLOCATION_MODE](ne-netadapter-_net_rx_fragment_buffer_allocation_mode.md) enumeration, is also set to **NetRxFragmentBufferAllocationModeSystem**.
NetRxFragmentBufferAttachmentModeDriver The client driver is responsible for attaching [NET_FRAGMENT](../fragment/ns-fragment-_net_fragment.md) receive buffers to [NET_PACKET](../packet/ns-packet-_net_packet.md)s.

Remarks

This enumeration is a value of the NET_ADAPTER_RX_CAPABILITIES structure. Together with NET_RX_FRAGMENT_BUFFER_ALLOCATION_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

   
Minimum KMDF version 1.25
Header netadapter.h