diff options
author | Dale Farnsworth <dale@farnsworth.org> | 2006-01-16 16:51:22 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-01-17 07:23:37 -0500 |
commit | b44cd572623cb6a931a947d9108595517fd945f8 (patch) | |
tree | fc4a28e35531ad9bc3596b262ad834aff82d4662 /kernel/softlockup.c | |
parent | 16e0301831767ee1b8e5e022cc08e76f9f8a8938 (diff) |
[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 <dale@farnsworth.org>
mv643xx_eth.c | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'kernel/softlockup.c')
0 files changed, 0 insertions, 0 deletions