]> xenbits.xensource.com Git - pvdrivers/win/xenvif.git/commit
Move the Receiver and Transmitter event and DPC processing...
authorPaul Durrant <paul.durrant@citrix.com>
Wed, 18 Oct 2017 14:02:52 +0000 (15:02 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Mon, 23 Oct 2017 15:30:33 +0000 (16:30 +0100)
commiteac9a95a018de7792d29b6fa705c2adaf11f908b
tree6fa5af60a3623d558800356233a8f76022fe1baf
parent40be5c12221f63ad131f30d75ac7c43ef2b79a0b
Move the Receiver and Transmitter event and DPC processing...

...into the new Poller sub-system.

For efficiency it is desirable to have a single DPC handle both Receiver
and Transmitter polling, even if there are separate event channels for
the shared rings.

This patch moves all the basic event and DPC code into the Poller
subsystem, which calls back into the Transmitter and Receiver sub-systems
(to poll the shared rings) from its single per-CPU DPC.

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