]> Pileus Git - ~andy/linux/commit
net: xen-netback: use API provided by xenbus module to map rings
authorDavid Vrabel <david.vrabel@citrix.com>
Thu, 29 Sep 2011 15:53:31 +0000 (16:53 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 26 Oct 2011 14:02:56 +0000 (10:02 -0400)
commitc9d6369978411f690513994e6e53e2e6410874a4
treea75b386938b3f8f993c774c06f0e7b2ae830c1de
parent2d073846b891c3f49c4ea03c5db3ac92f92742f1
net: xen-netback: use API provided by xenbus module to map rings

The xenbus module provides xenbus_map_ring_valloc() and
xenbus_map_ring_vfree().  Use these to map the Tx and Rx ring pages
granted by the frontend.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/net/xen-netback/common.h
drivers/net/xen-netback/netback.c