Commit ae9981f
ynl-gen-cpp: add support for generating ovs_flow
Summary:
Enable ovs_flow code generation and fix compile failure
Backport from net-next record information about recursive struct.
Forward declarations if child struct in nested struct is define after it.
Recursive types are stored as vector not option, update attr_put and _attr_get to handle it correctly
net-next:
tools: ynl-gen: record information about recursive nests(commit 38329fcfb757b8215c07a77b6657721cc7e9530e)
Test Plan:
make sure code could be generated and compiled
Signed-off-by: Sheldon Wu <xzw2048@gmail.com>1 parent 4c2cd98 commit ae9981f
File tree
4 files changed
+2413
-20
lines changed- generated
4 files changed
+2413
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments