Received: by 2002:a05:7412:8d08:b0:f9:2d0a:d759 with SMTP id bj8csp230338rdb; Sun, 17 Dec 2023 09:11:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IFFC79oJwd34y6TMubfkdYiSDUvYUI+8zLV+8L3TS53IoeDswyfr+5+MKjmy6r97A0n90CL X-Received: by 2002:a17:907:360d:b0:a20:6e5:e034 with SMTP id bk13-20020a170907360d00b00a2006e5e034mr14988736ejc.50.1702833101939; Sun, 17 Dec 2023 09:11:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702833101; cv=none; d=google.com; s=arc-20160816; b=GaqqFZP3zWZM/nJXD7VhlMh+uU294cwahFYr8iTkX4v6B++10LzE7v67T8iUU6ky78 yUVHHEpNKniE7O93V3bCbaTtBp1lq98jP2X24T0tvVi0BjUXYnGbFV+vHRlBfo13EW13 pTvx2iPfM0UAS+FAFXPVrm0hNT1V64lr2c+eGhtTtc2E6czJSs+WFxTqt1zE//i+zn9A Rn+4hZjq0V7c1jh982i1PbTx6mH2MLEJr213QyW+gUVe7rf/vje8BJYgJwlWYtyn1o6e jSbf+c5ey46+H3LuulAEDV3TmnjbGa0ion2YOmEPzrvjdEOn+9sWB+9tbezzd2bL9cD5 3vGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=CgJKzb9HpmZyhBgL8xxqgTS0nZjeE4OczV9nunZsAfw=; fh=Q+IcUsh4l2m3701WfbZB/nnC77ysPD3LXNP6vpNjdZQ=; b=Q8rL3x1mKErm2fkMqqy0WlYk2JGTv+PD6SrImedwozKoUGP8On6YP7lgVTf9lYocHz TEA4bxIbZGMlybUwrKFPqdTUlM8Km1LRkxXh/w2EAm+oK2PNGrF/7w+SmTCJTZ5rV6CN YF/V2rAXg/hahH2Kkt74HQ6DW7+05dIzxE2/tmIeGrtYadNGDLyjIod2CGGuMWR8Dn8Y uOJwCsKS8gDm23/cAM9tA5S1ay9IqA3KDfXOYlEWPQyLdxiv7/+/h0xy5umrXau7Q3IU qKyUCkF51tSqklxkFZbWAu2nrdlM62A5jmrgcy2PpmBA8FC3MoZ3pugXtuiDUU/QYRhN L4bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=wQxkfmDK; spf=pass (google.com: domain of linux-kernel+bounces-2696-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2696-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id g20-20020a170906595400b00a234e27f31fsi498400ejr.293.2023.12.17.09.11.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 09:11:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2696-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=wQxkfmDK; spf=pass (google.com: domain of linux-kernel+bounces-2696-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2696-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id AED6F1F22687 for ; Sun, 17 Dec 2023 17:11:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E7CBC4642C; Sun, 17 Dec 2023 17:11:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="wQxkfmDK" X-Original-To: linux-kernel@vger.kernel.org Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 9412F44C99; Sun, 17 Dec 2023 17:11:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=CgJKzb9HpmZyhBgL8xxqgTS0nZjeE4OczV9nunZsAfw=; b=wQxkfmDK2XXLDJ95v/NJXeKCCn 35haGQprQgPMKRM2K/Qd7RXMBC0olU9rA/To/BQ2py9qIdArDVfm0aHEf2LXr2cxfmRb39xpMFG/y ErCRFa2g420LTNdO/i05B1csZ8FYFN04YO0G9j5TnYV02anzwmH9d3mKUMC1+chx9f3Q=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rEufl-003A95-Lz; Sun, 17 Dec 2023 18:11:25 +0100 Date: Sun, 17 Dec 2023 18:11:25 +0100 From: Andrew Lunn To: Maxime Chevallier Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, Jakub Kicinski , Eric Dumazet , Paolo Abeni , Russell King , linux-arm-kernel@lists.infradead.org, Christophe Leroy , Herve Codina , Florian Fainelli , Heiner Kallweit , Vladimir Oltean , =?iso-8859-1?Q?K=F6ry?= Maincent , Jesse Brandeburg , Jonathan Corbet , Marek =?iso-8859-1?Q?Beh=FAn?= , Piergiorgio Beruto , Oleksij Rempel , =?iso-8859-1?Q?Nicol=F2?= Veronese Subject: Re: [PATCH net-next v4 05/13] net: ethtool: Allow passing a phy index for some commands Message-ID: <86b10dd4-8eb5-4c48-9a0d-d912f4b15575@lunn.ch> References: <20231215171237.1152563-1-maxime.chevallier@bootlin.com> <20231215171237.1152563-6-maxime.chevallier@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231215171237.1152563-6-maxime.chevallier@bootlin.com> On Fri, Dec 15, 2023 at 06:12:27PM +0100, Maxime Chevallier wrote: > Some netlink commands are target towards ethernet PHYs, to control some > of their features. As there's several such commands, add the ability to > pass a PHY index in the ethnl request, which will populate the generic > ethnl_req_info with the relevant phydev when the command targets a PHY. > > Signed-off-by: Maxime Chevallier Reviewed-by: Andrew Lunn Andrew