netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] tools: ynl: generate code for the handshake family
@ 2023-06-06 19:42 Jakub Kicinski
  2023-06-06 19:43 ` [PATCH net-next 1/3] tools: ynl-gen: fill in support for MultiAttr scalars Jakub Kicinski
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jakub Kicinski @ 2023-06-06 19:42 UTC (permalink / raw)
  To: davem
  Cc: netdev, edumazet, pabeni, sdf, willemdebruijn.kernel, chuck.lever,
	Jakub Kicinski

Add necessary features and generate user space C code for serializing
/ deserializing messages of the handshake family.

In addition to basics already present in netdev and fou, handshake
has nested attrs and multi-attr u32.

Jakub Kicinski (3):
  tools: ynl-gen: fill in support for MultiAttr scalars
  tools: ynl-gen: improve unwind on parsing errors
  tools: ynl: generate code for the handshake family

 tools/net/ynl/generated/Makefile         |   2 +-
 tools/net/ynl/generated/handshake-user.c | 385 +++++++++++++++++++++++
 tools/net/ynl/generated/handshake-user.h | 148 +++++++++
 tools/net/ynl/ynl-gen-c.py               |  69 +++-
 4 files changed, 593 insertions(+), 11 deletions(-)
 create mode 100644 tools/net/ynl/generated/handshake-user.c
 create mode 100644 tools/net/ynl/generated/handshake-user.h

-- 
2.40.1


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

end of thread, other threads:[~2023-06-07 20:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-06 19:42 [PATCH net-next 0/3] tools: ynl: generate code for the handshake family Jakub Kicinski
2023-06-06 19:43 ` [PATCH net-next 1/3] tools: ynl-gen: fill in support for MultiAttr scalars Jakub Kicinski
2023-06-06 19:43 ` [PATCH net-next 2/3] tools: ynl-gen: improve unwind on parsing errors Jakub Kicinski
2023-06-06 19:43 ` [PATCH net-next 3/3] tools: ynl: generate code for the handshake family Jakub Kicinski
2023-06-07 20:00 ` [PATCH net-next 0/3] " 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).