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 DF4644C80; Tue, 25 Feb 2025 09:26:08 +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=1740475571; cv=none; b=HRnx14dK6tAUJZwFn73Y37CLob8YvU4ZS3aZogOEAm/66kzq46JfKZIkRp6AmjJOAAZkNGlB6AmxAMwpb9u0ZRQIEG3JC7FN1SzlbU2Y6T0BV5AUzOcnZCgV9eIOwU9fukB1G5iXRb80E9ucFxAKfqDHy+zy2iqiik3PBwuLT1s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740475571; c=relaxed/simple; bh=oSSm2Bj/9pPO/bqZuCZ2bbaPFZ8yEX3jYdNJxrGtFNA=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=e8Q/ja4jp9KkfP5rCR3UtwqCYs1JAN66YsXLV5PUYZxn6C1ibulg1M5oWqqxJ5G+yBIG01+81ZgT8KsIEouiHsC9GSba3NKaelsr3B59q+Ovz5bqhamyuCYoxWkb961szam/xoeCGTiWV3vXph0FweerQV3CWRISipf+ELPMabQ= 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=azZPTycN; 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="azZPTycN" Received: by mail.gandi.net (Postfix) with ESMTPSA id 3DC7C4328A; Tue, 25 Feb 2025 09:25:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1740475560; 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=mV3cehY1GxgAILAv178GKa2jcX2i7pQTnmswZvAfL+Q=; b=azZPTycNcKWAmSO4gNOl0NlryS9eh6MsVogc/zDwfqc0OW4L0dAEy5ZmJyKlaweI5TR/ZF ZaucNvgDspZFecCuyLhAjhOblAlCoGi1fBJ6qjFmwcdyRqb3Hb4M8uD2YDfS1e9det3hB9 xyWhvWxMt6oNO7KdBLViEq/A3BVVyUMbn+118bYrJsek8ev2j+HK8uuX67zTD/TOM/jrXj PSg+i1Xc170Da1io8g294kAS92PjCGnlu/GBNW/91zxTFaCiZs7TswgwcXS+yNq8OsChVk Oag40wzCNDuLy3kKZ4dro4HP1V/KxHgaAfaRhSaQhWbRKtzcEJAqc6iIh4TA0A== Date: Tue, 25 Feb 2025 10:25:58 +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: <20250225102558.2cf3d8a5@kmaincent-XPS-13-7390> In-Reply-To: <20250224134522.1cc36aa3@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> <20250224141037.1c79122b@kmaincent-XPS-13-7390> <20250224134522.1cc36aa3@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: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdekudefgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepfffhvfevuffkjghfohfogggtgfesthhqredtredtjeenucfhrhhomhepmfhorhihucforghinhgtvghnthcuoehkohhrhidrmhgrihhntggvnhhtsegsohhothhlihhnrdgtohhmqeenucggtffrrghtthgvrhhnpefguddtfeevtddugeevgfevtdfgvdfhtdeuleetffefffffhffgteekvdefudeiieenucffohhmrghinhepsghoohhtlhhinhdrtghomhenucfkphepledtrdekledrudeifedruddvjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeltddrkeelrdduieefrdduvdejpdhhvghlohepkhhmrghinhgtvghnthdqigfrufdqudefqdejfeeltddpmhgrihhlfhhrohhmpehkohhrhidrmhgrihhntggvnhhtsegsohhothhlihhnrdgtohhmpdhnsggprhgtphhtthhopedvgedprhgtphhtthhopehkuhgsrgeskhgvrhhnvghlrdhorhhgpdhrtghpthhtoheprghnughrvgifsehluhhnnhdrtghhpdhrtghpthhtohepohdrrhgvmhhpvghlsehpvghnghhuthhrohhnihigrdguvgdprhgtphhtthhopegurghvvghmsegurghvvghmlhhofhhtrdhnvghtpdhrtghpthhtohepvgguuhhmrgiiv ghtsehgohhoghhlvgdrtghomhdprhgtphhtthhopehprggsvghnihesrhgvughhrghtrdgtohhmpdhrtghpthhtoheptghorhgsvghtsehlfihnrdhnvghtpdhrtghpthhtohepughonhgrlhgurdhhuhhnthgvrhesghhmrghilhdrtghomh X-GND-Sasl: kory.maincent@bootlin.com On Mon, 24 Feb 2025 13:45:22 -0800 Jakub Kicinski wrote: > On Mon, 24 Feb 2025 14:10:37 +0100 Kory Maincent wrote: > > > The "methods" can be mixed for ports in a single "domain" ? =20 > >=20 > > No they can't for now. Even different PSE power domains within the same= PSE > > controller. I will make it explicit. =20 >=20 > Sounds like the property is placed at the wrong level of the hierarchy, > then. When a PSE controller appears to be able to support mixed budget strategy a= nd could switch between them it will be better to have it set at the PSE power domain level. As the budget is per PSE power domain, its strategy should al= so be per PSE power domain. For now, it is simply not configurable and can't be mixed. It is hard-coded= by the PSE driver. Regards, --=20 K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com