]> xenbits.xensource.com Git - pvdrivers/win/xenvif.git/commit
Set packet transmit completion information outside of ring lock
authorPaul Durrant <paul.durrant@citrix.com>
Fri, 2 Nov 2018 14:16:40 +0000 (14:16 +0000)
committerPaul Durrant <paul.durrant@citrix.com>
Tue, 6 Nov 2018 09:40:35 +0000 (09:40 +0000)
commit3e9d6d8744da75a77d85ca3b60755134199e82f1
tree40acf63e156f4e020593279c21917379fb62d56a
parente2d776d514d8726a7efa2f57e86708faa3cf2b4e
Set packet transmit completion information outside of ring lock

There is no need to hold the ring lock to update the packet transmit
completion information, or update the frontend statistics. This patch
creates a new __TransmitterSetCompletionInfo() function and calls this
just before returning each packet to XENNET, after the ring lock has been
dropped.

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