NET_ADAPTER_TX_CAPABILITIES structure (netadapter.h)
The NET_ADAPTER_TX_CAPABILITIES structure describes the transmit capabilities of a net adapter.
Syntax
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;
Members
Size
The size of this structure, in bytes.
MappingRequirement
A NET_MEMORY_MAPPING_REQUIREMENT value that specifies how the operating system should map transmit data buffers.
PayloadBackfill
The amount of space, in bytes, reserved for the client driver before the start of each NET_PACKET's payload.
MaximumNumberOfFragments
The maximum number of fragments per packet that the adapter can handle, or ((SIZE_T) - 1)
if there is no limit.
FragmentBufferAlignment
The minimum alignment for packet fragments. This member must be a power of 2.
FragmentRingNumberOfElementsHint
A 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.
MaximumNumberOfQueues
The maximum number of transmit queues that the adapter supports.
DmaCapabilities
A pointer to a driver-allocated and initialized NET_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.
Remarks
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.
Requirements
Requirement | Value |
---|---|
Minimum KMDF version | 1.27 |
Header | netadapter.h (include netadaptercx.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for