[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230322112524.0d44b94f@kernel.org>
Date: Wed, 22 Mar 2023 11:25:24 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Donald Hunter <donald.hunter@...il.com>
Cc: netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>, donald.hunter@...hat.com
Subject: Re: [PATCH net-next v2 2/6] tools: ynl: Add struct parsing to
nlspec
On Wed, 22 Mar 2023 11:38:01 +0000 Donald Hunter wrote:
> >> + Attributes:
> >> + type string, kernel type of the member attribute
> >
> > We can have structs inside structs in theory, or "binary blobs" so this
> > is really a subset of what attr can be rather than necessarily a kernel
> > type?
>
> Okay, so the schema currently defines the member types as u*, s* and
> string. Does it make sense to add 'binary' and 'struct'?
We don't have to until it's needed.
> To be clear, do you want me to drop the word 'kernel' from the
> docstring, or something more?
Removing kernel should be good enough
Powered by blists - more mailing lists