// ndis.h
NDIS_STATUS NdisGetProcessorInformation(
[in, out] PNDIS_SYSTEM_PROCESSOR_INFO SystemProcessorInfo
);
View the official Windows Driver Kit DDI referenceNo description available.
The NdisGetProcessorInformation function retrieves information about the CPU topology of the local computer and the set of processors that a miniport driver must use for receive side scaling (RSS).
SystemProcessorInfo [in, out]A pointer to an NDIS_SYSTEM_PROCESSOR_INFO structure that NDIS fills with the information about the CPU topology of the system and the RSS processor set.
NdisGetProcessorInformation can return one of the following status values:
| Return code | Description |
|---|---|
| NDIS_STATUS_SUCCESS | The operation completed successfully. |
| NDIS_STATUS_BUFFER_TOO_SHORT | The size that was specified in the Header.Size member of the SystemProcessorInfo parameter was too small. |
NDIS drivers call the NdisGetProcessorInformation function to retrieve information about the processors on the local computer.
RSS-capable miniport drivers that support MSI-X call NdisGetProcessorInformation in their MiniportFilterResourceRequirements function. Miniport drivers set the interrupt affinity of the allocated MSI-X messages to the RSS processors that are specified in the RssProcessors member of the SystemProcessorInfo parameter.
MiniportFilterResourceRequirements
NdisGetRssProcessorInformation