Skip to contentSkip to conversation

skb fragmentation

DISCUSSION Sirotkin, Alexander 2 participants 2 messages Jan 13, 2004

lore
Share & tools
lore
#0 lore raw

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 ?

Anybody ever tried to do this ? Is there any example of such a driver ?

Signature · 9 lines
Alexander Sirotkin
SW Engineer

Texas Instruments
Broadband Communications Israel (BCIL)
Tel:  +972-9-9706587
________________________________________________________________________
"Those who do not understand Unix are condemned to reinvent it, poorly."
     -- Henry Spencer 
#1 lore raw
Quoted 3 lines · Alexander

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

Signature · 4 lines
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/

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