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 5E6E9C30653 for ; Thu, 4 Jul 2024 08:03:44 +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=u3QQQ5ARWg4GTEklbN8jcuflrQuDFZGUcDJdod6ovi4=; b=0h6lz0dahtdgqv4RCs4c1NvRq9 CsuY+dYlp1kiJb8wipE3jcVdFrEPPlCG6V5C+US/W8NAtIsdtrX6id3hDNSEa8MmUcyIF1XBPm+ns 5nvaONxPKtUJBISPnq0HJGIlG7Ot2o3KquiJ7WQd4SlmJnN8Yol+FcFyfcoj7fKn7ICVd5evmEWHN 8wB9q4XOym4Xw3uB7QtId3ieX5eZfTXIfOXH6IrK5eMoIItF3ubYTmLpo9FNcB8bzMBFh5zhcrNdX IawX4hSQRCA8enQhrJXK13JO1tcAsUT5THv5XNiLMj9SZAQ9pykskdEn26mAQDlFtwrlUHRvV90Pp SUOlOiHg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sPHR7-0000000CXGc-22eb; Thu, 04 Jul 2024 08:03:25 +0000 Received: from relay7-d.mail.gandi.net ([217.70.183.200]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sPHQu-0000000CXD9-21sp for linux-arm-kernel@lists.infradead.org; Thu, 04 Jul 2024 08:03:14 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 106C220003; Thu, 4 Jul 2024 08:03:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1720080186; 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=u3QQQ5ARWg4GTEklbN8jcuflrQuDFZGUcDJdod6ovi4=; b=oUWeZS9AvwLJ2VifN/dXxxjXi9B37TDv2jxdj9yaKQZnECttYL+V09i0//Ce9dFEzKqt01 2k3HKUvF70jPFlCUTyqIS55woW9/BLrOBtbk9PuccudyuBA09RPMiwM7xJkWHND2BJWvHL HH6Y+HoyugneC2qbg6fBjgpIKlhv9fQ3T+rTzv6t/l02VmuL9cfrDxyC09xguVUYuYd0DK VkX1SR8halZQihNKORBNlkJ/LF+lbmza3olJ5dIkRbdLJ4qpv6nRszfnWNBzy/FxKviEWt HWn3hJ7RETbTITuk0Qci1Cxu9fLktAqNCzfFspDoK165xgnQeDo/HfR86Bz2uQ== Date: Thu, 4 Jul 2024 10:03:02 +0200 From: Maxime Chevallier To: "Russell King (Oracle)" Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, Andrew Lunn , Jakub Kicinski , Eric Dumazet , Paolo Abeni , linux-arm-kernel@lists.infradead.org, Christophe Leroy , Herve Codina , Florian Fainelli , Heiner Kallweit , Vladimir Oltean , =?UTF-8?B?S8O2cnk=?= Maincent , Jesse Brandeburg , Marek =?UTF-8?B?QmVow7pu?= , Piergiorgio Beruto , Oleksij Rempel , =?UTF-8?B?Tmljb2zDsg==?= Veronese , Simon Horman , mwojtas@chromium.org, Nathan Chancellor , Antoine Tenart , Marc Kleine-Budde , Dan Carpenter Subject: Re: [PATCH net-next v15 07/14] net: ethtool: Introduce a command to list PHYs on an interface Message-ID: <20240704100302.2c9983ca@fedora-2.home> In-Reply-To: References: <20240703140806.271938-1-maxime.chevallier@bootlin.com> <20240703140806.271938-8-maxime.chevallier@bootlin.com> Organization: Bootlin X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; 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-20240704_010312_880075_CAC64BCD X-CRM114-Status: GOOD ( 10.88 ) 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 Hello Russell, On Wed, 3 Jul 2024 15:52:12 +0100 "Russell King (Oracle)" wrote: > So, if we want to report the ID of the PHY, then really we need to > report the clause 22 ID, and at least all the devids of each MMD in > a clause 45 PHY. Alternatively, we may decide it isn't worth the > effort of reporting any of these IDs. > > However, reporting just the clause 22 ID would be a design error > IMHO. I don't have any strong reason to keep exporting the PHY id. Reporting the driver name is enough to get a good idea of the nature of the device, I'll drop that field then. Thanks for taking a look, Maxime