lkml.org 
[lkml]   [1999]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectdev_alloc_skb() magic headroom
Hi,

dev_alloc_skb() allocates and reserves 16 extra bytes at the
skbuff's head. Is this just some magic code (for cache optimization,
protection against buggy drivers, ... what then???) subject to change
or can users (e.g. when allocating downstream skb's) rely on
dev_alloc_skb() always returning an skb with
16 extra bytes reserved at the buffer head?

I thought dev_alloc_skb() is primarily intended for network
device driver's interrupt handlers when allocation the upstream
skb's (the header won't grow when passed upstream). Is this true?

Henner


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

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.030 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site