Re: [PATCH 4/4] tools: ynl: add start-index property for indexed arrays

Jakub Kicinski
2025-10-21T23:24:47Z

On Tue, 21 Oct 2025 20:50:03 +0300 Zahari Doychev wrote:
> > We need to be selective about what API stupidity we try to
> > cover up in YNL. Otherwise the specs will be unmanageably complex.
> > IMO this one should be a comment in the spec explaining that action
> > 0 is ignore and that's it.
>
> I am not sure if this applies for all cases of indexed arrays. For sure
> it applies for the tc_act_attrs case but I need to check the rest again.
>
> Do you think it would be fine to start from 1 for all indexed arrays?

Not sure off the top of my head