Netdev List
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: Rick Jones <rick.jones2@hp.com>
Cc: "Пламен Петров" <plamen.sisi@gmail.com>,
	"David Miller" <davem@davemloft.net>,
	netdev@vger.kernel.org
Subject: Re: [NET][TG3] Fwd: page allocation failure with linux 3.1.1
Date: Mon, 28 Nov 2011 20:28:14 +0100	[thread overview]
Message-ID: <1322508494.2970.14.camel@edumazet-laptop> (raw)
In-Reply-To: <4ED3DB91.9090409@hp.com>

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 :)

      reply	other threads:[~2011-11-28 19:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CALkh-HhkzHb7-2LAwCNOZ-S4otfeM+tthyw2_XDbDUjFRSkKjA@mail.gmail.com>
2011-11-27 20:34 ` [NET][TG3] Fwd: page allocation failure with linux 3.1.1 Пламен Петров
2011-11-28  6:35   ` Eric Dumazet
2011-11-28  7:16     ` Пламен Петров
2011-11-28  8:26       ` Eric Dumazet
2011-11-28 19:05         ` Rick Jones
2011-11-28 19:28           ` Eric Dumazet [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1322508494.2970.14.camel@edumazet-laptop \
    --to=eric.dumazet@gmail.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=plamen.sisi@gmail.com \
    --cc=rick.jones2@hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox