Re: [PATCH net-next v5 06/12] net: pse-pd: Add support for budget evaluation strategies

From: Kory Maincent
Date: Mon Feb 24 2025 - 08:11:00 EST


On Thu, 20 Feb 2025 16:51:29 -0800
Jakub Kicinski <kuba@xxxxxxxxxx> wrote:

> On Tue, 18 Feb 2025 17:19:10 +0100 Kory Maincent wrote:
> > This patch introduces the ability to configure the PSE PI budget evaluation
> > strategies. Budget evaluation strategies is utilized by PSE controllers to
> > determine which ports to turn off first in scenarios such as power budget
> > exceedance.
> >
> > 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 call.
> >
> > This patch add support for two mode of budget evaluation strategies.
> > 1. Static Method:
>
> 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,
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com