Merge branch 'tools-ynl-prevent-reorder-and-fix-flags'
authorJakub Kicinski <kuba@kernel.org>
Fri, 27 Jan 2023 00:32:43 +0000 (16:32 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 27 Jan 2023 00:32:43 +0000 (16:32 -0800)
commit0313afe8b83a0ab888966c914f9e3812e8edcf98
tree3e552d58609db416aa1114fac162540e25266a83
parent868c82f34cab6d3ac9e25e355a1c3c5fcb84ec2b
parent3a43ded081f862aa2f66a8f4f6630a45a9081e58
Merge branch 'tools-ynl-prevent-reorder-and-fix-flags'

Jakub Kicinski says:

====================
tools: ynl: prevent reorder and fix flags

Some codegen improvements for YAML specs.

First, Lorenzon discovered when switching the XDP feature family
to use flags instead of pure enum that the kdoc got garbled.
The support for enum and flags is therefore unified.

Second when regenerating all families we discussed so far I noticed
that some netlink policies jumped around. We need to ensure we don't
render code based on their ordering in a hash.
====================

Link: https://lore.kernel.org/r/20230126000235.1085551-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>