Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp479991lqe; Sat, 6 Apr 2024 09:02:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUImi2kcv3R7BwjsmvnPRoskQERBu/xMbH5cpCXRKf2JOLe28wFxG4G7pq/gEWMrwh4M2QRlz7FJX4QLbub2WKbOkDodoqIpp3xBTliYA== X-Google-Smtp-Source: AGHT+IHCe/MByX1Jgq3IgWUAtQ9tLk1IRYbYQoZStm3T5YtLwg92K3bC9VgBwlbbz+RPqUyWqM2H X-Received: by 2002:a05:6a00:2301:b0:6ec:ea14:b829 with SMTP id h1-20020a056a00230100b006ecea14b829mr5632527pfh.28.1712419331332; Sat, 06 Apr 2024 09:02:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712419331; cv=pass; d=google.com; s=arc-20160816; b=PzcSFlT1lo+P8EunUa4vgYUqQNCIqZGDL2As+YMl2Y/UhqAil7JHFHy3emFuNWfDLM 4zQRkarJkort5gM8WHTxaX543s7h7VAmpt0z4IfD5RDL8XJnnK5LLGyRVyw4qgSsBTL8 3pS3hqpQpf5oT2OB6cl5VIIlojJg2uIUr4VIv5rat7jioT6qJJ7He2DBn7FbG4iRzU8Y LYp67seTNmNqRnHTj6xysVnUdfk8RpBoXtCcE25ybTC/EizyNCy9AmK8pvqh7yRHzEp+ 1514s/hC7E5G/0Y7sEW8MIhQlik9+Xctw5nHSCEG6qpaW5X79djKXOTK7XqcCscS2Wkv +IuA== ARC-Message-Signature: i=2; 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=O4zdUA1o6Jy7nsx0eNUKlokKcaIsTYcSmcKAKKOwfzA=; fh=iFMvJPe5+iMz9fvI7Ro3QqHP2FRNSaC5Or4Przs7Ch4=; b=JJbEs0PVysrxbhQM0xof48uhUiSzEtTOI0RqKOvPtAQsUpz1e1bIsBhIRFxEvjxxsC 0Rh5pScciUvSM6ol0yfoJAoTsWlCV9NQaC9SmLP2JyBBEtFgPAZNyOAtcVC9qY72LIow 9FvrgSFxY92BcNGVbvuDYdP73cIhyE4HZUdj+y0TCwJAA5Azea7n1IT4L4q5oChWHlgI ra2fNV1nvk8RyZJE8h5RYveUlschI4IixvpBImZ/0OtYXh0p0dutK1KEtvA45M/clq60 LsemyUgPy6PPeM7dvEvSrYqhP2u70IxLnqqYA8WokXbEsdxmRiMGzv6OTZL/NbWQVoeo eTsQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=ue8lyjQg; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-133996-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133996-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id z16-20020a63c050000000b005cf8b79f90csi3267790pgi.501.2024.04.06.09.02.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Apr 2024 09:02:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133996-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=ue8lyjQg; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-133996-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133996-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id DB715B21243 for ; Sat, 6 Apr 2024 16:02:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 146233BBF3; Sat, 6 Apr 2024 16:01:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="ue8lyjQg" 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 ECA622943F; Sat, 6 Apr 2024 16:01:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712419318; cv=none; b=IyMjC2GR27WJwyunxfvD3h/hG6T/aIUjxReevTfKTCqA4/2nf2ySa982RNpNe/LXNg9PldkEylXuZXPyLOSBnx0DFsJ2daB4yWJaQlF1f8Ow2NE5q2MsEZ1cI3ZXOSVL69vQ7G11m8Wwn35reG9Dc+oH+uq+TRbhpdv0+C747T0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712419318; c=relaxed/simple; bh=AyHzuEKPz2Kr9J6+1n5KMLHmCEbi3OsKML9/ZK8OchU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LxjXGSTA09am08H7ezjYOAhfyQff6ZtvrVJCBe591W6L7hFArkgQbt7clvUsUFaEff2k3T+jm6wmyIK26+AJjixLk3jc8DhEdDlLdC2gBzoZYiUPPcQUgk8d9pQ+ArfIm7EC3kVVLVkR4rH5NrxMZYyyQmhPRnXPpdPCN0SlYUQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=ue8lyjQg; arc=none smtp.client-ip=156.67.10.101 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=O4zdUA1o6Jy7nsx0eNUKlokKcaIsTYcSmcKAKKOwfzA=; b=ue8lyjQg07uBYxnHElcbbAsNaP rndNrvaW7nJLZGj7Hqvq3Etx0j0gnO09exKODUs3kTFYhi+P4NDVK8icEOzQwQ1npbnt9RkfUwnbG SKG/houjyRD249R+ogqE/m30fQS7qBZ5EWI6vCES5OTl11KNJI/afdVLhdlygtg3XXFA=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rt8UM-00CNZz-JA; Sat, 06 Apr 2024 18:01:54 +0200 Date: Sat, 6 Apr 2024 18:01:54 +0200 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 , Simon Horman , mwojtas@chromium.org Subject: Re: [PATCH net-next v11 12/13] net: ethtool: strset: Allow querying phy stats by index Message-ID: <69e78fde-c5bf-4f6c-95c5-bd4c9e264cf1@lunn.ch> References: <20240404093004.2552221-1-maxime.chevallier@bootlin.com> <20240404093004.2552221-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: <20240404093004.2552221-13-maxime.chevallier@bootlin.com> On Thu, Apr 04, 2024 at 11:30:02AM +0200, 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