netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] tools: ynl-gen: support full range of min/max checks
@ 2023-10-18 16:39 Jakub Kicinski
  2023-10-18 16:39 ` [PATCH net-next 1/3] tools: ynl-gen: track attribute use Jakub Kicinski
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jakub Kicinski @ 2023-10-18 16:39 UTC (permalink / raw)
  To: davem; +Cc: netdev, edumazet, pabeni, dcaratti, Jakub Kicinski

YNL code gen currently supports only very simple range checks
within the range of s16. Add support for full range of u64 / s64
which is good to have, and will be even more important with uint / sint.

Jakub Kicinski (3):
  tools: ynl-gen: track attribute use
  tools: ynl-gen: support full range of min/max checks for integer
    values
  tools: ynl-gen: support limit names

 Documentation/netlink/genetlink-c.yaml      |  10 +-
 Documentation/netlink/genetlink-legacy.yaml |  10 +-
 Documentation/netlink/genetlink.yaml        |  10 +-
 tools/net/ynl/ynl-gen-c.py                  | 115 ++++++++++++++++++--
 4 files changed, 132 insertions(+), 13 deletions(-)

-- 
2.41.0


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

end of thread, other threads:[~2023-10-19 23:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-18 16:39 [PATCH net-next 0/3] tools: ynl-gen: support full range of min/max checks Jakub Kicinski
2023-10-18 16:39 ` [PATCH net-next 1/3] tools: ynl-gen: track attribute use Jakub Kicinski
2023-10-18 16:39 ` [PATCH net-next 2/3] tools: ynl-gen: support full range of min/max checks for integer values Jakub Kicinski
2023-10-18 16:39 ` [PATCH net-next 3/3] tools: ynl-gen: support limit names Jakub Kicinski
2023-10-19 23:00 ` [PATCH net-next 0/3] tools: ynl-gen: support full range of min/max checks 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).