Re: kernel programming questions

Andi Kleen (andi@mind.aec.at)
02 Jul 1997 20:35:42 +0200


Eric.Schenk@dna.lth.se writes:

>
> Really we are thinking of having a skb structure as a chain of
> data chunks. Normally things would look something like:
>
> skb_header --> [eth header + IP header + tcp header ] --> [data]
>
> But if lower level protocols need to tack on extra headers we might see
> longer chains like:
>
> skb_header --> [eth header] --> [encap header] --> [IP header + tcp header]
> --> [data]

You're planning to change skbuffs into mbufs? :) I hope this won't slow down
the plain standard case (no SACK, no RFC1323, simple hardware like a NE2000
or a Tulip and a standard P5).

Does this mean that all network drivers need to be rewriten?

Thanks,
-Andi