From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (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 EB844802; Mon, 24 Feb 2025 13:10:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740402644; cv=none; b=Z8XadtYJdKiD/nc10CaHeDukJbjwxxBAurtP6BWjIo6kFBbknz1KTuAnBzeT+1MK/LK5eX1wrUh059OYThcL+P4CE7g5AxRirS4I+iVAw7cP+xs22+w2dc5XlaGUy2/yfbWX70zr7LOP2T5W66M6LaqzsQq9rvu2CS4SSGfjQo8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740402644; c=relaxed/simple; bh=vldl/DVEIx0LpQbGibmUSsQ8EBNnaLf4tgxLTbp153k=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BDGVRO9s11JmVsYLLycy11Kwt05LROG21Tk0K9jB1m337nHUWxf8Kk1HDPuDT0XlznMQo8NcfGGC08ms61ciS0A7bC4hrfBrOQrpgSDsOEHbZkbczL/JuyhQNrU+wa7e7FctFHaeaOq4MTp6BKP+5+ak+2F3I+S9VAQfgea5cnM= 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=UjA6S53q; arc=none smtp.client-ip=217.70.183.199 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="UjA6S53q" Received: by mail.gandi.net (Postfix) with ESMTPSA id 2506844219; Mon, 24 Feb 2025 13:10:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1740402640; 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=vldl/DVEIx0LpQbGibmUSsQ8EBNnaLf4tgxLTbp153k=; b=UjA6S53q+7fUOnWaScDyHR4AFgKUURlRBx2DoA3EyJhelFWpNQjZGY/OBjbSpxq34AtFdI OCLBmHZaRHSKeF6VU+VLJTfijvmwLGStIwbhmAeT/PXvYewZrF6ijk6Qhaxn27U69h9cBV 4Iafi4GrUPPqWX0iw4OAjHFnvvqqjsjO1XjK77TI6RPORuUaws+Iov8B4AIJhxikN7naii g07azf8k0jX9YxQvIQofsQI1pIB1p6/WcfF5r8xlE9pLyIu4mYQi0ziRpKBkrxCa8fmigL PW99ldCd8g8zmxYxiYnhtG0muV1No9spSUxFDLTt+tHehMNaQcFMMHhhDPCtzw== Date: Mon, 24 Feb 2025 14:10:37 +0100 From: Kory Maincent To: Jakub Kicinski Cc: Andrew Lunn , Oleksij Rempel , "David S. Miller" , Eric Dumazet , Paolo Abeni , Jonathan Corbet , Donald Hunter , Rob Herring , Andrew Lunn , Simon Horman , Heiner Kallweit , Russell King , Krzysztof Kozlowski , Conor Dooley , Thomas Petazzoni , netdev@vger.kernel.org, linux-doc@vger.kernel.org, Kyle Swenson , Dent Project , kernel@pengutronix.de, Maxime Chevallier , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v5 06/12] net: pse-pd: Add support for budget evaluation strategies Message-ID: <20250224141037.1c79122b@kmaincent-XPS-13-7390> In-Reply-To: <20250220165129.6f72f51a@kernel.org> References: <20250218-feature_poe_port_prio-v5-0-3da486e5fd64@bootlin.com> <20250218-feature_poe_port_prio-v5-6-3da486e5fd64@bootlin.com> <20250220165129.6f72f51a@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: netdev@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-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdejkeekjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepfffhvfevuffkjghfohfogggtgfesthhqredtredtjeenucfhrhhomhepmfhorhihucforghinhgtvghnthcuoehkohhrhidrmhgrihhntggvnhhtsegsohhothhlihhnrdgtohhmqeenucggtffrrghtthgvrhhnpefguddtfeevtddugeevgfevtdfgvdfhtdeuleetffefffffhffgteekvdefudeiieenucffohhmrghinhepsghoohhtlhhinhdrtghomhenucfkphepledtrdekledrudeifedruddvjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeltddrkeelrdduieefrdduvdejpdhhvghlohepkhhmrghinhgtvghnthdqigfrufdqudefqdejfeeltddpmhgrihhlfhhrohhmpehkohhrhidrmhgrihhntggvnhhtsegsohhothhlihhnrdgtohhmpdhnsggprhgtphhtthhopedvgedprhgtphhtthhopehkuhgsrgeskhgvrhhnvghlrdhorhhgpdhrtghpthhtoheprghnughrvgifsehluhhnnhdrtghhpdhrtghpthhtohepohdrrhgvmhhpvghlsehpvghnghhuthhrohhnihigrdguvgdprhgtphhtthhopegurghvvghmsegurghvvghmlhhofhhtrdhnvghtpdhrtghpthhtohepvgguuhhmrgiiv ghtsehgohhoghhlvgdrtghomhdprhgtphhtthhopehprggsvghnihesrhgvughhrghtrdgtohhmpdhrtghpthhtoheptghorhgsvghtsehlfihnrdhnvghtpdhrtghpthhtohepughonhgrlhgurdhhuhhnthgvrhesghhmrghilhdrtghomh X-GND-Sasl: kory.maincent@bootlin.com On Thu, 20 Feb 2025 16:51:29 -0800 Jakub Kicinski wrote: > On Tue, 18 Feb 2025 17:19:10 +0100 Kory Maincent wrote: > > This patch introduces the ability to configure the PSE PI budget evalua= tion > > strategies. Budget evaluation strategies is utilized by PSE controllers= to > > determine which ports to turn off first in scenarios such as power budg= et > > exceedance. > >=20 > > The pis_prio_max value is used to define the maximum priority level > > supported by the controller. Both the current priority and the maximum > > priority are exposed to the user through the pse_ethtool_get_status cal= l. > >=20 > > This patch add support for two mode of budget evaluation strategies. > > 1. Static Method: =20 >=20 > The "methods" can be mixed for ports in a single "domain" ? No they can't for now. Even different PSE power domains within the same PSE controller. I will make it explicit. Regards, --=20 K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com