On Fri, 14 Apr 2006, David S. Miller wrote: > > they are not accounted for in the skb yet. the way e1000 works is it > > pre-allocates all its 128 byte receive buffers using skb_alloc, and then > > chains in any pages that are used for receive packets. > > Ok so you allocate the base skb->data memory using alloc_skb(). Then > you add on pages and increment skb->truesize to account for the pages. > And you do all of this for receive packets before they are passed up > to the stack. > > Right?
yes, exactly. > If so, then that should be OK. > > Jeff, I seem to have misunderstood what e1000 was doing, the patches > changing skb->truesize should be fine. Thanks - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html