netdev
[Top] [All Lists]

Re: TCP receiver's window calculation problem

To: Cheng Jin <chengjin@xxxxxxxxxxxxxx>
Subject: Re: TCP receiver's window calculation problem
From: John Heffner <jheffner@xxxxxxx>
Date: Fri, 25 Jun 2004 09:43:32 -0400 (EDT)
Cc: "netdev@xxxxxxxxxxx" <netdev@xxxxxxxxxxx>, "fast-support@xxxxxxxxxxxxxx" <fast-support@xxxxxxxxxxxxxx>
In-reply-to: <Pine.LNX.4.44.0406241331590.1272-100000@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Thu, 24 Jun 2004, Cheng Jin wrote:

> The receiver is set to use a 9000 MTU, but the sender uses a 1500-byte
> MTU, which is not really a pathological case.  It would have made more
> sense for the receiver to allocate skbs of the right size as incoming
> packets are received.

Some drivers are apparently optimized for this case.  I have not confirmed
this.


> Is it due to effciency reasons that the skbs are just fixed in size
> according to the set MTU on the interface card? I suppose that the
> receiver has no real way of knowing the right MTU size at the sender.

I haven't looked too hard in to this.  Any device driver people want to
chime in?

  -John


<Prev in Thread] Current Thread [Next in Thread>