From: Owen Smith Date: Fri, 26 May 2023 08:17:10 +0000 (+0100) Subject: Set FrontendMaxQueues by default X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=50687fa7a255d937e7c43caeaf7b97533bb11331;p=pvdrivers%2Fwin%2Fxenvif.git Set FrontendMaxQueues by default Limiting the number of queues to the same value defined in xennet's INF file prevents xenvif from allocating many more resources than required. Currently, xenvif will allocate a queue for each active CPU, but xennet only reports a maximum of 8 RSS queues to Windows. When vCPU count is greather than 8, additional queues are not used and just consume resources. Signed-off-by: Owen Smith --- diff --git a/src/xenvif.inf b/src/xenvif.inf index d81fe52..4b5c9f7 100644 --- a/src/xenvif.inf +++ b/src/xenvif.inf @@ -88,6 +88,7 @@ HKR,,"BootFlags",0x00010003,0x81 [XenVif_Parameters] HKR,"Parameters",,0x00000010 HKR,"Parameters","RequestKey",0x00000000,%RequestKey% +HKR,"Parameters","FrontendMaxQueues",0x00010001,0x00000008 [XenVif_Inst.CoInstallers] CopyFiles=CoInst_CopyFiles