From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 784CD38229D; Thu, 12 Mar 2026 02:50:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773283855; cv=none; b=XAi/7bKrRwYZYwtGPDJzyywaxnNWgEQVn2PVBCvgp5KgjVJU2ohMi3jBLEPknIGc0lhQctEIe9gA3s+TTzGgfFI3PEs7YFOu1WUndGqJ/gBhE0Acfd9AN+9qarDDoQCinX4p/DGJgySTirNSYNJKcnzAmw7w/iGO5wDJVpWxHiI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773283855; c=relaxed/simple; bh=7mGPCSMXUpoxC0Kcp76fViZTxvoAMqIrNUhS6so+8nA=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=S7eNGxFY7GuEQE2Ns1vko98XcSORvCtXmICuV33aA/1tI9SexFHmUtJU3ref5x8bRxphl4A9ZP0WKGPEiIxXMLWRl7j/GdvW5kh4hky42L5akpAsynKUQ+SqvKjPzrgUsZ5dyb7ZD0sIIaqpJNMQE1GLOw9JESaHfjQYoBErAcw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=i+cK7ckP; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="i+cK7ckP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C7DE4C4CEF7; Thu, 12 Mar 2026 02:50:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773283855; bh=7mGPCSMXUpoxC0Kcp76fViZTxvoAMqIrNUhS6so+8nA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=i+cK7ckPpFbBhlaMH2FelpZRGeCVT7YvuSMNk5XFKYauBtEqwZiqZUsfFfEAUPlFH N4kNEE1qOQD4amd/9Dj3qBe/DVcJGhfsX9Jj1Z2uNBZRJV0pyIv2PViNakdzVOq8P8 okOSGBv1VjAEnWMLgh+ROhdSd3C5I21VVeTVT/TKm6BwUL+wzyvYI9EzDtIoIeiX0d KBKfpiVyDisKfpkRJOTAz4GTsWkoGWopM1YkVXwNACcz0xg9UbPOFJ/m4fqoy5euM5 hNT6ra1CkxW+Hy2IxPfH/3WviIqQOyrzS2+Lx/hIxmoTNvhoxS8ynZ9Ghq4eWkESe/ KAsgX+APR7wPA== Date: Wed, 11 Mar 2026 19:50:52 -0700 From: Jakub Kicinski To: Andrew Lunn Cc: Maxime Chevallier , =?UTF-8?B?QmrDtnJu?= =?UTF-8?B?IFTDtnBlbA==?= , netdev@vger.kernel.org, "David S. Miller" , Andrew Lunn , Donald Hunter , Eric Dumazet , Naveen Mamindlapalli , Paolo Abeni , Simon Horman , Danielle Ratson , Hariprasad Kelam , Ido Schimmel , Kory Maincent , Leon Romanovsky , Michael Chan , Oleksij Rempel , Pavan Chebbi , Piergiorgio Beruto , Russell King , Saeed Mahameed , Shuah Khan , Tariq Toukan , Willem de Bruijn , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-rdma@vger.kernel.org Subject: Re: [PATCH net-next 02/11] ethtool: Add loopback netlink UAPI definitions Message-ID: <20260311195052.1202174f@kernel.org> In-Reply-To: <438dae03-4dac-4e66-9f4d-e08b0434c9b4@lunn.ch> References: <20260310104743.907818-1-bjorn@kernel.org> <20260310104743.907818-3-bjorn@kernel.org> <580debbb-8f6c-4b60-95ef-22c68480ded1@bootlin.com> <085bb0a9-85d3-4d62-9ac4-3461b61da5f3@bootlin.com> <438dae03-4dac-4e66-9f4d-e08b0434c9b4@lunn.ch> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 11 Mar 2026 20:26:39 +0100 Andrew Lunn wrote: > > For that we have what we need with phy_link_topology, as each PHY has > > its index, we should be good to go in that regard hopefully :) > > So depth would be local to a component? We could have two PHY > components, each with a different index, and depth = 0? > > I _think_ Jakub's depth was more at a global level? But then it would > need to be passed down as we do the enumeration. Oh, sorry, I responded without reading the whole discussion :) No, I imagined the depth would be within a single component, so under control of a single driver (instance). The ordering between components should be defined by PHY topology etc so it's outside of the loopback config.