From: Jaehoon Chung Date: Wed, 12 Jul 2023 02:08:29 +0000 (+0900) Subject: RISCV: dts: starfive: Change wr/rd_osr_lmt value from 4 to 0xf X-Git-Tag: accepted/tizen/unified/riscv/20230725.071352~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75caa4291eff23329eef9a0c80cf61a6a08e2e3e;p=platform%2Fkernel%2Flinux-starfive.git RISCV: dts: starfive: Change wr/rd_osr_lmt value from 4 to 0xf Change wr/rd_osr_lmt value from 4 to 0xf. When value is using to 4, ethernet Rx Performance is decreasing. Vendor kernel(v5.15) is using its value as 0xf. The below is iperf result. - Using to 4 - Rx is 45MBits/sec, Tx is 980MBits/sec - Using to 0xf - Rx is 750MBits/sec, Tx is 930Mbits/sec Change-Id: Ie6763a00ec2795e43bdbae2f224638732c789490 Signed-off-by: Jaehoon Chung --- diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi index 7e6361d57d41..2848fb8e3a34 100644 --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi @@ -287,8 +287,8 @@ stmmac_axi_setup: stmmac-axi-config { snps,lpi_en; - snps,wr_osr_lmt = <4>; - snps,rd_osr_lmt = <4>; + snps,wr_osr_lmt = <0xf>; + snps,rd_osr_lmt = <0xf>; snps,blen = <256 128 64 32 0 0 0>; };