Received: by 2002:a05:7412:b795:b0:e2:908c:2ebd with SMTP id iv21csp347035rdb; Thu, 2 Nov 2023 05:41:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFquNgwEW7vIdzfoqz88u2rCAxyIzTGsRjbLHtAUj8gjLqDo0OGM7XmJcNY2G9CYM2aqQcI X-Received: by 2002:a05:6a21:6da0:b0:15a:6733:24e2 with SMTP id wl32-20020a056a216da000b0015a673324e2mr8377571pzb.25.1698928878567; Thu, 02 Nov 2023 05:41:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698928878; cv=none; d=google.com; s=arc-20160816; b=O1k28Nv6uCBMYB5if0z8ggvS7ln8H3ZejBHp+FHXAf3kckyGODd1qwpdDUsqu96LmU s2oqcV1P2Z//irE8gnGb+E7Om6LK0SnRkiMarK7ht9uhUTeDG9qCp+KFOufaw6AsC6Mv Wxd+tV35i5JDL/bF17Ay8wIBP/P5S0ZWM1KwVTYvGfD/kLDtUs+RbxDwtS22fM3mALIY P7AJv1+5utWI4NNJSLSxhAM4Ntgi6OH3yhoobwGb4cbMfH2ETPRQooOAtBfsgcLF27kL FMURb4H8nOZHaWBckBzY6g2nlgymt6tmghwCJpKBigxZ7xR5N7A9Icb8G8eBGxAv2mTq ReKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=TIQojWmE9MxmAPu4pmyVMZLAi3i+e6rSjQXCU7X4YpY=; fh=enJIIeYSRb4dEhHAnclcB9VIecsLyq6MhSLGmmEwT78=; b=dCsV3jAaAC2RAWkXQtK+XWQu0XuT/x49inK5/Hli7U2RsrpkDoevLTaJ4csdGUao77 upLH0OMJWALl3276XOOPrN/PmzKxUXQwhtGPs1jFk3lawa0FEplCStILpiwSmwXQf7P/ 3uK/p1QXvUaQMyJXAXnnpo64XLslt2or7DpLpFVsXLooJScaHIN/3Epc1tHU4uLoLm7D XNa2zwq4LSb6BoD1RUs6+qcckk+ilOTbeKMz9k8UJ5Yak3wEp+RUT7AltlrFfMME5cNC mAMHLq4s9nkh8DTdjVRPzLl7ov57JVKX/NnHiv8jwiaDcwIVszNLQPk7XGnSYAZ702c6 ByUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=wLOyVWzd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id i129-20020a639d87000000b005b91a58721esi1773369pgd.316.2023.11.02.05.41.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 05:41:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=wLOyVWzd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 4AC4881113A8; Thu, 2 Nov 2023 05:40:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376418AbjKBMjf (ORCPT + 99 others); Thu, 2 Nov 2023 08:39:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376388AbjKBMjd (ORCPT ); Thu, 2 Nov 2023 08:39:33 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 616D918A; Thu, 2 Nov 2023 05:39:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=TIQojWmE9MxmAPu4pmyVMZLAi3i+e6rSjQXCU7X4YpY=; b=wLOyVWzdffZ8kcZX/6Ys3nEbse myM3WjCJSuj+r5vPeouDkpm2JbV6fEKka8u7SxZhQ6P2wrdhh3luyxWDwjBApw2IGeXfP3MJUZn+i PmNaGyoYQQ7MjLJSSb66v2oUTnAKON8bv3cCDXlcRDTqoELixgcF70JeADqxhB0ozSf4=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qyWyS-000kd6-Az; Thu, 02 Nov 2023 13:39:00 +0100 Date: Thu, 2 Nov 2023 13:39:00 +0100 From: Andrew Lunn To: =?iso-8859-1?Q?Ram=F3n?= Nordin Rodriguez Cc: Parthiban Veerasooran , davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, corbet@lwn.net, steen.hegelund@microchip.com, rdunlap@infradead.org, horms@kernel.org, casper.casan@gmail.com, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, horatiu.vultur@microchip.com, Woojung.Huh@microchip.com, Nicolas.Ferre@microchip.com, UNGLinuxDriver@microchip.com, Thorsten.Kummermehr@microchip.com Subject: Re: [PATCH net-next v2 8/9] microchip: lan865x: add driver support for Microchip's LAN865X MACPHY Message-ID: References: <20231023154649.45931-1-Parthiban.Veerasooran@microchip.com> <20231023154649.45931-9-Parthiban.Veerasooran@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 02 Nov 2023 05:40:57 -0700 (PDT) > spe1: ethernet@1{ > compatible = "microchip,lan865x"; > reg = <1>; > interrupt-parent = <&gpio5>; > interrupts = <0 IRQ_TYPE_EDGE_FALLING>; > spi-max-frequency = <50000000>; That is a pretty high frequency. It is actually running at that speed? Have you tried lower speed? > oa-tc6{ > #address-cells = <1>; > #size-cells = <0>; > oa-cps = <32>; > oa-prote; > oa-dprac; > }; > }; > }; > > With this setup I'm getting a maximum throughput of about 90kB/s. > If I increase the chunk size / oa-cps to 64 I get a might higher > throughput ~900kB/s, but after 0-2s I get dump below (or similar). Is this tcp traffic? Lost packets will have a big impact. You might want to look at the link peer with tcpdump and look for retries. Also, look if there are frames with bad checksums. Andrew