mbox series

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

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

Message

Hangbin Liu April 1, 2024, 3:56 a.m. UTC
rename array-nest to indexed-array and add un-nest sub-type support

v3:
1. fix doc title underline too short issue (Jakub Kicinski)

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              | 24 ++++++++++++++-----
 tools/net/ynl/lib/ynl.py                      | 18 ++++++++++----
 tools/net/ynl/ynl-gen-c.py                    | 18 +++++++++-----
 10 files changed, 67 insertions(+), 31 deletions(-)