xdp-for-windows
xdp-for-windows copied to clipboard
Query RSS processor limit on newer Windows builds
Found in https://dev.azure.com/mscodehub/WindowsXDP/_git/xdp/pullrequest/19220
Add support for querying NdisGetRssProcessorInformation from LWFs
XdpGenericRssInitialize: // // RSS allows more processors than receive queues, but the RSS // implementation in TCPIP constrains the number of processors to the // number of receive queues. The NDIS API to query the actual maximum // processor count is unavailable to LWFs, so simply use the number of // receive queues instead. // // TODO: can we query the max processor count some other way? (It can be // queried via miniport and protocol driver handles, and WMI.) //