Thread (20 messages) 20 messages, 4 authors, 2023-03-23

Re: [PATCH net-next v2 4/6] tools: ynl: Add struct attr decoding to ynl

From: Donald Hunter <hidden>
Date: 2023-03-22 22:07:24

On Wed, 22 Mar 2023 at 18:38, Jakub Kicinski [off-list ref] wrote:
Maybe to avoid saying struct twice we should go the enum way and
actually ditch the sub-type for structs? Presence of struct: abc
implies it's a struct, only use sub-type for scalar types?

  -
    name: stats
    type: binary
    struct: vport-stats
Yep, this looks good. I'll add this to the docs too.
  -
    name: another
    type: binary
    sub-type: u32
    enum: enums-name
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help