[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1322508494.2970.14.camel@edumazet-laptop>
Date: Mon, 28 Nov 2011 20:28:14 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Rick Jones <rick.jones2@...com>
Cc: Пламен Петров
<plamen.sisi@...il.com>, David Miller <davem@...emloft.net>,
netdev@...r.kernel.org
Subject: Re: [NET][TG3] Fwd: page allocation failure with linux 3.1.1
Le lundi 28 novembre 2011 à 11:05 -0800, Rick Jones a écrit :
> On 11/28/2011 12:26 AM, Eric Dumazet wrote:
> > Since some devices might copy skb to a linear one in their
> > ndo_start_xmit(), we could set a netdev limit so that TSO can still be
> > used on these devices, but limiting number of frags to
> > 2^PAGE_ALLOC_COSTLY_ORDER
>
> How much "TSO value" remains after such a copy?
Instead of filling up to 64Kbytes + one head of data per skb, we'll fill
32kbytes (8*4Kbytes) + one head.
Thats still better than 1460 bytes per skb :)
--
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