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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 85AC9CEFC37 for ; Tue, 8 Oct 2024 17:21:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=dq0/sc4JpzgfCBB0HQCf5pqmInt6zBed91zJbKhlDwg=; b=akcJkkt4favNwUez39e7wpm/MH dR4D4/AFALop2DQrCrk6fYqwZkH8TQ7upwp06iyTa9/znHYmp8UrtU1IlGJM9qbJaOUG098ceuCiy ljoXyTHDz7/nUi6OwhbvzqQqjGymheIFPhZ2kFwjfS0rsyMTbVZHscbF7ZbKSDLypZyvy8y6Zbsf0 1nnH0vLEnvPvyfC8XCG1kmCIdFCum7gsFwoHHDPRYLwWa1ptykoJRg3xfrcT9Dh9v/7wnhiUW8Y4S NjHcpmYV/OT/b8lPJC1uQ/aNwvuMa35A4MQ3hvwgI1zY+BWXN0bOrGlP5M2iCfiFRoPWTrubSVOTu k3uAIXKQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syDtn-00000006dXe-0gFB; Tue, 08 Oct 2024 17:21:27 +0000 Received: from relay2-d.mail.gandi.net ([2001:4b98:dc4:8::222]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syDsS-00000006d6E-2i69 for linux-arm-kernel@lists.infradead.org; Tue, 08 Oct 2024 17:20:07 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 0844540006; Tue, 8 Oct 2024 17:19:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1728408001; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dq0/sc4JpzgfCBB0HQCf5pqmInt6zBed91zJbKhlDwg=; b=O9GbM27K1fmfdiJxxGVRU3ymaoYMzq41KRPUN6VlG7+YMkBhXbh/QD575GoEeIP3wfQidf WjM7+S/1yY4gT4JqmAeU0fLJ7jy0b915Kxj5aDBNLc2UyK6cDx8XPRCjaSpNcAq1NoD+6Y y2L5z4DCs41SyD/dtkOeS/5OR60DfoVTwM9cd46+jNjoUojumFLyrtEPmUDDSx1Tz9XM+7 KJstTty7+cxPugNxMCBiniC8hx/Anhwtp8ulmrZWlGUbwY0Pj8mjKby8DVJVJjJqYyDbFr 6ru5MMVljLOafVEjG4V7BkY9jeND66nkaarvdPsQWvHONiyMeQ/Ev1hEbJVhcw== Date: Tue, 8 Oct 2024 19:19:58 +0200 From: Maxime Chevallier To: "Russell King (Oracle)" Cc: Andrew Lunn , davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, Jakub Kicinski , Eric Dumazet , Paolo Abeni , linux-arm-kernel@lists.infradead.org, Christophe Leroy , Herve Codina , Florian Fainelli , Heiner Kallweit , Vladimir Oltean , Marek =?UTF-8?B?QmVow7pu?= , =?UTF-8?B?S8O2cnk=?= Maincent , Oleksij Rempel Subject: Re: [PATCH net-next v2 7/9] net: phy: introduce ethtool_phy_ops to get and set phy configuration Message-ID: <20241008191958.712a2f51@device-21.home> In-Reply-To: References: <20241007123751.3df87430@device-21.home> <6bdaf8de-8f7e-42db-8c29-1e8a48c4ddda@lunn.ch> <20241007154839.4b9c6a02@device-21.home> <20241008092557.50db7539@device-21.home> <20241008165742.71858efa@device-21.home> <20241008184102.5d1c3a9e@device-21.home> Organization: Bootlin X-Mailer: Claws Mail 4.3.0 (GTK 3.24.43; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-GND-Sasl: maxime.chevallier@bootlin.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241008_102005_495955_46CE50CD X-CRM114-Status: GOOD ( 21.82 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 8 Oct 2024 18:05:05 +0100 "Russell King (Oracle)" wrote: > > What I mean is the ability for users to see, from tools like ethtool, > > that the MCBin doubleshot's eth0 and eth1 interfaces have 2 ports > > (copper + sfp), and potentially allow picking which one to use in case > > both ports are connected. > > > > There are mutliple devices out-there with such configurations (some > > marvell switches for example). Do you not see some value in this ? > > Many PHYs that have two media facing ports give configuration of the > priority between the two interfaces, and yes, there would definitely be > value in exposing that to userspace, thereby allowing userspace to > configure the policy there. Great ! > This would probably be more common than the two-PHY issue that we're > starting with - as I believe the 88e151x PHYs support exactly the same > thing when used with a RGMII host interface. The serdes port becomes > available for "fiber" and it is only 1000base-X there. True, I've seen several setups with this so far indeed, as well as with PHYs from other vendors. > I was trying to work out what the motivation was for this platform. It also turns out that the MCBin is one of the only boards that has a permanent spot on my desk, as it's a pretty nice platform to experiment with various PHY aspects. > > Sorry if you mentioned it at NetdevConf and I've forgotten it all, > it was quite a while ago now! No worries :) > > Thanks! Thanks for your feedback on that whole topic, Maxime