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)
commit7d0105b5334b9722b7d33acad613096dfcf3330e
tree8bde5a2cf9e108bc654ef84db8d7acccae8981a8
parent3b89624ab54b9dc2d92fc08ce2670e5f19ad8ec8
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