From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2511C41513 for ; Thu, 10 Aug 2023 10:55:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234357AbjHJKzD convert rfc822-to-8bit (ORCPT ); Thu, 10 Aug 2023 06:55:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230230AbjHJKy7 (ORCPT ); Thu, 10 Aug 2023 06:54:59 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B63A81703; Thu, 10 Aug 2023 03:54:57 -0700 (PDT) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 4960E24E31A; Thu, 10 Aug 2023 18:54:41 +0800 (CST) Received: from EXMBX062.cuchost.com (172.16.6.62) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 10 Aug 2023 18:54:41 +0800 Received: from [192.168.120.43] (171.223.208.138) by EXMBX062.cuchost.com (172.16.6.62) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 10 Aug 2023 18:54:40 +0800 Message-ID: <37f5c947-5bba-0add-4805-1ce800f99aff@starfivetech.com> Date: Thu, 10 Aug 2023 18:54:39 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [-next v1 1/1] riscv: dts: starfive: jh7110: Fix GMAC configuration To: Conor Dooley CC: , , , Emil Renner Berthing , "Emil Renner Berthing" , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Hal Feng References: <20230810074646.19076-1-samin.guo@starfivetech.com> <20230810074646.19076-2-samin.guo@starfivetech.com> <20230810-suitable-truffle-eac5d7f93377@wendy> Content-Language: en-US From: Guo Samin In-Reply-To: <20230810-suitable-truffle-eac5d7f93377@wendy> Content-Type: text/plain; charset="UTF-8" X-Originating-IP: [171.223.208.138] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX062.cuchost.com (172.16.6.62) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org on 2023/8/10 18:48:38, Conor Dooley wrote: > On Thu, Aug 10, 2023 at 03:46:46PM +0800, Samin Guo wrote: >> Fixed configuration to improve the speed of TCP RX. >> >> Before: >> # iperf3 -s >> ----------------------------------------------------------- >> Server listening on 5201 (test #1) >> ----------------------------------------------------------- >> Accepted connection from 192.168.1.4, port 47604 >> [ 5] local 192.168.1.3 port 5201 connected to 192.168.1.4 port 47612 >> [ ID] Interval Transfer Bitrate >> [ 5] 0.00-1.00 sec 36.3 MBytes 305 Mbits/sec >> [ 5] 1.00-2.00 sec 35.6 MBytes 299 Mbits/sec >> [ 5] 2.00-3.00 sec 36.5 MBytes 306 Mbits/sec >> [ 5] 3.00-4.00 sec 36.5 MBytes 306 Mbits/sec >> [ 5] 4.00-5.00 sec 35.7 MBytes 300 Mbits/sec >> [ 5] 5.00-6.00 sec 35.4 MBytes 297 Mbits/sec >> [ 5] 6.00-7.00 sec 37.1 MBytes 311 Mbits/sec >> [ 5] 7.00-8.00 sec 35.6 MBytes 298 Mbits/sec >> [ 5] 8.00-9.00 sec 36.4 MBytes 305 Mbits/sec >> [ 5] 9.00-10.00 sec 36.3 MBytes 304 Mbits/sec >> - - - - - - - - - - - - - - - - - - - - - - - - - >> [ ID] Interval Transfer Bitrate >> [ 5] 0.00-10.00 sec 361 MBytes 303 Mbits/sec receiver >> >> After: >> # iperf3 -s >> ----------------------------------------------------------- >> Server listening on 5201 (test #1) >> ----------------------------------------------------------- >> Accepted connection from 192.168.1.4, port 47710 >> [ 5] local 192.168.1.3 port 5201 connected to 192.168.1.4 port 47720 >> [ ID] Interval Transfer Bitrate >> [ 5] 0.00-1.00 sec 111 MBytes 932 Mbits/sec >> [ 5] 1.00-2.00 sec 111 MBytes 934 Mbits/sec >> [ 5] 2.00-3.00 sec 111 MBytes 934 Mbits/sec >> [ 5] 3.00-4.00 sec 111 MBytes 934 Mbits/sec >> [ 5] 4.00-5.00 sec 111 MBytes 934 Mbits/sec >> [ 5] 5.00-6.00 sec 111 MBytes 935 Mbits/sec >> [ 5] 6.00-7.00 sec 111 MBytes 934 Mbits/sec >> [ 5] 7.00-8.00 sec 111 MBytes 935 Mbits/sec >> [ 5] 8.00-9.00 sec 111 MBytes 934 Mbits/sec >> [ 5] 9.00-10.00 sec 111 MBytes 934 Mbits/sec >> [ 5] 10.00-10.00 sec 167 KBytes 933 Mbits/sec >> - - - - - - - - - - - - - - - - - - - - - - - - - >> [ ID] Interval Transfer Bitrate >> [ 5] 0.00-10.00 sec 1.09 GBytes 934 Mbits/sec receiver >> >> Reviewed-by: Hal Feng >> Signed-off-by: Samin Guo > > This is > Fixes: 1ff166c97972 ("riscv: dts: starfive: jh7110: Add ethernet device nodes") > right? Hi Conor, Yes. There is an issue with the configuration of the 1ff166c97972 that affects the speed of the GMAC TCP RX. Best regards, Samin