All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] mv643xx_eth: Disable TSO by default
@ 2015-05-29  6:16 Dr. Uwe Meyer-Gruhl
  2015-05-29 13:07 ` Ezequiel Garcia
  0 siblings, 1 reply; 14+ messages in thread
From: Dr. Uwe Meyer-Gruhl @ 2015-05-29  6:16 UTC (permalink / raw)
  To: linux-arm-kernel

> On Wed, Nov 05, 2014 at 08:39:26AM +0000, Ian Campbell wrote:
>> On Tue, 2014-11-04 at 15:20 +0100, Karl Beldan wrote:
>>> On Sat, Nov 01, 2014 at 12:30:19PM -0300, Ezequiel Garcia wrote:
>>>> Several users ([1], [2]) have been reporting data corruption
>>>> with TSO on Kirkwood platforms (i.e. using the mv643xx_eth
>>>> driver).
>>>>
>>>> Until we manage to find what's causing this, this simple patch  will make
>>>> the TSO path disabled by default. This patch should be queued
for stable,
>>>> fixing the TSO feature introduced in v3.16.
>>>>
>>>> The corruption itself is very easy to reproduce: checkingmd5sum on a mounted
>>>> NFS directory gives a different result each time. Same tests  using the mvneta
>>>> driver (Armada 370/38x/XP SoC) pass with no issues.
>>>>
>>>> Frankly, I'm a bit puzzled about this, and so any ideas ordebugging hints
>>>> are well received.
>>>>
>>>
>>> Hi,
>>>
>>> Can you try this :
>>
>> It fixes things for me, thanks!
>>
>> Tested-by: Ian Campbell <ijc@hellion.org.uk>
>>
>
> Good thing, thanks for your feedbak Ian !
>
> Karl --

That would be a good thing - although: Neither the patch to disable TSO
altogether nor the one that fixes the underlying problem actually made
it to the official kernel source tree, so it is still present in all 
kernels > 3.16 - I just stumbled over this in the current 4.0.4 version.

The fixes in the thread
http://marc.info/?l=linux-netdev&m=141517941900547&w=2 are not
applicable any more to the current driver from the 4.0 kernel, as the
whole respective logic seems to have been changed meanwhile, sadly 
without fixing the problem. Disabling TSO completely still works, though.

Can someone in the know please suggest a working fix to the kernel
maintainers, preferably one that does not resort to disable TSO?


Uwe
--

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3740 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150529/a14a7b4f/attachment.p7s>

^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCH 0/1] mv643xx_eth: Disable TSO by default
@ 2014-11-01 15:30 Ezequiel Garcia
  2014-11-01 17:26 ` Eric Dumazet
  2014-11-04 14:20 ` Karl Beldan
  0 siblings, 2 replies; 14+ messages in thread
From: Ezequiel Garcia @ 2014-11-01 15:30 UTC (permalink / raw)
  To: netdev, David Miller
  Cc: Thomas Petazzoni, Gregory Clement, Tawfik Bayouk, Lior Amsalem,
	Nadav Haklai, Ezequiel Garcia

Several users ([1], [2]) have been reporting data corruption with TSO on
Kirkwood platforms (i.e. using the mv643xx_eth driver).

Until we manage to find what's causing this, this simple patch will make
the TSO path disabled by default. This patch should be queued for stable,
fixing the TSO feature introduced in v3.16.

The corruption itself is very easy to reproduce: checking md5sum on a mounted
NFS directory gives a different result each time. Same tests using the mvneta
driver (Armada 370/38x/XP SoC) pass with no issues.

Frankly, I'm a bit puzzled about this, and so any ideas or debugging hints
are well received.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764162
[2] http://archlinuxarm.org/forum/viewtopic.php?f=9&t=7692

Ezequiel Garcia (1):
  net: mv643xx_eth: Make TSO disabled by default

 drivers/net/ethernet/marvell/mv643xx_eth.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.1.0

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-05-29 19:53 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-29  6:16 [PATCH 0/1] mv643xx_eth: Disable TSO by default Dr. Uwe Meyer-Gruhl
2015-05-29 13:07 ` Ezequiel Garcia
2015-05-29 19:53   ` Dr. Uwe Meyer-Gruhl
  -- strict thread matches above, loose matches on Subject: below --
2014-11-01 15:30 Ezequiel Garcia
2014-11-01 17:26 ` Eric Dumazet
2014-11-01 17:33   ` Thomas Petazzoni
2014-11-01 18:01     ` Eric Dumazet
2014-11-01 17:37   ` Eric Dumazet
2014-11-01 19:05     ` Ezequiel Garcia
2014-11-01 17:42   ` David Miller
2014-11-03 14:51   ` David Laight
2014-11-03 19:04     ` Eric Dumazet
2014-11-04 14:20 ` Karl Beldan
2014-11-05  8:39   ` Bug#764162: " Ian Campbell
2014-11-05 10:09     ` Karl Beldan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.