[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1353510832.2590.39.camel@edumazet-glaptop>
Date: Wed, 21 Nov 2012 07:13:52 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Ian Campbell <ian.campbell@...rix.com>
Cc: netdev@...r.kernel.org, xen-devel@...ts.xen.org,
Eric Dumazet <edumazet@...gle.com>,
Konrad Rzeszutek Wilk <konrad@...nel.org>,
ANNIE LI <annie.li@...cle.com>,
Sander Eikelenboom <linux@...elenboom.it>,
Stefan Bader <stefan.bader@...onical.com>
Subject: Re: [PATCH V3] xen/netfront: handle compound page fragments on
transmit
On Wed, 2012-11-21 at 12:02 +0000, Ian Campbell wrote:
> 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@...rix.com>
> Cc: netdev@...r.kernel.org
> Cc: xen-devel@...ts.xen.org
> Cc: Eric Dumazet <edumazet@...gle.com>
> Cc: Konrad Rzeszutek Wilk <konrad@...nel.org>
> Cc: ANNIE LI <annie.li@...cle.com>
> Cc: Sander Eikelenboom <linux@...elenboom.it>
> Cc: Stefan Bader <stefan.bader@...onical.com>
> ---
> v3: limit to 80-characters. Use net_alert_ratelimited.
> v2: check we have enough room in the ring and that the other end can
> cope with the number of slots in a single frame
> ---
Acked-by: Eric Dumazet <edumazet@...gle.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists