Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp419437lqb; Tue, 16 Apr 2024 23:15:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXGvG0VeyRpUag8w9ftUb1L7B8c1k2aA7yH8MRgjL/MW48l10AJ34spM1gfP4RohkqWh9ru43ToAdfQ2YIUUrawHVTl9Pe5EdvG3lxMmA== X-Google-Smtp-Source: AGHT+IHFtrS2TFwXfApt01GLORA6zvaeZlHbfudjbw7seCABuH7pz0PFVvr/KK1GzdUJgwq4XjW3 X-Received: by 2002:a50:c05a:0:b0:570:f6f:fdd3 with SMTP id u26-20020a50c05a000000b005700f6ffdd3mr2577632edd.18.1713334510416; Tue, 16 Apr 2024 23:15:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713334510; cv=pass; d=google.com; s=arc-20160816; b=mK/Z7VaMCtVjOnRhD+hIIty9QGU56Ct/lpZrGjzfZnsGpZ5T9QE8LFJdYvMGvvR3DY OACLiBHRhVuzLVIORJ9LWDucJ9Fu9kjuGn1rA8OtB2pTK0JQ3cUYKx0ErJ3DOGBu+bup KzmrnTdU5S9eEL8vQCU6xCx707QtxWQgzUykQn+4cPnoEKJXxrZ0u3oOw993Ewq7WtKm 3OZ8L7Lx+JkHt+xXmIqRKhHu1OqK3lcUjKOL1J4NlXaFIo2jaEx92DGZxpXV6M2UcW0Z HvQFm6czwVVOT1csUg3QYoyCk6ChY11C8YWquLitJN2c67kBq8CjCjiUYWZnOXeFp2Ih qnEg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=zExFMDHxfXPeW+ilYZceHxAY8OTO9Z8sxt8dwhaGhUs=; fh=wVgKtEf6ra7sfB1WZ39D3o4IqEbBIRnNwX1XAUP2ywA=; b=ANFYzu869nuWg4aJGnu2c0AI4GpkMtv5rkbyIQ66eoGJrCSSos74DkM1bZVtRaJuS7 vzt+3IPwRiYYH4lq9sKyivFEVoZsoEue7CZNId1VNcgIpFHbxRtxSRELeiDJD4oheFjr pXamUyovZcAxQqw2rioth+r9GV7Zn3cihv/Y3NAETAvJhRLH47HSuJgFc5135mCMyCQ6 A+whcvawE2WQf+IWDq9Y+I6k6i6A/hEWkv/CjCKEoZoTKBwoys7d0D0EYqmGvCcidDSd t5jN0v1AVGEnqWzFjUzcvuFH53bdikMYj8rY3UWik0oHOJmR9c5f5iaymUc/dn3RpHEV wXzQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=o0vJFIB9; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-147983-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147983-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id v4-20020a509544000000b0056bec94dc31si6390792eda.683.2024.04.16.23.15.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 23:15:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-147983-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=o0vJFIB9; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-147983-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147983-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 1D40B1F22783 for ; Wed, 17 Apr 2024 06:15:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 690745675F; Wed, 17 Apr 2024 06:14:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="o0vJFIB9" Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) (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 56D1F184D; Wed, 17 Apr 2024 06:14:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713334498; cv=none; b=l4yiYDi7C+K0/sNKb7VP+ZfsbHBww4ABTOJ73mL07vK5ngk5nyubX0Q38Ocfmt26lMHiarpxzQaoX1Gs494OyvPjvGPclZABU1wAjqi77+FwwlmLcbMqcbMJC9N/b2xIAMKb/cPIguQItMx/ClvJ5gR0Gu6iYH3i2BYKWGeLTak= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713334498; c=relaxed/simple; bh=6OCRfMWE1Nl1glL6JHGetGOp1oOm4UmouTp4ctm6Ohs=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=bMda3uhHG/kGcJrQgEm2ur0qDIyp+q9gdHQg+tCLSmmOG/wDEqf9Sd3k4z3m/VYclUUnmW+M+q9ikSUQOJ4WLQY5G3MGuwkdujjV1wNph102y1KSAi0mf1on9bIr0PHMgmQFZrmMRUI5YvVivgQZEDwJFhyHQBvN+Md1TTdARDM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=o0vJFIB9; arc=none smtp.client-ip=217.70.183.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 25FAB1BF203; Wed, 17 Apr 2024 06:14:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1713334494; 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=zExFMDHxfXPeW+ilYZceHxAY8OTO9Z8sxt8dwhaGhUs=; b=o0vJFIB9IpqBkYfqT711EFYlGPpY7zc8iqeBbo7HWthTkRRu7+428Psex93iwDUr4tcarP 57G59lHiH6Jywws3w/0ECVc5c5D0LrU3ApKd3I0m69mYaDdzsJBAe66wNOQBybNWMAv9QP PEqvrTcjSAT2S0hN1Emj6o7MbFmaJwEE08s/y0nfmj90MHmLDJmV/LLXYvbY5/0er3p6OO FCAyaYcxa6fjqdInrNiEIn3czQuno4yWq+8zwi6Ut7MBKALh2XR54wqYeN0corNCe8cANe Wm7bVYKqTl/XfFrm60EiLwygqICx+R4cA+RQVqvDvc2b8V3qQZCVzx+8P5vqGg== Date: Wed, 17 Apr 2024 08:14:43 +0200 From: Kory Maincent To: Jakub Kicinski Cc: "David S. Miller" , Eric Dumazet , Paolo Abeni , Jonathan Corbet , Luis Chamberlain , Russ Weight , Greg Kroah-Hartman , "Rafael J. Wysocki" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Oleksij Rempel , Mark Brown , Frank Rowand , Andrew Lunn , Heiner Kallweit , Russell King , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org, Dent Project , kernel@pengutronix.de, Maxime Chevallier Subject: Re: [PATCH net-next v8 06/17] net: ethtool: pse-pd: Expand pse commands with the PSE PoE interface Message-ID: <20240417081443.4bcfc452@kmaincent-XPS-13-7390> In-Reply-To: <20240416192302.72b37f09@kernel.org> References: <20240414-feature_poe-v8-0-e4bf1e860da5@bootlin.com> <20240414-feature_poe-v8-6-e4bf1e860da5@bootlin.com> <20240416192302.72b37f09@kernel.org> Organization: bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) 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=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: kory.maincent@bootlin.com On Tue, 16 Apr 2024 19:23:02 -0700 Jakub Kicinski wrote: > On Sun, 14 Apr 2024 16:21:55 +0200 Kory Maincent wrote: > > + !(pse_has_podl(phydev->psec))) { > > + NL_SET_ERR_MSG_ATTR(info->extack, > > + tb[ETHTOOL_A_PODL_PSE_ADMIN_CONTROL], > > + "setting PoDL PSE admin control not > > supported"); > > + return -EOPNOTSUPP; > > + } > > + if (tb[ETHTOOL_A_C33_PSE_ADMIN_CONTROL] && > > + !(pse_has_c33(phydev->psec))) { =20 >=20 > nit: unnecessary parenthesis around the function call Right, thanks for spotting it! Regards, --=20 K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com