Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp3316626rdb; Thu, 7 Sep 2023 10:49:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE0cDQilQRDdRU95U4TDv++OqAvH87xlLwxkocTKqkdjXIrc+fzcmF1rFHtEzBc8Q/IGb/X X-Received: by 2002:a05:6a20:a10c:b0:145:3bd9:1389 with SMTP id q12-20020a056a20a10c00b001453bd91389mr322854pzk.6.1694108950246; Thu, 07 Sep 2023 10:49:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694108950; cv=none; d=google.com; s=arc-20160816; b=fT47Ww8PYS5ML7fkFH7eYqtC2q7rzBPVUgeYy1xNvM7NWLROAovF0cQxnjHzAnu5KN moN2RV5eQV/QDy/1ap+1kbQIHoiYyRgQe2JLskSb5ElMWGrqxgtzHNFIR7ROMmyr2wnU fNCGQVj36iPlKBVY4s/tX+yR6t9v8ieGhoCVlVTf+CpVQ8mf0bPZDrofHDQpYa7ihf7v zR2yousi5KEZ4efu9qbaoul5ig4rNT3nW9IxOdWxqqFKALuO7gRo7OhTUxctY/K17jYz ObwgOPHTi+EZLHghheDrgjzcCFQtkSogsRga8BYpHUe8YAFIjXhhvGu8D1L+YJHaomWK QfBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=W+nGXwhfP/LGZ49uX4cxuTbmxItrCPhnuVHDcPLu5RM=; fh=jN4wnJKhyoyGUa5StAfm+TaSwi78XQ51YREK96Rp434=; b=0Ms26jTZ83kMJJOqvdF/EOVVPzH1bY3cI6vC09E78fS2TQ8RoHGXI5Xf6n+BTeKgH9 QVoGNxKpYeabMAbjfQ6lk1LDSgMEotOBNYQnXb3pBbJoGK9SCNzuSBc3aAYSz/rF63ll /VBdaretZPVOviav4CT9p/JOjsZ9EyUqGWX9YiBAssC8JNTIvzDsGndr+PnodRolyiCF fESoybpkMAaqO5iXH8iuNRxP4C83jVtXCgHWFcoRxUhZhW5ueHJRFGnvQKq201Uo3iA0 xqDYmYEGVAwVhRf+wUwISzjDxKM2i1fyrd++xZ+oysmKRQwaVn3HuI4ZS2SWmeCLsi/g XQdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=mZSlhuKZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m65-20020a633f44000000b0056a55e0ccddsi1732825pga.48.2023.09.07.10.48.54; Thu, 07 Sep 2023 10:49:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=mZSlhuKZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230294AbjIGQIh (ORCPT + 99 others); Thu, 7 Sep 2023 12:08:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236485AbjIGQHS (ORCPT ); Thu, 7 Sep 2023 12:07:18 -0400 Received: from pandora.armlinux.org.uk (unknown [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDAB751A6; Thu, 7 Sep 2023 09:00:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=W+nGXwhfP/LGZ49uX4cxuTbmxItrCPhnuVHDcPLu5RM=; b=mZSlhuKZDdh2iuo6M5q/AaVc25 RpctXmLH7n6GGVVsapiZOy6T/cT8DbAL5h+mv6qR0ZK+xGOIRI/SZGZddWoA6hIVojmy2EUoE97Ad kexZ92biwY8owGWnaJxzVZ4wRKUxuGGidxFs8+GKYvxjQ3kD77DdP6ef2C3aihA+oKjc9O19AqwfF D0ikebCZs9IbpfkxgTUfms7uk14GBTlmiiDn8f+rLlfa4nbOeGtKadbZzPXzP84UIeTucWO7MhSJq RdvvS5/5KJe69w0nFwsdSsJvQBKoYRYtOLK7dLs09AzXne0Pcg/BuO+Q0OtEWAvTAkXFfywbpBvnD UtnCByeQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:60702) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qeBNP-0001rc-2k; Thu, 07 Sep 2023 10:32:39 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1qeBNP-0005j3-HT; Thu, 07 Sep 2023 10:32:39 +0100 Date: Thu, 7 Sep 2023 10:32:39 +0100 From: "Russell King (Oracle)" To: Maxime Chevallier Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Lunn , Jakub Kicinski , Eric Dumazet , Paolo Abeni , Florian Fainelli , Heiner Kallweit , Vladimir Oltean , Oleksij Rempel , =?iso-8859-1?Q?Nicol=F2?= Veronese , thomas.petazzoni@bootlin.com, Christophe Leroy Subject: Re: [RFC PATCH net-next 1/7] net: phy: introduce phy numbering and phy namespaces Message-ID: References: <20230907092407.647139-1-maxime.chevallier@bootlin.com> <20230907092407.647139-2-maxime.chevallier@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230907092407.647139-2-maxime.chevallier@bootlin.com> Sender: Russell King (Oracle) X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,RDNS_NONE, SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 07, 2023 at 11:23:59AM +0200, Maxime Chevallier wrote: > @@ -640,6 +642,7 @@ struct phy_device { > > struct device_link *devlink; > > + int phyindex; > u32 phy_id; > > struct phy_c45_device_ids c45_ids; > @@ -761,6 +764,7 @@ struct phy_device { > /* MACsec management functions */ > const struct macsec_ops *macsec_ops; > #endif > + struct list_head node; I haven't yet fully looked at this, but the one thing that did stand out was this - please name it "phy_ns_node" so that the purpose of this node is clear. Thanks. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!