]> git.baikalelectronics.ru Git - kernel.git/commit
xen: netback: convert to SKB paged frag API.
authorIan Campbell <Ian.Campbell@citrix.com>
Wed, 5 Oct 2011 00:28:46 +0000 (00:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Oct 2011 21:36:00 +0000 (17:36 -0400)
commitb06ab46d8be718347f128df13d6de126c71eb2aa
tree0b308b59b41b4d612ec1c6d9d38c23bf61127383
parent3248b159a9033cf0e966d1a3b1ade43b4d001ed1
xen: netback: convert to SKB paged frag API.

netback currently uses frag->page to store a temporary index reference while
processing incoming requests. Since frag->page is to become opaque switch
instead to using page_offset. Add a wrapper to tidy this up and propagate the
fact that the indexes are only u16 through the code (this was already true in
practice but unsigned long and in were inconsistently used as variable and
parameter types)

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: xen-devel@lists.xensource.com
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/netback.c