]> www.infradead.org Git - users/jedix/linux-maple.git/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>
Tue, 13 Dec 2011 15:43:26 +0000 (10:43 -0500)
commit3107eeb1afd3b7271d30e4a1c5fcad042132c303
tree8964a4ef0b86d83744a159a4ae686ae3d6775880
parent722877b6772832dffbe7773dc10d9a49e6645ee4
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