Received: by 2002:ac8:6d01:0:b0:423:7e07:f8e4 with SMTP id o1csp6628695qtt; Mon, 18 Dec 2023 02:00:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IH0oe2oYOsLQpLUYF2ER6cmNLvXG48Y0cdCWK0IH06WW3TEe2gSDP+Ar5eczDFVnt8eEkR3 X-Received: by 2002:a17:902:b197:b0:1d0:84f1:6fc5 with SMTP id s23-20020a170902b19700b001d084f16fc5mr7504562plr.88.1702893645287; Mon, 18 Dec 2023 02:00:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702893645; cv=none; d=google.com; s=arc-20160816; b=uoWQWk5E9x6BtajWr4sXa+16yOj1Jj2yMRUbwsCeCTvvVYG69K4aBX8aPZdEwjw8sk wtyokZJScqWdr0q/31+dlxuyQ98l5GMj6m5Kz8tXCsskx6AppSJPnOVO9HT0/HG+2zFv j9pdgoechqMSvWwPkvA6G2WmEc8riO6MwKvb0fogNdE28ctCNwOV2VeYdRkdKFuXDo8D M64aaOP04/FKNIhme561Tsld0P6t3eePnuB0/qHjxTof94Hi6euWRcHyiZNAyCmVi3DR VE9mDmy+OzGKVjYaPiBtWqFQb4qLKrIOLLe3+2miFwZKPlwS+cFoMRZaSWpFZ6G7Iugf lbCg== 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=yCQDq/Q4XIDLpX6CjFwhXKeHhkcBa1VizV2Jnpej2tA=; fh=Q+IcUsh4l2m3701WfbZB/nnC77ysPD3LXNP6vpNjdZQ=; b=GTdapYpV6YU4YG1bHlBVjafSLA92EsxCi8HTu1qS766G0USnAvvHnfKt/Jsr5aK3H1 pX5bcmE+0VkMx6gmW8XnEDE2uBsepRTwTRy/TF1a/6CSNxviLFm4MBRZSTF+jK1KqxoO FEC5NT0cHsGet4E2jXm0wwbwiZXQnlLnWFIXbbVFHs8CiCmryBvP/rjuzUJ7TLQMY4hu UDujABrn3CCY5wqcAHv21NA1mA65LJ/TuRkWgwjhrk9vgjlRh3XMqAyvssN/lqYy5IVn JEI5Bqi+MXdfatALJ89f1aJpVtMma9Sufc3UXgURAQXbs3CMBNmiV1/rxflM3xHhuFOe HWBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=OHtutuN2; spf=pass (google.com: domain of linux-kernel+bounces-3287-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3287-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id a3-20020a1709027d8300b001d33a68f2c7si10534587plm.521.2023.12.18.02.00.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 02:00:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3287-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=OHtutuN2; spf=pass (google.com: domain of linux-kernel+bounces-3287-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3287-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 0E142281AE1 for ; Mon, 18 Dec 2023 10:00:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B63EE13FE7; Mon, 18 Dec 2023 10:00:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="OHtutuN2" 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 8597413AC8; Mon, 18 Dec 2023 10:00:11 +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=yCQDq/Q4XIDLpX6CjFwhXKeHhkcBa1VizV2Jnpej2tA=; b=OHtutuN2PwEkRbYmYoJ5Tgj/fA i5cICdjMPcR4u4KT8k1u4ALR3+mBbBhoaBUoRTJ/EM0NeLTLQGIgZ4dF32MY9UOpWssZb8p3fAaQ6 C0F1LG9jE+CvIcDjZF2LZAiq3vshosVKJ4uZkHtWymwWxu9M5rK+U9Gp+zqkf+OSRuzY=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rFAPw-003EPa-Q1; Mon, 18 Dec 2023 11:00:08 +0100 Date: Mon, 18 Dec 2023 11:00:08 +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 12/13] net: ethtool: strset: Allow querying phy stats by index Message-ID: References: <20231215171237.1152563-1-maxime.chevallier@bootlin.com> <20231215171237.1152563-13-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-13-maxime.chevallier@bootlin.com> On Fri, Dec 15, 2023 at 06:12:34PM +0100, Maxime Chevallier wrote: > The ETH_SS_PHY_STATS command gets PHY statistics. Use the phydev pointer > from the ethnl request to allow query phy stats from each PHY on the > link. > > Signed-off-by: Maxime Chevallier Reviewed-by: Andrew Lunn Andrew