netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] tools: ynl: Add byte-order support for struct members
@ 2023-05-23  9:37 Donald Hunter
  2023-05-23  9:37 ` [PATCH net-next v2 1/2] tools: ynl: Use dict of predefined Structs to decode scalar types Donald Hunter
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Donald Hunter @ 2023-05-23  9:37 UTC (permalink / raw)
  To: netdev, Jakub Kicinski, David S. Miller, Eric Dumazet,
	Paolo Abeni
  Cc: donald.hunter

From: Donald Hunter <donald.hunter@redhat.com>

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(-)

-- 
2.40.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-05-24  7:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-23  9:37 [PATCH net-next v2 0/2] tools: ynl: Add byte-order support for struct members Donald Hunter
2023-05-23  9:37 ` [PATCH net-next v2 1/2] tools: ynl: Use dict of predefined Structs to decode scalar types Donald Hunter
2023-05-23  9:37 ` [PATCH net-next v2 2/2] tools: ynl: Handle byte-order in struct members Donald Hunter
2023-05-24  4:09 ` [PATCH net-next v2 0/2] tools: ynl: Add byte-order support for " Jakub Kicinski
2023-05-24  7:50 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).