ARM: Orion: Set eth packet size csum offload limit
authorArnaud Patard (Rtp) <arnaud.patard@rtp-net.org>
Thu, 26 Jul 2012 10:15:46 +0000 (12:15 +0200)
committerJason Cooper <jason@lakedaemon.net>
Wed, 15 Aug 2012 13:58:09 +0000 (13:58 +0000)
commit58569aee5a1a5dcc25c34a0a2ed9a377874e6b05
treebb41415f9e3d885a6282f9fca61439b9d3b19fcf
parent0d7614f09c1ebdbaa1599a5aba7593f147bf96ee
ARM: Orion: Set eth packet size csum offload limit

The mv643xx ethernet controller limits the packet size for the TX
checksum offloading. This patch sets this limits for Kirkwood and
Dove which have smaller limits that the default.

As a side note, this patch is an updated version of a patch sent some years
ago: http://lists.infradead.org/pipermail/linux-arm-kernel/2010-June/017320.html
which seems to have been lost.

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Cc: <stable@vger.kernel.org>
arch/arm/mach-dove/common.c
arch/arm/mach-kirkwood/common.c
arch/arm/mach-mv78xx0/common.c
arch/arm/mach-orion5x/common.c
arch/arm/plat-orion/common.c
arch/arm/plat-orion/include/plat/common.h
include/linux/mv643xx_eth.h