From: Peter Geis <pgwipeout@gmail.com>
To: "Leonidas P. Papadakos" <papadakospan@gmail.com>
Cc: Jose Abreu <jose.abreu@synopsys.com>,
devicetree@vger.kernel.org, Heiko Stuebner <heiko@sntech.de>,
linux-rockchip@lists.infradead.org,
Rob Herring <robh+dt@kernel.org>,
Robin Murphy <robin.murphy@arm.com>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] arm64: dts: rockchip: improve rk3328-roc-cc rgmii performance.
Date: Sat, 15 Jun 2019 08:12:36 -0400 [thread overview]
Message-ID: <71dc10a5-1024-d849-336e-476d183e5f46@gmail.com> (raw)
In-Reply-To: <1560547631.1367.4@gmail.com>
On 6/14/2019 5:27 PM, Leonidas P. Papadakos wrote:
>
>
>> The big change was actually snps,aal.
>> As per the TRM, DMA channels not address aligned have severe
>> limitations, if they work at all.
>>
>> Setting the DMA ops as address aligned fixed my 30mbps TX issue when
>> combined with your snps,txpbl = <0x4>.
>
> Honestly, I don't notice any difference either way with aal. So what
> happens without it? If You only use the 0x4 txpbl and having removed
> thresh dma mode, (2 things then) do you get bad tx?
>
>
I'm unsure why, but I think there might be small variations in the
different boards (Firefly, Libre).
On my board (Libre) with just 0x4 txpbl and thresh dma removed I get a
whopping 30mbps.
Adding aal brought it up to 900 mbps.
I also had stability issues on rx, where it would bounce between 200 and
400 mbps, which adding 0x4 rxpbl helped.
I still haven't been able to get rx above 400mpbs though.
It's definitely the MTU issue, since setting the max mtu to 1496 fixes
most problems.
I have to wonder if the pl330 in the rk3328 is bugged, since all of the
hardware that misbehaves (usb3, mmc, rgmii) require the dma engine.
If this works as a valid replacement for thresh dma mode, then I can
submit it for merging.
I would like a few more people to test it first.
Anyone else with a rk3328-roc-cc board that can test this patch?
next prev parent reply other threads:[~2019-06-15 12:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-07 12:37 [PATCH] arm64: dts: rockchip: improve rk3328-roc-cc rgmii performance Peter Geis
2019-06-07 12:58 ` Leonidas P. Papadakos
[not found] ` <1559912295.22520.0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2019-06-07 23:07 ` Peter Geis
[not found] ` <CAMdYzYorvWr1YhmFKaMQUCditjop5AZp4d1tO79XsVr7m7HrMw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-06-14 9:39 ` Heiko Stuebner
2019-06-14 19:49 ` Leonidas P. Papadakos
2019-06-14 21:27 ` Leonidas P. Papadakos
2019-06-15 12:12 ` Peter Geis [this message]
2019-06-15 13:32 ` Jonas Karlman
-- strict thread matches above, loose matches on Subject: below --
2019-06-26 13:04 Peter Geis
[not found] ` <20190626130443.22025-1-pgwipeout-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2019-06-26 22:22 ` Heiko Stuebner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=71dc10a5-1024-d849-336e-476d183e5f46@gmail.com \
--to=pgwipeout@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=jose.abreu@synopsys.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=papadakospan@gmail.com \
--cc=robh+dt@kernel.org \
--cc=robin.murphy@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).