[NET]: Allow skb headroom to be overridden
authorAnton Blanchard <anton@samba.org>
Fri, 31 Mar 2006 10:27:06 +0000 (02:27 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 Mar 2006 10:27:06 +0000 (02:27 -0800)
commit025be81e83043f20538dcced1e12c5f8d152fbdb
treeb5789ee2931739c7066f5369ce699ef4f3fa758e
parent0803dbed7a23721d091639c9e173c0389dcd524a
[NET]: Allow skb headroom to be overridden

Previously we added NET_IP_ALIGN so an architecture can override the
padding done to align headers. The next step is to allow the skb
headroom to be overridden.

We currently always reserve 16 bytes to grow into, meaning all DMAs
start 16 bytes into a cacheline. On ppc64 we really want DMA writes to
start on a cacheline boundary, so we increase that headroom to one
cacheline.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/asm-powerpc/system.h
include/linux/skbuff.h