OSDN Git Service

tools: ynl-gen: generate static descriptions of notifications
authorJakub Kicinski <kuba@kernel.org>
Fri, 2 Jun 2023 02:35:48 +0000 (19:35 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 3 Jun 2023 05:10:47 +0000 (22:10 -0700)
commit59d814f0f28513ae632739634e3b869098beb093
tree1b6e10a2eebbf50cf198bb9d72763a1b5f989e1c
parent8cb6afb3354172360881d6a644967c35f767ca2b
tools: ynl-gen: generate static descriptions of notifications

Notifications may come in at any time. The family must be always
ready to parse a random incoming notification. Generate notification
table for parsing and tell YNL which request we're processing
to distinguish responses from notifications.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/net/ynl/ynl-gen-c.py