]> xenbits.xensource.com Git - pvdrivers/win/xenvif.git/commit
Introduce a threaded DPC into the receiver code
authorPaul Durrant <paul.durrant@citrix.com>
Tue, 18 Sep 2018 13:48:49 +0000 (14:48 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Tue, 18 Sep 2018 13:53:10 +0000 (14:53 +0100)
commit264bde12317fa2dcdf32a95d45529948ee513487
tree13546af0dab54e3aa4969840af522c1d1f59e057
parentb97a704f04047cd87705ad120427fec63b145f79
Introduce a threaded DPC into the receiver code

To avoid problems with DPC timeouts move the majority of the receiver's
work, and interaction with the network stack, into a threaded DPC. This
leaves the poll entry point (called from the now non-threaded poller DPC)
to simply service responses and build a local packet queue that is then
drained by the threaded DPC.

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