SOCKET_PROCESSOR_AFFINITY structure (ws2def.h)

The SOCKET_PROCESSOR_AFFINITY structure contains the association between a socket and an RSS processor core and NUMA node..

Syntax

typedef struct _SOCKET_PROCESSOR_AFFINITY {
  PROCESSOR_NUMBER Processor;
  USHORT           NumaNodeId;
  USHORT           Reserved;
} SOCKET_PROCESSOR_AFFINITY, *PSOCKET_PROCESSOR_AFFINITY;

Members

Processor

A structure to represent a system wide processor number. This PROCESSOR_NUMBER structure contains a group number and relative processor number within the group.

NumaNodeId

The NUMA node ID.

Reserved

A value reserved for future use.

Remarks

The SOCKET_PROCESSOR_AFFINITY structure is supported on Windows 8, and Windows Server 2012, and later versions of the operating system.

The SIO_QUERY_RSS_PROCESSOR_INFO IOCTL is used to determine the association between a socket and an RSS processor core and NUMA node. This IOCTL returns a SOCKET_PROCESSOR_AFFINITY structure that contains the processor number and the NUMA node ID.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header ws2def.h

See also

PROCESSOR_NUMBER

SIO_QUERY_RSS_PROCESSOR_INFO