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 E0CA8C07CB1 for ; Mon, 27 Nov 2023 14:04:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233418AbjK0ODy (ORCPT ); Mon, 27 Nov 2023 09:03:54 -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> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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