]> xenbits.xensource.com Git - people/pauldu/xenvif.git/commit
Avoid transmitting on the wrong CPU
authorPaul Durrant <paul.durrant@citrix.com>
Wed, 18 May 2016 15:23:51 +0000 (16:23 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Mon, 18 Jul 2016 12:43:33 +0000 (13:43 +0100)
commit03dd464296cbcbc0fcf185d3fe54b00e0e50c385
treeee0473af29265a44849b1d8f991ba3c53d786dae
parent065b1439355f5addbfd53c7701c2f9599a330394
Avoid transmitting on the wrong CPU

The transmit and receive rings have DPCs and event channels affinitized
to a particular CPU. Thus, when XENNET queues a new packet at the
transmit side, make sure the packet is prepared and posted from the
CPU to which the DPC and event channel are bound to avoid lock contention.

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