Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp651077ybm; Fri, 29 May 2020 08:56:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztTYfeLC2pumAMYYbTJ2HF6KDkhpEBdNmV7lIuFWd1gnVWaOydN/6w5+HP/CSkoIQV+Dzn X-Received: by 2002:a05:6402:1a29:: with SMTP id be9mr8783566edb.70.1590767799859; Fri, 29 May 2020 08:56:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590767799; cv=none; d=google.com; s=arc-20160816; b=mprsEgzCu7mmfmVNlXqykJ2ZWumX3HjjXTR1RG2ciPy2j0+EhZ3HNDE3irqAIX+DaN hDGNX1K8KMgbXku/tCyUIpYIf0cuGCZYAgNhGazUTNz2ma+l2pImf8BIHXFjl0OZ7Ig3 Ety2KK33pOQEvBPFdOqkzW/RBmhhlwoAXMp+WMzSkYvQTBnSa6Iel+exlwWikZBuRmJn T488UFAdMlEuHpmE55AMlWjoa/S88PWQ5c1utZ+gEaqdJQ6g2GjbhVZ1zUVJtVdlXrcV CenAMbuTkTKINvia6u3TZ+zG4TNNxqzKu7yhptAnpbhJh6XNjTFMcoNjJF5Ep7k+CqPc Nccw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=b0vFJwz/Txnwb+SQJzBNXHtmuOdI0kxetHB/2Rzsnbs=; b=RGntkR/WqyhuKOt3fg0RXrn9UbV+vGeVmeP6USdGOEDZiLSZXqAfyB9Cqnz2V1oE7e P5TRxlm0UpMcObJ9Q7fpFDZwt0EZZuq8Abk6qO2csDan4Q48NlGQvsEPXceVGP0Z1oQH Jpnf10HJOpV0xNyiHwzvRYy+7ob8rwkHvn00weD+rjO0n7ElmI2qXIHlMeL/tq60nS1/ kxb25mNUXcID5WX75Spgx4SgS/xhaROAw7p/S00Ovli4yfPhNR40Nn3csusCFhVKh530 SDfCFyWIjsxLk1fTU/IFiyfp7/XjDNDah0Rj81Cx76kfoYVOEJThFNfPCZmpDd7WBNbb VzvQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z24si6273264eju.76.2020.05.29.08.56.16; Fri, 29 May 2020 08:56:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727911AbgE2Pw2 convert rfc822-to-8bit (ORCPT + 99 others); Fri, 29 May 2020 11:52:28 -0400 Received: from mx2.suse.de ([195.135.220.15]:51454 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727076AbgE2Pw2 (ORCPT ); Fri, 29 May 2020 11:52:28 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 1532AACB8; Fri, 29 May 2020 15:52:26 +0000 (UTC) Date: Fri, 29 May 2020 17:52:25 +0200 From: Thomas Bogendoerfer To: Andrew Lunn Cc: Russell King - ARM Linux admin , "David S. Miller" , Jakub Kicinski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net] net: mvpp2: Enable autoneg bypass for 1000BaseX/2500BaseX ports Message-Id: <20200529175225.a3be1b4faaa0408e165435ad@suse.de> In-Reply-To: <20200529145928.GF869823@lunn.ch> References: <20200528121121.125189-1-tbogendoerfer@suse.de> <20200528130738.GT1551@shell.armlinux.org.uk> <20200528151733.f1bc2fcdcb312b19b2919be9@suse.de> <20200528135608.GU1551@shell.armlinux.org.uk> <20200528163335.8f730b5a3ddc8cd9beab367f@suse.de> <20200528144805.GW1551@shell.armlinux.org.uk> <20200528204312.df9089425162a22e89669cf1@suse.de> <20200528220420.GY1551@shell.armlinux.org.uk> <20200529130539.3fe944fed7228e2b061a1e46@suse.de> <20200529145928.GF869823@lunn.ch> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 29 May 2020 16:59:28 +0200 Andrew Lunn wrote: > On Fri, May 29, 2020 at 01:05:39PM +0200, Thomas Bogendoerfer wrote: > > On Thu, 28 May 2020 23:04:20 +0100 > > Russell King - ARM Linux admin wrote: > > > > > Can you explain this please? Just as we think we understand what's > > > going on here, you throw in a new comment that makes us confused. > > > > sorry about that. > > > > > You said previously that the mvpp2 was connected to a switch, which > > > makes us think that you've got some DSA-like setup going on here. > > > Does your switch drop its serdes link when all the external links > > > (presumably the 10G SFP+ cages) fail? > > > > > > Both Andrew and myself wish to have a complete picture before we > > > move forward with this. > > > > full understandable, I'll try by a small picture, which just > > covers one switch: > > > > external ports > > | | | | > > *-----------------------------* > > | 1 1 2 2 | > > | | > > | switch | > > | | > > | 1 2 1 2 | > > *-----------------------------* > > | | | | > > | | | | > > *----------* *----------* > > | 1 2 | | 1 2 | > > | | | | > > | node 1 | ... | node 8 | > > | | | | > > *----------* *----------* > > > > External ports a grouped in ports to network 1 and network 2. If one of the > > external ports has an established link, this link state will be propagated > > to the internal ports. Same when both external ports of a network are down. > > By propagated, you mean if the external link is down, the link between > the switch and node 1 will also be forced down, at the SERDES level? yes > And if external ports are down, the nodes cannot talk to each other? correct > External link down causes the whole in box network to fall apart? That > seems a rather odd design. as I'm not an expert in ceph, I can't judge. But I'll bring it up. > > I have no control over the software running on the switch, therefore I can't > > enable autoneg on the internal links. > > O.K. So that means using in-band signalling in DT is clearly > wrong. There is no signalling.... > > What you are actually interested in is the sync state of the SERDES? > The link is up if the SERDES has sync. yes, that's what I need. How can I do that ? Thomas. -- SUSE Software Solutions Germany GmbH HRB 36809 (AG N?rnberg) Gesch?ftsf?hrer: Felix Imend?rffer