tools: ynl: generate code for ovs families
authorJakub Kicinski <kuba@kernel.org>
Fri, 2 Feb 2024 00:49:25 +0000 (16:49 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 3 Feb 2024 05:16:38 +0000 (21:16 -0800)
commit7c59c9c8f2025358cacf08b8e5a626a08112cffc
tree85736dcda9b2285e6925a1fc027e8af6fe34f087
parent8f109e91b852f159b917f5c565bcf43c26d974e2
tools: ynl: generate code for ovs families

Add ovs_flow, ovs_vport and ovs_datapath to the families supported
in C. ovs-flow has some circular nesting which is fun to deal with,
but the necessary support has been added already in the previous
release cycle.

Add a sample that proves that dealing with fixed headers does
actually work correctly.

Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20240202004926.447803-3-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/net/ynl/generated/Makefile
tools/net/ynl/samples/.gitignore
tools/net/ynl/samples/ovs.c [new file with mode: 0644]