Export (0) Print
Expand All

IRQ_DEVICE_POLICY enumeration

The IRQ_DEVICE_POLICY enumeration type indicates the policy the operating system can use to assign the interrupts from a device to different processors.

Syntax


typedef enum _IRQ_DEVICE_POLICY { 
  IrqPolicyMachineDefault                     = 0,
  IrqPolicyAllCloseProcessors                 = 1,
  IrqPolicyOneCloseProcessor                  = 2,
  IrqPolicyAllProcessorsInMachine             = 3,
  IrqPolicySpecifiedProcessors                = 4,
  IrqPolicySpreadMessagesAcrossAllProcessors  = 5
} IRQ_DEVICE_POLICY, *PIRQ_DEVICE_POLICY;

Constants

IrqPolicyMachineDefault

The device does not require any particular assignment of interrupts to processors.

IrqPolicyAllCloseProcessors

The operating system should assign interrupts from the device to processors that are close to the device. On non-NUMA computers, the effect of this value is identical to that of IrqPolicyAllProcessorsInMachine.

IrqPolicyOneCloseProcessor

The operating system should assign a single interrupt for the device to one processor that is close to the device. On non-NUMA computers, the operating system can assign the interrupt to any processor.

IrqPolicyAllProcessorsInMachine

The operating system should assign interrupts from the device to all processors.

IrqPolicySpecifiedProcessors

The operating system should assign interrupts from the device to a specific set of processors.

IrqPolicySpreadMessagesAcrossAllProcessors

The operating system should assign different message-signaled interrupts to different processors, if possible.

Remarks

The Interrupt.AffinityPolicy member of the IO_RESOURCE_DESCRIPTOR structure is an IRQ_DEVICE_POLICY enumeration value.

Requirements

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

See also

IO_RESOURCE_DESCRIPTOR

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft