// netadapter.h
typedef struct _NET_ADAPTER_TX_CAPABILITIES {
ULONG Size;
NET_MEMORY_MAPPING_REQUIREMENT MappingRequirement;
SIZE_T PayloadBackfill;
SIZE_T MaximumNumberOfFragments;
SIZE_T FragmentBufferAlignment;
UINT32 FragmentRingNumberOfElementsHint;
SIZE_T MaximumNumberOfQueues;
NET_ADAPTER_DMA_CAPABILITIES *DmaCapabilities;
} NET_ADAPTER_TX_CAPABILITIES;
View the official Windows Driver Kit DDI referenceNo description available.
The NET_ADAPTER_TX_CAPABILITIES structure describes the transmit capabilities of a net adapter.
SizeThe size of this structure, in bytes.
MappingRequirementA NET_MEMORY_MAPPING_REQUIREMENT value that specifies how the operating system should map transmit data buffers.
UMDF drivers must set MappingRequirement to NetMemoryMappingRequirementNone.
PayloadBackfillThe amount of space, in bytes, reserved for the client driver before the start of each NET_PACKET's payload.
MaximumNumberOfFragmentsThe maximum number of fragments per packet that the adapter can handle, or ((SIZE_T) - 1) if there is no limit.
FragmentBufferAlignmentThe minimum alignment for packet fragments. This member must be a power of 2.
FragmentRingNumberOfElementsHintA hint indicating how many elements the adapter wants for each transmit queue's NET_FRAGMENT ring buffer. This member must be a power of 2.
MaximumNumberOfQueuesThe maximum number of transmit queues that the adapter supports.
DmaCapabilitiesA pointer to a driver-allocated and initialized NET_ADAPTER_DMA_CAPABILITIES structure that describes the adapter's DMA capabilities on the transmit path. This member is ignored by NetAdapterCx if MappingRequirement is not set to NetMemoryMappingRequirementDmaMapped.
UMDF NetAdapterCX doesn't support DmaCapabilities. UMDF drivers must set this member to NULL.
Call one of the NET_ADAPTER_TX_CAPABILITIES_INIT_XXX functions to initialize this structure. For more info about each initialization function, see the links in the See Also section.
An initialized NET_ADAPTER_TX_CAPABILITIES structure is passed as a parameter to NetAdapterSetDatapathCapabilities.
NET_ADAPTER_TX_CAPABILITIES_INIT
NET_ADAPTER_TX_CAPABILITIES_INIT_FOR_DMA