| To: | ak@xxxxxx |
|---|---|
| Subject: | Re: [PATCH] Super TSO |
| From: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
| Date: | Wed, 18 May 2005 12:57:09 -0700 (PDT) |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <m1fywk645i.fsf@xxxxxx> |
| References: | <20050517.192416.108741581.davem@xxxxxxxxxxxxx> <m1fywk645i.fsf@xxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
From: Andi Kleen <ak@xxxxxx>
Date: Wed, 18 May 2005 15:43:21 +0200
> > @@ -674,59 +653,274 @@ unsigned int tcp_sync_mss(struct sock *s
> > * cannot be large. However, taking into account rare use of URG, this
> > * is not a big flaw.
> > */
> > +static inline u32 compute_xmit_cache(u32 mss, int sacks, int tso_enabled)
> > +{
> > + u32 ret = (mss << 16) | sacks;
>
> 16bit MSS? How does that deal with jumbopackets on IPv6?
> While the MSS option is also 16bit it is legal to construct bigger
> datagrams when no MSS option was exchanged.
It doesn't, and neither does the existing code. I know it needs
to be fixed, thanks for reminding me.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: 2.6.12-rc4-mm2 - sleeping function called from invalid context at mm/slab.c:2502, David Woodhouse |
|---|---|
| Next by Date: | Re: [PATCH] NUMA aware allocation of transmit and receive buffers for e1000, Andrew Morton |
| Previous by Thread: | Re: [PATCH] Super TSO, Andi Kleen |
| Next by Thread: | RE: [PATCH] Super TSO, Leonid Grossman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |