[PATCH 1/2] mv643xx_eth: disable csum offloading if the hw limited by max size
Lennert Buytenhek
buytenh at wantstofly.org
Wed Jun 9 15:10:56 EDT 2010
On Wed, Jun 09, 2010 at 11:21:47AM +0300, Saeed Bishara wrote:
> >> diff --git a/include/linux/mv643xx_eth.h
> >b/include/linux/mv643xx_eth.h
> >> index cbbbe9b..7402718 100644
> >> --- a/include/linux/mv643xx_eth.h
> >> +++ b/include/linux/mv643xx_eth.h
> >> @@ -19,6 +19,10 @@ struct mv643xx_eth_shared_platform_data {
> >> struct mbus_dram_target_info *dram;
> >> struct platform_device *shared_smi;
> >> unsigned int t_clk;
> >> + /*
> >> + * Max packet size for Tx IP/Layer 4 checksum (0 -> no limit)
> >
> >There's always a limit. :-) You might as well just fill in the right
> >values for orion5x/kw/dd/loki while you're at it.
>
> Right, kirkwood and dove are limited to 1600, the others to 9*1024. Don't know about loki.
As I know Loki to be able to tx jumbo frames with hw checksum
offload, it is likely 9*1024 also.
More information about the linux-arm-kernel
mailing list