netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] ynl-gen: update check format
@ 2023-12-15  3:50 Hangbin Liu
  2023-12-15  3:50 ` [PATCH net-next 1/3] tools: ynl-gen: use correct len for string and binary Hangbin Liu
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Hangbin Liu @ 2023-12-15  3:50 UTC (permalink / raw)
  To: netdev; +Cc: Jakub Kicinski, Paolo Abeni, Hangbin Liu

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(-)

-- 
2.43.0


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

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

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-15  3:50 [PATCH net-next 0/3] ynl-gen: update check format Hangbin Liu
2023-12-15  3:50 ` [PATCH net-next 1/3] tools: ynl-gen: use correct len for string and binary Hangbin Liu
2023-12-16  2:06   ` Jakub Kicinski
2023-12-16  8:35     ` Hangbin Liu
2023-12-18 22:22       ` Jakub Kicinski
2023-12-19 10:01         ` Hangbin Liu
2023-12-15  3:50 ` [PATCH net-next 2/3] tools: ynl-gen: support using defines in checks Hangbin Liu
2023-12-16  2:08   ` Jakub Kicinski
2023-12-16  8:44     ` Hangbin Liu
2023-12-18 22:23       ` Jakub Kicinski
2023-12-15  3:50 ` [PATCH net-next 3/3] netlink: specs: use exact-len for IPv6 addr Hangbin Liu
2023-12-16  2:09   ` Jakub Kicinski
2023-12-16  8:48     ` Hangbin Liu
2023-12-18 22:24       ` Jakub Kicinski
2023-12-18 11:40   ` Davide Caratti

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).