tools: ynl-gen: use enum names in op strmap more carefully
authorJakub Kicinski <kuba@kernel.org>
Wed, 7 Jun 2023 20:23:54 +0000 (13:23 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 8 Jun 2023 21:01:10 +0000 (14:01 -0700)
commit9858bfc271de3cc61307a710044c304e6ec34f8a
treebbf9103915428861a5a11957418771ab4878db5b
parent8947e503737138ff92323f99637d921451fe398a
tools: ynl-gen: use enum names in op strmap more carefully

In preparation for supporting families which use different msg
ids to and from the kernel - make sure the ids in op strmap
are correct. The map is expected to be used mostly for notifications,
don't generate a separate map for the "to kernel" direction.

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