[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230602023548.463441-1-kuba@kernel.org>
Date: Thu, 1 Jun 2023 19:35:38 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org,
edumazet@...gle.com,
pabeni@...hat.com,
Jakub Kicinski <kuba@...nel.org>
Subject: [PATCH net-next 00/10] tools: ynl-gen: dust off the user space code
Every now and then I wish I finished the user space part of
the netlink specs, Python scripts kind of stole the show but
C is useful for selftests and stuff which needs to be fast.
Recently someone asked me how to access devlink and ethtool
from C++ which pushed me over the edge.
Fix things which bit rotted and finish notification handling.
This series contains code gen changes only. I'll follow up
with the fixed component, samples and docs as soon as it's
merged.
Jakub Kicinski (10):
tools: ynl-gen: add extra headers for user space
tools: ynl-gen: fix unused / pad attribute handling
tools: ynl-gen: don't override pure nested struct
tools: ynl-gen: loosen type consistency check for events
tools: ynl-gen: add error checking for nested structs
tools: ynl-gen: generate enum-to-string helpers
tools: ynl-gen: move the response reading logic into YNL
tools: ynl-gen: generate alloc and free helpers for req
tools: ynl-gen: switch to family struct
tools: ynl-gen: generate static descriptions of notifications
tools/net/ynl/ynl-gen-c.py | 253 +++++++++++++++++++++++++++++--------
1 file changed, 199 insertions(+), 54 deletions(-)
--
2.40.1
Powered by blists - more mailing lists