]> git.baikalelectronics.ru Git - kernel.git/commit
pasemi_mac: add local skb alignment
authorOlof Johansson <olof@lixom.net>
Tue, 2 Oct 2007 21:26:53 +0000 (16:26 -0500)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:54:25 +0000 (16:54 -0700)
commitb6cb24d15143d24bda42c18bf84909c5daa12255
tree1be4e5078a4a7dee15e0a7bc2690707312ee72a7
parent7acb38e674d709ffabff08f3f069cc4d58e90dd6
pasemi_mac: add local skb alignment

pasemi_mac: add local skb alignment

Add local SKB alignment to pasemi_mac, since ppc64 in general has it at 0
because of design flaws in some of the IBM server bridge chips. However,
for PWRficient doing the unaligned copies is more expensive than doing
unaligned DMA so make sure the data is aligned instead.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/pasemi_mac.c