Thread (27 messages) 27 messages, 6 authors, 2016-11-17

Re: stmmac/RTL8211F/Meson GXBB: TX throughput problems

From: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Date: 2016-10-01 15:59:16
Also in: linux-amlogic

Hello Peppe,

On Mon, Sep 26, 2016 at 8:17 AM, Giuseppe CAVALLARO
[off-list ref] wrote:
Hello André

On 9/17/2016 11:23 PM, André Roth wrote:
quoted

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...).

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help