Merged
Conversation
Summary: Enable code gen netlink for devlink ovs_datapath ovs_vport devlink need support limits using definitions. backport logic from net-next net-next: 1. tools: ynl-gen: use names of constants in generated limits(commit bcbbfaa2612d7d0e9c3eafade5f6e93c3672f34f) 2.tools: ynl-gen: support limits using definitions(commit fa796178e5eb0078a9a6c36f60fd6494cfc3f81d) Test Plan: make sure code could be generated and compiled Signed-off-by: Sheldon Wu <[email protected]>
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 <[email protected]>
Summary: Enable nlctrl code generation. and fix compile error ynl_attr_data() return void* type which could not be implicitly cast to const struct nlattr* in C++. add explicit cast in code generation Test Plan: make sure code could be generated and compiled Signed-off-by: Sheldon Wu <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR used to enable a couple of families are filtered out. All enabled families are regenerated and compile