tools: ynl-gen: refactor strmap helper generation
authorJakub Kicinski <kuba@kernel.org>
Wed, 7 Jun 2023 20:23:55 +0000 (13:23 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 8 Jun 2023 21:01:10 +0000 (14:01 -0700)
commit6f115d4575ab7225fc16ba816b9d25d88976a540
treebb071be1637b1c07b8a7fceab05968a0bb14f664
parent9858bfc271de3cc61307a710044c304e6ec34f8a
tools: ynl-gen: refactor strmap helper generation

Move generating strmap lookup function to a helper.
No functional changes.

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