]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: rockchip: improve rk3328-roc-cc rgmii performance.
authorPeter Geis <pgwipeout@gmail.com>
Wed, 26 Jun 2019 13:04:43 +0000 (13:04 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 26 Jun 2019 22:22:13 +0000 (00:22 +0200)
commiteb1b3d59b9912723db99bedc0c30e03c69749427
treeb48fe35c4507d4de3fa477874e93bcff5f91b6b6
parentfecb5bc33c682ba27f3728eaac2516ea35c9d041
arm64: dts: rockchip: improve rk3328-roc-cc rgmii performance.

Currently the rk3328-roc-cc ethernet is enabled using "snps,force_thresh_dma_mode".
While this works, the performance leaves a lot to be desired.
A previous attempt to improve performance used "snps,txpbl = <0x4>".
This also allowed networking to function, but performance varied between boards.

This patch takes that one step further.
Set txpbl and rxpbl to 0x4.
This can also be accomplished with "snps,pbl =<0x4>" which affects both.
Also set "snps,aal" which forces address aligned DMA mode.

Fixes: d0e940d3809e (arm64: dts: rockchip: fix rk3328-roc-cc gmac2io stability issues)
Signed-off-by: Peter Geis <pgwipeout@gmail.com>
Tested-by: Leonidas P. Papadakos <papadakospan@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts