]> xenbits.xensource.com Git - people/pauldu/linux.git/commit
xen-netback: batch copies for multiple to-guest rx packets
authorPaul Durrant <paul.durrant@citrix.com>
Fri, 23 Sep 2016 12:18:51 +0000 (13:18 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Mon, 26 Sep 2016 11:58:27 +0000 (12:58 +0100)
commit85929042df71bfad0ffc8f50c1a8e9ce84a8312b
tree6ea550c617c34cf6da11239c4466926dd47a59f0
parent0385e0cb1263bea6723728e89832dbab27d45138
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>
drivers/net/xen-netback/common.h
drivers/net/xen-netback/rx.c