[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[win-pv-devel] [PATCH 09/10] Pin queue's DPC to appropriate vCPU when using multiple queues



Signed-off-by: Owen Smith <owen.smith@xxxxxxxxxx>
---
 src/xenvif/notifier.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/xenvif/notifier.c b/src/xenvif/notifier.c
index 573ffaa..93f2395 100644
--- a/src/xenvif/notifier.c
+++ b/src/xenvif/notifier.c
@@ -295,6 +295,11 @@ NotifierQueueConnect(
         PKSERVICE_ROUTINE   Callback = NotifierQueueEvtchnCallback[Index];
         BOOLEAN             Pending;
 
+        if (FrontendGetQueueCount(Frontend) > 1) {
+            KeSetTargetProcessorDpc(&Queue->Dpc[Index],
+                                    (CCHAR)Queue->Index);
+        }
+
         Queue->Channel[Index] = XENBUS_EVTCHN(Open,
                                               &Notifier->EvtchnInterface,
                                               XENBUS_EVTCHN_TYPE_UNBOUND,
-- 
1.9.4.msysgit.1


_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.