Skip to content

ynl-gen: update check format

Hangbin Liu netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tools: ynl-gen: use correct len for string and binaryDocumentation/netlink/genetlink-c.yaml Documentation/netlink/genetlink-legacy.yaml Documentation/netlink/genetlink.yaml +3 more+33 -214 replies
2/3tools: ynl-gen: support using defines in checksDocumentation/netlink/genetlink-c.yaml Documentation/netlink/genetlink-legacy.yaml Documentation/netlink/genetlink.yaml +2 more+11 -43 replies
3/3netlink: specs: use exact-len for IPv6 addrDocumentation/netlink/specs/fou.yaml Documentation/netlink/specs/mptcp.yaml+4 -44 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchDavide CarattiJakub Kicinski
1/3
2/3R-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/3] ynl-gen: update check format

Hi Jakub,

Looks support defines in len check is not as complex as I thought :)

The first patch update the len checks. Add len part, and correct the usage of min, max, exact len.
The second patch add the support of using defines instead of hard code only. The third patch fix the IPv6 addr len definition.

BTW, I'm not sure whether the 1st and 3rd patches should be fixes or not. Please tell me if I should update.

Hangbin Liu (3):
tools: ynl-gen: use correct len for string and binary
tools: ynl-gen: support using defines in checks
netlink: specs: use exact-len for IPv6 addr

 Documentation/netlink/genetlink-c.yaml      |  9 ++++--
 Documentation/netlink/genetlink-legacy.yaml |  9 ++++--
 Documentation/netlink/genetlink.yaml        |  9 ++++--
 Documentation/netlink/netlink-raw.yaml      |  9 ++++--
 Documentation/netlink/specs/fou.yaml        |  4 +--
 Documentation/netlink/specs/mptcp.yaml      |  4 +--
 include/net/netlink.h                       |  1 +
 tools/net/ynl/ynl-gen-c.py                  | 32 ++++++++++++---------
 8 files changed, 48 insertions(+), 29 deletions(-)
Signature · 1 line
2.43.0