lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <22bfe293-02b0-e7f6-b11f-9d7a51d23a79@st.com>
Date:   Mon, 19 Sep 2016 07:38:18 +0200
From:   Giuseppe CAVALLARO <peppe.cavallaro@...com>
To:     André Roth <neolynx@...il.com>
CC:     Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
        <netdev@...r.kernel.org>, <linux-amlogic@...ts.infradead.org>,
        Alexandre Torgue <alexandre.torgue@...com>
Subject: Re: stmmac/RTL8211F/Meson GXBB: TX throughput problems

Hello André

On 9/18/2016 10:42 PM, André Roth wrote:
>
> 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 eth0 tx off
> does not prevent the network communication going down..
>
>> Also you could check the AXI tuning and PBL value. To be honest
>> (thinking about your problem) I can actually suspect some related
>> problem on bus setup. So I suggest you to play with these value
>> (better if you ask for having values from HW validation on your side).
>> Otherwise the stmmac uses a default that cannot be good for your
>> platform. For example, sometime I have seen that PBL is better if
>> reduced to 8 instead of 32 and w/o 4xPBL...
>
> how can I set those values ?
>
> thanks for your time,

welcome

take a look at Documentation/devicetree/bindings/net/stmmac.txt

peppe

>
>  andre
>
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ