Re: New net features for added performance

From: David S. Miller (davem@redhat.com)
Date: Mon Feb 26 2001 - 18:48:31 EST


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.
2) Change drivers to copy into aligned headroom as
   you mention, and they set this new post-header
   pointer as appropriate. For normal drivers without
   alignment problem, generic code sets the pointer up
   just like it does the rest of the SKB header pointers
   now.
3) Enforce correct usage of it in all the networking :-)

I would definitely accept such a patch for the 2.5.x
series. It seems to be a nice idea and I currently see
no holes in it.

Later,
David S. Miller
davem@redhat.com
-
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/



This archive was generated by hypermail 2b29 : Wed Feb 28 2001 - 21:00:12 EST