Messages in this thread |  | | | From | "David S. Miller" <> | | Date | Mon, 26 Feb 2001 16:08:40 -0800 (PST) | | Subject | Re: New net features for added performance |
| |
Andi Kleen writes: > Or did I misunderstand you?
What is wrong with making methods, keyed off of the ethernet protocol ID, that can do the "I know where/how-long headers are" stuff for that protocol? Only cards with the problem call into this function vector or however we arrange it, and then for those that don't have these problems at all we can make NULL a special value for this "post-header" pointer.
You can pick some arbitrary number, sure, that is another way to do it. Such a size would need to be chosen very carefully though.
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/
|  |