]> xenbits.xensource.com Git - people/pauldu/xenvif.git/commit
Fix DPC accounting
authorPaul Durrant <paul.durrant@citrix.com>
Fri, 22 Jan 2016 13:57:58 +0000 (13:57 +0000)
committerPaul Durrant <paul.durrant@citrix.com>
Fri, 22 Jan 2016 16:03:53 +0000 (16:03 +0000)
commitb906883d573f902d259f568d47d6dd1f14a70e98
tree8f838ff36236beeb48396a254d165154791bb20d
parent44921822748d91c5472b47372f3a6a34d3f57537
Fix DPC accounting

The DPC count is not zeroed when the event count is zeroed leading to some
odd looking stats. Also the DPC count should really be incremented by the
DPC itself to ensure serialization.

While in the neighbourhood, the ring notify functions in transmitter and
receiver look a little superfluous; they can easily be folded directly
into the DPC if the receiver code triggers the transmmitter DPC in the case
of a combined event channel.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
src/xenvif/receiver.c
src/xenvif/transmitter.c