mbox series

[PATCHv2,net-next,0/2] ynl: rename array-nest to indexed-array

Message ID 20240329065423.1736120-1-liuhangbin@gmail.com (mailing list archive)
Headers show
Series ynl: rename array-nest to indexed-array | expand

Message

Hangbin Liu March 29, 2024, 6:54 a.m. UTC
rename array-nest to indexed-array and add un-nest sub-type support

v2:
1. raise exception for unsupported sub-type
2. merge all sub-type handler in _decode_array_attr
3. remove index shown in indexed-array as some implementations are
   non-contiguous.

Hangbin Liu (2):
  ynl: rename array-nest to indexed-array
  ynl: support binary/u32 sub-type for indexed-array

 Documentation/netlink/genetlink-c.yaml        |  2 +-
 Documentation/netlink/genetlink-legacy.yaml   |  2 +-
 Documentation/netlink/genetlink.yaml          |  2 +-
 Documentation/netlink/netlink-raw.yaml        |  2 +-
 Documentation/netlink/specs/nlctrl.yaml       |  6 +++--
 Documentation/netlink/specs/rt_link.yaml      |  3 ++-
 Documentation/netlink/specs/tc.yaml           | 21 ++++++++++++------
 .../netlink/genetlink-legacy.rst              | 22 ++++++++++++++-----
 tools/net/ynl/lib/ynl.py                      | 18 ++++++++++-----
 tools/net/ynl/ynl-gen-c.py                    | 18 ++++++++++-----
 10 files changed, 66 insertions(+), 30 deletions(-)