Re: skb fragmentation

From: Muli Ben-Yehuda
Date: Tue Jan 13 2004 - 04:50:48 EST


On Tue, Jan 13, 2004 at 10:49:56AM +0200, Sirotkin, Alexander wrote:

> I've seen a couple of drivers (for instance - e100) using fragmented skb
> on transmit path.
> I was wondering, how one can do the same on receive ?

How? build a fragmented skb on the receive path and send it
upwards. Last I looked at the relevant code (2.4.something), however,
the tcp/ip stack called skb_linearize() on the skb on its way up, so
you wouldn't gain anything unless you teach it to deal with fragmented
skb's all the way up. That's just what I recall - this subject was
discussed several times in the past, look in the archives for details.

Cheers,
Muli
--
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/

"the nucleus of linux oscillates my world" - gccbot@#offtopic

Attachment: signature.asc
Description: Digital signature