From: Dale Farnsworth Date: Mon, 16 Jan 2006 23:51:22 +0000 (-0700) Subject: [PATCH] mv643xx_eth: Receive buffers require 8 byte alignment X-Git-Tag: v2.6.16-rc2~366^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b44cd572623cb6a931a947d9108595517fd945f8;p=pandora-kernel.git [PATCH] mv643xx_eth: Receive buffers require 8 byte alignment The Marvell mv643xx ethernet hardware requires that DMA buffers be aligned to 8-byte boundaries. This patch satisfies this requirement. Buffers allocated by dev_alloc_skb() only have 4-byte alignment when slab debugging is enabled. Also, document that the 2-byte offset to align the IP packets on receive is a hardware feature and is not tied to NET_IP_ALIGN. Signed-off-by: Dale Farnsworth mv643xx_eth.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed