Skip to content

tools: ynl-gen: support full range of min/max checks

Jakub Kicinski netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3tools: ynl-gen: track attribute usetools/net/ynl/ynl-gen-c.py+20 -00 repliesApplied
2/3tools: ynl-gen: support full range of min/max checks for integer valuesDocumentation/netlink/genetlink-c.yaml Documentation/netlink/genetlink-legacy.yaml Documentation/netlink/genetlink.yaml +1 more+68 -70 repliesApplied
3/3tools: ynl-gen: support limit namesDocumentation/netlink/genetlink-c.yaml Documentation/netlink/genetlink-legacy.yaml Documentation/netlink/genetlink.yaml +1 more+55 -170 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/3] tools: ynl-gen: support full range of min/max checks

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(-)
Signature · 1 line
2.41.0