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

Kory Maincent
2025-02-25T09:26:08Z

On Mon, 24 Feb 2025 13:45:22 -0800
Jakub Kicinski <kuba@kernel.org> wrote:

> On Mon, 24 Feb 2025 14:10:37 +0100 Kory Maincent wrote:
> > > 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.
>
> 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 and
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 also
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,
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering