diff options
author | Jakub Kicinski <kuba@kernel.org> | 2024-02-01 16:49:25 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-02 21:16:38 -0800 |
commit | 7c59c9c8f2025358cacf08b8e5a626a08112cffc (patch) | |
tree | 85736dcda9b2285e6925a1fc027e8af6fe34f087 /tools/net/ynl/generated | |
parent | 8f109e91b852f159b917f5c565bcf43c26d974e2 (diff) | |
download | linux-stable-7c59c9c8f2025358cacf08b8e5a626a08112cffc.tar.gz linux-stable-7c59c9c8f2025358cacf08b8e5a626a08112cffc.tar.bz2 linux-stable-7c59c9c8f2025358cacf08b8e5a626a08112cffc.zip |
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>
Diffstat (limited to 'tools/net/ynl/generated')
-rw-r--r-- | tools/net/ynl/generated/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/net/ynl/generated/Makefile b/tools/net/ynl/generated/Makefile index 0d826fd008ed..3b9f738c61b8 100644 --- a/tools/net/ynl/generated/Makefile +++ b/tools/net/ynl/generated/Makefile @@ -14,7 +14,7 @@ YNL_GEN_ARG_ethtool:=--user-header linux/ethtool_netlink.h \ TOOL:=../ynl-gen-c.py -GENS:=ethtool devlink dpll handshake fou mptcp_pm netdev nfsd +GENS:=ethtool devlink dpll handshake fou mptcp_pm netdev nfsd ovs_datapath ovs_vport ovs_flow SRCS=$(patsubst %,%-user.c,${GENS}) HDRS=$(patsubst %,%-user.h,${GENS}) OBJS=$(patsubst %,%-user.o,${GENS}) |