aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/rionet.c
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2008-08-24 03:00:20 +0200
committerLennert Buytenhek <buytenh@marvell.com>2008-08-24 03:33:44 +0200
commitabe787170bb3888c5e587e8e986711fe32ddf2f9 (patch)
treea1e1854fe95054adf2c3336bb5713936f2ab4efe /drivers/net/rionet.c
parent9e1f37724265725ad4c14fc2ef60a162dc13ac64 (diff)
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 <buytenh@marvell.com>
Diffstat (limited to 'drivers/net/rionet.c')
0 files changed, 0 insertions, 0 deletions