Received: by 2002:a05:7412:b795:b0:e2:908c:2ebd with SMTP id iv21csp385995rdb; Thu, 2 Nov 2023 06:41:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGtifHBIf/bB0dzkzViuA2p9BZ0k6U2P57+93Updbqqdrdo1HKn4cJcGnlSbP85EcYGE5XX X-Received: by 2002:a05:6a20:a122:b0:148:f952:552b with SMTP id q34-20020a056a20a12200b00148f952552bmr25202810pzk.51.1698932469865; Thu, 02 Nov 2023 06:41:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698932469; cv=none; d=google.com; s=arc-20160816; b=b3n668pgYxSLo7ah+xhHJcD111V3ai18P1vRAbA0CmdJXGdtM0kMPUgD5YD3nczMCu sse/IzRtsH5+eqfXVP/LXJKxYQMpvE6099EBTlk27gxn3UAYg3UwzLtxTKi+Pz6ICvkE a5/Oml5hZun8/QHN9V2pUaIRnXZzL47rnI3k4PhcZolRX2xZifW2+aJTpFENHt1Nc800 MPdD/msvNudlEIkRqyMJDf2IbrV7+5I7+22Lp3eDVjbwS+PTY5Pkh+8PCsAwfdO9r7vA OWZmGvcX3hvqiX0tzPmHZEEuSVe5L/76YBcombfkyp6UvaBvB8ZICvVOXyvnkOTyzofj K8Sw== 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=OOtIHpfkZWFD4FolYlTiy9O+zTRxXyJ2ArxW0gbuYoU=; fh=LY/4LecDlg/dsCS6IERJjmRYIRNmm1hf132NTkqDi74=; b=S1ImBuzXXEwXrVNVtAzDBN/WPXcKRAls1LztzOAgcu6zr5rX1RQaEAJcdkNnUyfJo6 AeLfw74SXI8omG6Ykrl00Nkt1K2vyeudRJ81DeNfCAHeWojGgBblN4nfhy8OSqIqxW9t aDTPcFAsSbSsH0+L2FZcRPhnM85d+DvTRezp+S9HmebyhI9C2tUTzpiWNn0DflImbZo2 l5Lx1GyYcwDNS/MrWLcvAu+2qyTBckWLZqNDzZdfUxW2Mdl2xR3NEfWdPS1j58nBKnaW 9kClN+bs4YD4A+VnjlJ1b8wa5cwjIZdrGmaFg5W+K1xmQUCUBB1MJXrMpBZeQTJ4rLJ/ aPuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ferroamp-se.20230601.gappssmtp.com header.s=20230601 header.b=jNDzF46E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id u186-20020a6379c3000000b005b22561c968si1776747pgc.499.2023.11.02.06.41.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 06:41:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@ferroamp-se.20230601.gappssmtp.com header.s=20230601 header.b=jNDzF46E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id CC203809C181; Thu, 2 Nov 2023 06:40:54 -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 S1376597AbjKBNkV (ORCPT + 99 others); Thu, 2 Nov 2023 09:40:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229920AbjKBNkT (ORCPT ); Thu, 2 Nov 2023 09:40:19 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47D8713E for ; Thu, 2 Nov 2023 06:40:16 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-50930f126b1so1094100e87.3 for ; Thu, 02 Nov 2023 06:40:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ferroamp-se.20230601.gappssmtp.com; s=20230601; t=1698932414; x=1699537214; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=OOtIHpfkZWFD4FolYlTiy9O+zTRxXyJ2ArxW0gbuYoU=; b=jNDzF46EHaPtjM7F+yC3uf0jsYEwkVGjhFOdq1CI61LoQiwz6YaAB9n3ZBOFF4AqM/ iXYclFMIixO/vq296kmOz4LEF3dH4Jc77fNb933X/83tvPy8ATSZrV8+jn4ztdJSM51r qnxwVgX5NA1IMiiKR6ILwHWY9OjiLkc7mIINDD6UMz6oV7eKerYHCixOLeRFbzZGMV0x wRrsVYi2VSQBAoF6feBbXxGqu6PYCqO8JxF/f1pRNjzTJQNPA0FXToRMwWBC0p0O9efS EdjzDM1Q7Vs6FBxXzDOFkvMLBinMTfWADvN5PZEcPY4BOepFmF6i2j2KJVab9jBdLrzi Vxog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698932414; x=1699537214; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=OOtIHpfkZWFD4FolYlTiy9O+zTRxXyJ2ArxW0gbuYoU=; b=a/4zYUf1FMsBmwZPs4NWGZ2mRahzgb8g+GO13scNu/ktQMuCsaE07YrIjyn/t1ZCYo i9yabLwfc+48EkGieCAz+kXstg5BGOViU/ORJpHBVZ9Vc6aks2rpmyWULZ7ybm9lpjVO YaIhRGnAh6lW8y5o6dX/5YHr3ntxsPAfhS7wSqLnUWnQZ5zhPe1/KHDCtbDTpMrBHWqn 71m3le55mhkZ4giuiAz0dPCeEhEWXFQPgYQS8af30PNbRBMnARtCntVNHufFlc5AOOXK MSKVaf3b/EDWlFwhtnJZPcEuYTl+mHZzP0aKVEzBLvlXkkayueLiJA361fhEONk744Qm kKLw== X-Gm-Message-State: AOJu0YyIkND8MSxlGNZ2iLtzRqQnMJJvEi6DB+Vvs6hxLwn73UyvuixL JaSB25IJlpDW7KRDu4z/VKFeuQ== X-Received: by 2002:a05:6512:118d:b0:503:3816:c42c with SMTP id g13-20020a056512118d00b005033816c42cmr16625497lfr.41.1698932414453; Thu, 02 Nov 2023 06:40:14 -0700 (PDT) Received: from debian ([185.117.107.42]) by smtp.gmail.com with ESMTPSA id s18-20020a056512203200b00502a7a7579bsm495204lfs.216.2023.11.02.06.40.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 06:40:13 -0700 (PDT) Date: Thu, 2 Nov 2023 14:40:11 +0100 From: =?iso-8859-1?Q?Ram=F3n?= Nordin Rodriguez To: Andrew Lunn 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.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 06:40:55 -0700 (PDT) Hi Andrew > > spi-max-frequency = <50000000>; > > That is a pretty high frequency. It is actually running at that speed? I have not verified that we're actually hitting 50M. > > Have you tried lower speed? Sorry for being too brief about the things I've tested. But yes, I've tested running at 15MHz with the same or similar enough results that I've not been able to discern any difference. Meaningful to mention here as well would be that I've tested with and without DMA as well. > > 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. > As you assume, this was with TCP. I'll do a run with tcpdump and see if I can compile any intelligent statistics from that.