NdisGetProcessorInformation (Compact 2013)
3/26/2014
This function retrieves information about the CPU topology of the local device and the set of processors that a miniport driver must use for receive-side scaling (RSS).
Syntax
NDIS_STATUS
NdisGetProcessorInformation(
IN PNDIS_SYSTEM_PROCESSOR_INFO SystemProcessorInfo
);
Parameters
- SystemProcessorInfo
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.
Return Value
NdisGetProcessorInformation can return one of the following status values:
Value |
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. |
Remarks
NDIS drivers call the NdisGetProcessorInformation function to retrieve information about the processors on the local device.
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.
Requirements
Header |
ndis.h |
See Also
Reference
NDIS Current Information Functions
NDIS_SYSTEM_PROCESSOR_INFO