]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7cc8bf6e2e980c6ab006f7c293962bbfb4c9726e
tree8610270f8e73fa214527d58e36f9915f1d4e7607
parentfbf81f0589a21499ef0b573e46418f448df90cc1
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