]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen-netback: batch copies for multiple to-guest rx packets
authorDavid Vrabel <david.vrabel@citrix.com>
Fri, 12 May 2017 08:46:33 +0000 (09:46 +0100)
committerJoao Martins <joao.m.martins@oracle.com>
Wed, 31 May 2017 21:51:54 +0000 (22:51 +0100)
commite7818169f2d8fe0a6ecb314d9ca07f9a4b5e9412
treee1e02460e780708dd4f4e01310a702417febba20
parent795b494d32714481b95545f78973e9491be29aa3
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>
(cherry picked from commit a37f12298c251a48bc74d4012e07bf0d78175f46)
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: Shannon Nelson <shannon.nelson@oracle.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/net/xen-netback/common.h
drivers/net/xen-netback/rx.c