]> xenbits.xensource.com Git - pvdrivers/win/xenvif.git/commit
Don't bump the receiver event counter if the poller is going to retry
authorPaul Durrant <paul.durrant@citrix.com>
Mon, 6 Aug 2018 12:11:39 +0000 (13:11 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Mon, 6 Aug 2018 12:11:39 +0000 (13:11 +0100)
commit5932938b14ec647df5ec2ae4ee89960a4a14f500
tree234886edb1a3bbe265fca1bfb57b16c3cae60f70
parente158f7f29a3652a5b6f10e6a070644c1b77ceaa5
Don't bump the receiver event counter if the poller is going to retry

There is little point in bumping rsp_event (to trigger a new event from
the backend) if the poller is going to retry, so we can save modifying the
shared ring in this case.

This patch also adds extra debug code to the poller to make sure it never
exits from the main loop until either there are no retries pending or
the instance has been disabled.

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