NET_DMA_CHANNEL_CPU_AFFINITY structure (netdma.h)

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.

Syntax

typedef struct _NET_DMA_CHANNEL_CPU_AFFINITY {
  ULONG DmaChannel;
  ULONG CpuNumber;
} NET_DMA_CHANNEL_CPU_AFFINITY, *PNET_DMA_CHANNEL_CPU_AFFINITY;

Members

DmaChannel

The 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.

CpuNumber

The 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.

Remarks

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.

Requirements

Requirement Value
Minimum supported client Supported for NetDMA 1.0 drivers in Windows Vista.
Header netdma.h (include Netdma.h)

See also

NET_DMA_PROVIDER_CHARACTERISTICS

NetDmaRegisterProvider

ProviderSetDmaChannelCpuAffinity