[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFBinCD_-KjVa70iOhBSGaXZc9uKy2m4d2yVr-AfLiV7F=3EqQ@mail.gmail.com>
Date: Sat, 1 Oct 2016 17:58:54 +0200
From: Martin Blumenstingl <martin.blumenstingl@...glemail.com>
To: Giuseppe CAVALLARO <peppe.cavallaro@...com>
Cc: André Roth <neolynx@...il.com>,
Alexandre Torgue <alexandre.torgue@...com>,
Johnson Leung <r58129@...escale.com>, netdev@...r.kernel.org,
linux-amlogic@...ts.infradead.org
Subject: Re: stmmac/RTL8211F/Meson GXBB: TX throughput problems
Hello Peppe,
On Mon, Sep 26, 2016 at 8:17 AM, Giuseppe CAVALLARO
<peppe.cavallaro@...com> wrote:
> Hello André
>
> On 9/17/2016 11:23 PM, André Roth wrote:
>>
>>
>> Hi all,
>>
>> I have an odroid c2 board which shows this issue. No data is
>> transmitted or received after a moment of intense tx traffic. Copying a
>> 1GB file per scp from the board triggers it repeatedly.
>>
>> The board has a stmmac - user ID: 0x11, Synopsys ID: 0x37.
>>
>> When switching the network to 100Mb/s the copying does
>> not seam to trigger the issue.
>>
>> I've attached the ethtool statistics before and after the problem.
>
>
> at first glance, it enters in EEE mode often in the ethtool.after.
> On some platforms we met problems and it was necessary to disable the
> feature. Maybe, you can start looking at if this is true on yours.
> We will see to provide a clean subset of patches to switch-on/off it.
I did some hacking in the stmmac driver to disable the LPI stuff (see
the attachment)
Unfortunately this did not fix the problem.
I did not issue any ethtool commands not shown in the logs.
Also I did not have time to change the AXI tuning / PBL value yet - so
those are also untouched.
I will keep testing, but unfortunately my device is starting to fall
apart (I sometimes have DDR initialization issues and u-boot fails to
come up, oh dear...).
View attachment "ethstats-with-stmmac-LPI-disabled.txt" of type "text/plain" (17966 bytes)
View attachment "stmmac-hack-disable-LPI.patch" of type "text/x-patch" (2072 bytes)
Powered by blists - more mailing lists