]> git.baikalelectronics.ru Git - kernel.git/commit
xen-netfront: request Tx response events more often
authorMalcolm Crossley <malcolm.crossley@citrix.com>
Tue, 26 Jan 2016 17:12:44 +0000 (17:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Jan 2016 00:08:55 +0000 (16:08 -0800)
commitf569dc1afa9b932eec03bb452e178f957f4a0753
tree8bde5a2cf9e108bc654ef84db8d7acccae8981a8
parent8f902338046b90a1dcfdd41bd85a07ce55d3ceee
xen-netfront: request Tx response events more often

Trying to batch Tx response events results in poor performance because
this delays freeing the transmitted skbs.

Instead use the standard RING_FINAL_CHECK_FOR_RESPONSES() macro to be
notified once the next Tx response is placed on the ring.

Signed-off-by: Malcolm Crossley <malcolm.crossley@citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netfront.c