From: Lennert Buytenhek Date: Sun, 24 Aug 2008 01:00:20 +0000 (+0200) Subject: mv643xx_eth: enforce multiple-of-8-bytes receive buffer size restriction X-Git-Tag: v2.6.27-rc5~8^2~4^2~30^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abe787170bb3888c5e587e8e986711fe32ddf2f9;p=pandora-kernel.git mv643xx_eth: enforce multiple-of-8-bytes receive buffer size restriction The mv643xx_eth hardware ignores the lower three bits of the buffer size field in receive descriptors, causing the reception of full-sized packets to fail at some MTUs. Fix this by rounding the size of allocated receive buffers up to a multiple of eight bytes. While we are at it, add a bit of extra space to each receive buffer so that we can handle multiple vlan tags on ingress. Signed-off-by: Lennert Buytenhek --- Reading git-diff-tree failed