Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3268097rdh; Mon, 27 Nov 2023 09:52:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IG9sH98zEv/kT/nhDeb+T9SqvkuUdvf6emAJ5Wx91oS4bfYvJfxR/PhgUsEbj/rcLBjJjzu X-Received: by 2002:a05:6a00:2e8e:b0:6cb:bc85:1bed with SMTP id fd14-20020a056a002e8e00b006cbbc851bedmr13100621pfb.33.1701107566698; Mon, 27 Nov 2023 09:52:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701107566; cv=none; d=google.com; s=arc-20160816; b=dJBeNSSBOfnifbNBJLE7AFOmcPx6/J39BoiLY1k83eKbbz8FdVVzpQEV0LxYlHE21K 94dpD3Ilm9mtLwlxXHtXDpmNUBFknnbnQ6waJCynPWYlnMRJAZQp4jbE6ZgKihrI237c ag5l1gmaAA90Le6arjmzfHw9z2FrpbWY+x1/Y9uBLOujMRRP3KB+wuOTkqNPftIxVwpM fhlVpLPSgdtkRefu3gw7JTswY2H5Fix5lKwWqrPhF3slposs4sXy17W6+eV/BQCU1g8M ufuP/64yyOOJURfKBwDJMS+jxcD5kqxZgW3fzkgq22WRJbH7kyL5x7oDDQGmlphaz7u2 0vhg== 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=rrtNl5JxW/ttJG57sIz5JrgrG9aR/RE+F3iSWIj1zNg=; fh=JhnJ7uicRLpMFWf2FxvREo3TO1w+ltkJZy/ybS059oE=; b=iJ1X3DhDmGWlZGWbzKD5JyP+W3UGIsZn44Ii0f5EL9jrYkEc/cdZabQ5Lyr4MjOgs+ +/gOh2kcJpceO4l1FS4qnM3PwU48bAdCw5mv4rGiZfShaZF1PKFnAzQUQzTc4m+ixJ6I 2dOCJ4ZrojbpZEXKzaFE6oPplA1jkdcFR7cFHR51lwLE5IRUKhMQ8IRKe1x7zaQmJbm+ hXWki3T6/jkVjhKe+HKx2EJCHpI8jgmVGjMAmp9N1uUxf1k8JITfsdFaqYiAjtKNxMQb EgY2fbTQQhfKLWFFSm1R+YPdWl9eHxuWpvJis+Jw91Moq9zPO8OpdoDqS5FnXnEWmJu9 I9AQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=XIsJZzvU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id q21-20020a056a00151500b0068fa57cc15bsi10345879pfu.124.2023.11.27.09.52.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 09:52:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=XIsJZzvU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 95EAC8022091; Mon, 27 Nov 2023 06:04:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233380AbjK0ODw (ORCPT + 99 others); Mon, 27 Nov 2023 09:03:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233610AbjK0OB0 (ORCPT ); Mon, 27 Nov 2023 09:01:26 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5426E2D70; Mon, 27 Nov 2023 05:58:40 -0800 (PST) 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=rrtNl5JxW/ttJG57sIz5JrgrG9aR/RE+F3iSWIj1zNg=; b=XIsJZzvU+x/0AlHUiHq2J0t3Xj ukMVOFYsrG4Nsq7Ur2oP04fe0gsKTMGBiNTkqgny484hFqCS1X1kauNAjafINudfcek9fyMh8PaLV RslY9CPMe6uqWHX21z46pFoQ2lb6RN79/EJ+iLkFUchMkydnTlA/FxZ3x9JSDMdcJbKE=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1r7c88-001Lke-8P; Mon, 27 Nov 2023 14:58:32 +0100 Date: Mon, 27 Nov 2023 14:58:32 +0100 From: Andrew Lunn To: =?iso-8859-1?Q?Ram=F3n_N=2ERodriguez?= Cc: Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] net: microchip_t1s: additional phy support and collision detect handling Message-ID: References: <20231127104045.96722-1-ramon.nordin.rodriguez@ferroamp.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231127104045.96722-1-ramon.nordin.rodriguez@ferroamp.se> 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Mon, 27 Nov 2023 06:04:16 -0800 (PST) > Collision detection > This has been tested on a setup where one ARM system with a LAN8650 > mac-phy is daisy-chained to 8 mcus using lan8670 phys. Without the patch we > were limited to really short cables, about 1m per node, but we were > still getting a lot of connection drops. > With the patch we could increase the total cable length to at least 40M. Did you do any testing of collision detection enabled, PLCA disabled? You say you think this is noise related. But the noise should be the same with or without PLCA. I'm just thinking maybe collision detection is just plain broken and should always be disabled? I've not read much about T1S, but if we assume it is doing good old fashioned CSMA/CD, with short cables the CS bit works well and the CD is less important. CD was needed when you have 1000m cable, and you can fit 64 bytes on the 1000m cable. So always turning of CD might be appropriate. Andrew