From: Havard Skinnemoen Date: Wed, 31 Oct 2012 06:04:58 +0000 (+0000) Subject: net/macb: Offset first RX buffer by two bytes X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~501 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29bc2e1e5504627c08ae2ce298e2209701289c40;p=pandora-kernel.git net/macb: Offset first RX buffer by two bytes Make the ethernet frame payload word-aligned, possibly making the memcpy into the skb a bit faster. This will be even more important after we eliminate the copy altogether. Also eliminate the redundant RX_OFFSET constant -- it has the same definition and purpose as NET_IP_ALIGN. Signed-off-by: Havard Skinnemoen [nicolas.ferre@atmel.com: adapt to newer kernel] Signed-off-by: Nicolas Ferre Tested-by: Joachim Eastwood Signed-off-by: David S. Miller --- Reading git-diff-tree failed