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

2016-11-17 Thread André Roth
Hi all, > I checked again the kernel > at https://github.com/hardkernel/linux/tree/ odroidc2-3.14.y. The > version you mention (3.14.65-73) seems to be: > sha1: c75d5f4d1516cdd86d90a9d1c565bb0ed9251036 tag: jenkins-deb s905 > kernel-73 I downloaded the prebuilt image from hardkernel, I did not b

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

2016-11-13 Thread André Roth
Hi all, > To everybody having similar issue with their OdroidC2, could you try > the attached patch and let us know if it changes anything for you ? I can confirm that this patch removes the problem, I have now constant ~300Mb/s in both directions without any issue ! :) I used the v4.10/integ b

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

2016-11-13 Thread André Roth
> Andre, the 3.14 kernel you are talking, is it this one ? :  > https://github.com/hardkernel/linux/tree/odroidc2-3.14.y yes > Because in drivers/net/phy/realtek.c, they disable EEE, but > also 1000Base-T Full Duplex advertisement ? > > + /* disable 1000m adv*/ > + val = phy_read(phyde

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

2016-10-31 Thread André Roth
Hi all, > on my device this results in: > [0xc9410018] = 0x200 > [0xc9410030] = 0x0 > [0xc941003c] = 0x0 > [0xc9411000] = 0x1100802 > [0xc9411018] = 0x2202006 > [0xc9411028] = 0x0 > > maybe someone else could try the command from above on his device > (running the original Amlogic kernel).

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

2016-09-18 Thread André Roth
Hello, > For example, you could try disabling the scatter-gather or tx-cum > via ethtool and seeing if there is some benefit; so we could image > some problem on your HW or SYNP MAC integration for checksumming > on tx side. disabling the following: ethtool -K eth0 sg off or: ethtool -K

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

2016-09-17 Thread André Roth
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