[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071219.235527.231281143.davem@davemloft.net>
Date: Wed, 19 Dec 2007 23:55:27 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: ilpo.jarvinen@...sinki.fi, netdev@...r.kernel.org
Subject: Re: TSO trimming question
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Thu, 20 Dec 2007 11:26:18 +0800
> Ilpo J??rvinen <ilpo.jarvinen@...sinki.fi> wrote:
> >
> >> is the limitting factor? For latter IMHO this would be necessary:
> >>
> >> if (skb->len > limit)
> >> limit -= limit % mss_now;
>
> Good catch! But how about putting this logic into tcp_window_allows
> since then you can avoid the divide for the case when we're not
> bound by the receiver window.
Because the purpose of this calculation is different, as I
described in my other reply, I don't think this change is
correct, regardless of where it is placed :-)
--
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