[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 11 Dec 2023 18:04:36 -0800
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>, Jonathan
Corbet <corbet@....net>, linux-doc@...r.kernel.org, Jacob Keller
<jacob.e.keller@...el.com>, donald.hunter@...hat.com
Subject: Re: [PATCH net-next v2 08/11] tools/net/ynl: Add binary and pad
support to structs for tc
On Mon, 11 Dec 2023 16:40:36 +0000 Donald Hunter wrote:
> description: The netlink attribute type
We should perhaps "touch up" this doc, and add that for the use of pad
within structs len is required. Would be even better if you could
convince json schema to validate that. The example that starts with
a comment:
# type property is only required if not in subset definition
should be pretty close to what we need here?
> - enum: [ u8, u16, u32, u64, s8, s16, s32, s64, string, binary ]
> + enum: [ u8, u16, u32, u64, s8, s16, s32, s64, string, binary, pad ]
Powered by blists - more mailing lists