]> git.baikalelectronics.ru Git - kernel.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>
Wed, 26 Oct 2011 14:02:56 +0000 (10:02 -0400)
commitc6a2fc674b6e7947ee58e5f14352c14a0518a343
treea75b386938b3f8f993c774c06f0e7b2ae830c1de
parentdc3784124394d79d1dcc446610d7959793890ab8
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