Re: New net features for added performance

Andi Kleen (ak@suse.de)
Tue, 27 Feb 2001 01:03:36 +0100


On Mon, Feb 26, 2001 at 03:48:31PM -0800, David S. Miller wrote:
>
> Andi Kleen writes:
> > 4) Better support for aligned RX by only copying the header
>
> Andi you can make this now:
>
> 1) Add new "post-header data pointer" field in SKB.

That would imply to let the drivers parse all headers to figure out the length.
I think it's better to have a "header base" and "data base" pointer.
The driver would just copy some standard size that likely contains all of
the header
When you're finished with the header use
skb->database+(skb->hdrptr-skb->hdrbase) to get the start of data.

Or did I misunderstand you?

> 3) Enforce correct usage of it in all the networking :-)

,) -- the tricky part.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/