]> 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)
commit0e68687ee2352ec60891199aa8c8781fbdc612ab
tree8610270f8e73fa214527d58e36f9915f1d4e7607
parentfd708ffeee800e440216273ab818dc4caa35ed8d
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