xen-netback: batch copies for multiple to-guest rx packets
authorDavid Vrabel <david.vrabel@citrix.com>
Tue, 4 Oct 2016 09:29:17 +0000 (10:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Oct 2016 00:37:36 +0000 (20:37 -0400)
commita37f12298c251a48bc74d4012e07bf0d78175f46
tree8610270f8e73fa214527d58e36f9915f1d4e7607
parent98f6d57ced73b723551568262019f1d6c8771f20
xen-netback: batch copies for multiple to-guest rx packets

Instead of flushing the copy ops when an packet is complete, complete
packets when their copy ops are done.  This improves performance by
reducing the number of grant copy hypercalls.

Latency is still limited by the relatively small size of the copy
batch.

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/common.h
drivers/net/xen-netback/rx.c