From: Paul Durrant Date: Tue, 10 Jan 2017 16:51:12 +0000 (+0000) Subject: Deferring transmit completion causes MPE_Ethernet test failures X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=761e6abee32d9b05c91a2d77a0e49dba9eae5e5f;p=people%2Fpauldu%2Fxenvif.git Deferring transmit completion causes MPE_Ethernet test failures The test imposes a strict timeout on transmit completion so unfortunately we have to complete eagerly. Signed-off-by: Paul Durrant --- diff --git a/src/xenvif/transmitter.c b/src/xenvif/transmitter.c index ea165d6..3ab3cbd 100644 --- a/src/xenvif/transmitter.c +++ b/src/xenvif/transmitter.c @@ -2786,6 +2786,7 @@ TransmitterRingPoll( KeMemoryBarrier(); Ring->Front.rsp_cons = rsp_cons; + Ring->Shared->rsp_event = rsp_cons + 1; } done: @@ -2859,8 +2860,6 @@ __TransmitterRingPushRequests( #pragma warning (push) #pragma warning (disable:4244) - Ring->Shared->rsp_event = Ring->Front.req_prod_pvt; - // Make the requests visible to the backend RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&Ring->Front, Notify);