From: Jakub Kicinski <kuba@kernel.org>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, edumazet@google.com, pabeni@redhat.com,
sdf@google.com, willemdebruijn.kernel@gmail.com,
chuck.lever@oracle.com, Jakub Kicinski <kuba@kernel.org>
Subject: [PATCH net-next 0/3] tools: ynl: generate code for the handshake family
Date: Tue, 6 Jun 2023 12:42:59 -0700 [thread overview]
Message-ID: <20230606194302.919343-1-kuba@kernel.org> (raw)
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
next reply other threads:[~2023-06-06 19:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-06 19:42 Jakub Kicinski [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230606194302.919343-1-kuba@kernel.org \
--to=kuba@kernel.org \
--cc=chuck.lever@oracle.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=sdf@google.com \
--cc=willemdebruijn.kernel@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).