[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [win-pv-devel] [PATCH] Log a message to note that when a receiver is waiting for packets
Before the receiver object in the frontend can be shut down, the Windows network stack must return all buffers passed up. The code therefore waits for this to happen during the VIF Disable method. Add logging to note that the wait is occuring as it can take a significant amount of time. Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx> --- src/xenvif/receiver.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/xenvif/receiver.c b/src/xenvif/receiver.c index e414fba..20ce0de 100644 --- a/src/xenvif/receiver.c +++ b/src/xenvif/receiver.c @@ -3271,9 +3271,15 @@ ReceiverWaitForPackets( Loaned = Receiver->Loaned; - while (Receiver->Returned != Loaned) { - Trace("waiting for packets\n"); + if (Receiver->Returned != Loaned) { + PXENVIF_FRONTEND Frontend; + + Frontend = Receiver->Frontend; + Info("%s\n", FrontendGetPath(Frontend)); + } + + while (Receiver->Returned != Loaned) { (VOID) KeWaitForSingleObject(&Receiver->Event, Executive, KernelMode, -- 2.1.1 _______________________________________________ win-pv-devel mailing list win-pv-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |