]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
xen/netfront: handle compound page fragments on transmit
authorIan Campbell <Ian.Campbell@citrix.com>
Wed, 21 Nov 2012 02:02:16 +0000 (02:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Nov 2012 16:50:31 +0000 (11:50 -0500)
commitf36c374782e40a3812f729838b5b80d2ce601725
tree7d300779d8188842abf5eb16b51bb3c6db8bd2fc
parentf30a944392d701228f5076c0397c83bf871153d2
xen/netfront: handle compound page fragments on transmit

An SKB paged fragment can consist of a compound page with order > 0.
However the netchannel protocol deals only in PAGE_SIZE frames.

Handle this in xennet_make_frags by iterating over the frames which
make up the page.

This is the netfront equivalent to 6a8ed462f16b for netback.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: netdev@vger.kernel.org
Cc: xen-devel@lists.xen.org
Cc: Eric Dumazet <edumazet@google.com>
Cc: Konrad Rzeszutek Wilk <konrad@kernel.org>
Cc: ANNIE LI <annie.li@oracle.com>
Cc: Sander Eikelenboom <linux@eikelenboom.it>
Cc: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netfront.c