[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAD4GDZxU-nafwtf2-NaB75hnOKkJo401sD0UWk2E30iHm1uwYg@mail.gmail.com>
Date: Wed, 4 Dec 2024 13:20:22 +0000
From: Donald Hunter <donald.hunter@...il.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>, Simon Horman <horms@...nel.org>,
Johannes Berg <johannes@...solutions.net>, linux-wireless@...r.kernel.org,
donald.hunter@...hat.com
Subject: Re: [PATCH net-next v1 2/7] tools/net/ynl: support decoding indexed
arrays as enums
On Wed, 4 Dec 2024 at 02:00, Jakub Kicinski <kuba@...nel.org> wrote:
>
> On Tue, 3 Dec 2024 13:06:50 +0000 Donald Hunter wrote:
> > When decoding an indexed-array with a scalar subtype, it is currently
> > only possible to add a display-hint. Add support for decoding each value
> > as an enum.
>
> Makes me wonder if we should factor this code out into a helper.
> But there aren't too many sites with this code so fine either way:
I'll look at potential refactoring as a follow up.
> Acked-by: Jakub Kicinski <kuba@...nel.org>
Thanks,
Donald.
Powered by blists - more mailing lists