tools: ynl-gen: try to sort the types more intelligently
authorJakub Kicinski <kuba@kernel.org>
Wed, 7 Jun 2023 20:23:57 +0000 (13:23 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 8 Jun 2023 21:01:10 +0000 (14:01 -0700)
commit6afaa0ef9b0e446fde14a1424f2c2858484a3601
tree2b4baf813b8306cc33fdfe932baf4a4a7d1f69f4
parentff6db4b58c93eada66f58423aa02363f987679c5
tools: ynl-gen: try to sort the types more intelligently

We need to sort the structures to avoid the need for forward
declarations. While at it remove the sort of structs when
rendering, it doesn't do anything.

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