[PATCH 5/6] drivers: net: xgene: Using static MSS values
David Miller
davem at davemloft.net
Tue May 10 12:53:54 PDT 2016
From: Iyappan Subramanian <isubramanian at apm.com>
Date: Mon, 9 May 2016 17:04:15 -0700
> Due to the nature of hardware design for TSO, if the MSS values that are
> stored in the register, changes during TSO operation, data corruption may
> occur.
>
> This patch fixes the issue by using one of the predefined MSS values.
>
> Signed-off-by: Iyappan Subramanian <isubramanian at apm.com>
> Tested-by: Toan Le <toanle at apm.com>
This is a very serious quality of implementation issue.
And it could quietly kill performance for some users, and there is no
way for them to find out that this is happening.
If you use a predefined set of MSS values, if the MSS value we need is
between two of them then there is going to be wasted space on the
wire. It's can therefore certainly be better to not do TSO in that
case.
I think you absolutely need to disable TSO by default, and require the
user to explicitly turn it on, unless you can fix this problem in
another way.
Thanks.
More information about the linux-arm-kernel
mailing list