xdp-for-windows icon indicating copy to clipboard operation
xdp-for-windows copied to clipboard

Query RSS processor limit on newer Windows builds

Open mtfriesen opened this issue 2 years ago • 0 comments

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.) //

mtfriesen avatar Jul 13 '22 20:07 mtfriesen