Re: [PATCH net] net: sched: act_api: size RTM_GETACTION reply by fill size

From: Jamal Hadi Salim

Date: Fri Feb 06 2026 - 08:35:32 EST


On Thu, Feb 5, 2026 at 5:12 PM Vladimir Oltean <vladimir.oltean@xxxxxxx> wrote:
>
> On Thu, Feb 05, 2026 at 04:30:06PM -0500, Jamal Hadi Salim wrote:
> > Yes, this kinda answers the question: we are looking for something
> > that serves as an upper bound for the control list.
> > Does the standard explicitly specify that it is arbitrary - or is that
> > deduced by lack of mention of an upper bound.
> > Either way imo we need to have a "reasonable" upper bound in the code.
> >
> > cheers,
> > jamal
>
> It doesn't specifically use the word "arbitrary" but it describes a
> mechanism to indicate what the arbitrarily chosen upper bound is, if
> there is one.
>
> Specifically, clause 12.31.1.4 talks of a managed object for PSFP called
> SupportedListMax. This is supposed to report the maximum values that the
> AdminControlListLength and OperControlListLength parameters can hold in
> this particular implementation.
>

Very helpful details - Thanks Vladmir.
Paul, maybe a nice number like 512 for something analogous to
AdminControlListLength?
The analogous OperControlListLength can be derived from counting the
list elements.

cheers,
jamal

> There is no intrinsic or universally reasonable limit on their count.
> It depends on the required schedule complexity.