[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <E1J5C38-0004kh-00@gondolin.me.apana.org.au>
Date: Thu, 20 Dec 2007 11:26:18 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: ilpo.jarvinen@...sinki.fi (Ilpo J??rvinen)
Cc: davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: TSO trimming question
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.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
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