Skip to content

tools: ynl: Add byte-order support for struct members

Donald Hunter netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied 2/2
  2. v12 patches 4 repliesSuperseded

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2tools: ynl: Use dict of predefined Structs to decode scalar typestools/net/ynl/lib/ynl.py+44 -570 repliesApplied
2/2tools: ynl: Handle byte-order in struct membersDocumentation/netlink/genetlink-legacy.yaml tools/net/ynl/lib/nlspec.py tools/net/ynl/lib/ynl.py+8 -40 repliesApplied

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJakub Kicinski
SeriesR-b
1/2
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH net-next v2 0/2] tools: ynl: Add byte-order support for struct members

From: Donald Hunter <[email protected]>

This patchset adds support to ynl for handling byte-order in struct members. The first patch is a refactor to use predefined Struct() objects instead of generating byte-order specific formats on the fly. The second patch adds byte-order handling for struct members.

Donald Hunter (2):
tools: ynl: Use dict of predefined Structs to decode scalar types
tools: ynl: Handle byte-order in struct members

 Documentation/netlink/genetlink-legacy.yaml |   2 +
 tools/net/ynl/lib/nlspec.py                 |   4 +-
 tools/net/ynl/lib/ynl.py                    | 101 +++++++++-----------
 3 files changed, 49 insertions(+), 58 deletions(-)
Signature · 1 line
2.40.0