[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230521170733.13151-1-donald.hunter@gmail.com>
Date: Sun, 21 May 2023 18:07:31 +0100
From: Donald Hunter <donald.hunter@...il.com>
To: netdev@...r.kernel.org,
Jakub Kicinski <kuba@...nel.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
Cc: donald.hunter@...hat.com,
Donald Hunter <donald.hunter@...il.com>
Subject: [patch net-next v1 0/2] tools: ynl: Add byte-order support for struct members
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 | 107 +++++++++-----------
3 files changed, 53 insertions(+), 60 deletions(-)
--
2.39.0
Powered by blists - more mailing lists