// netdma.h
typedef struct _NET_DMA_CHANNEL_CPU_AFFINITY {
ULONG DmaChannel;
ULONG CpuNumber;
} NET_DMA_CHANNEL_CPU_AFFINITY, *PNET_DMA_CHANNEL_CPU_AFFINITY;
View the official Windows Driver Kit DDI referenceNo description available.
Note The NetDMA interface is not supported in Windows 8 and later.
The NET_DMA_CHANNEL_CPU_AFFINITY structure specifies the CPU affinity of a DMA channel.
DmaChannelThe DMA channel number. The values for this member range from zero through the maximum number of DMA channels that the DMA engine supports minus one. The DMA provider driver specifies the maximum number of DMA channels in the MaxDmaChannelCount member of the NET_DMA_PROVIDER_CHARACTERISTICS structure.
CpuNumberThe target CPU that the DMA provider driver should associate with the MSI-X interrupts that are generated for the DMA channel that is specified in the DmaChannel member.
The NetDMA interface passes an array of NET_DMA_CHANNEL_CPU_AFFINITY structures to a DMA provider driver's ProviderSetDmaChannelCpuAffinity function to specify the CPU affinity of the DMA channels.
The NetDMA interface calls ProviderSetDmaChannelCpuAffinity while in the context of the NetDmaRegisterProvider function.
NET_DMA_PROVIDER_CHARACTERISTICS
ProviderSetDmaChannelCpuAffinity