xen-netback: process guest rx packets in batches
authorDavid Vrabel <david.vrabel@citrix.com>
Tue, 4 Oct 2016 09:29:16 +0000 (10:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Oct 2016 00:37:36 +0000 (20:37 -0400)
commit98f6d57ced73b723551568262019f1d6c8771f20
treecc8cc59b8b34aed750dd8c020fbd31dca62165af
parent7c0b1a23e6f983fe392c8ffa71d05189ae52ebb5
xen-netback: process guest rx packets in batches

Instead of only placing one skb on the guest rx ring at a time, process
a batch of up-to 64.  This improves performance by ~10% in some tests.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
[re-based]
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/rx.c