Skip to content

Conversation

@sheldnwu
Copy link
Contributor

@sheldnwu sheldnwu commented Jan 8, 2026

This PR used to enable a couple of families are filtered out. All enabled families are regenerated and compile

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 <xzw2048@gmail.com>
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>
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 <xzw2048@gmail.com>
@kuba-moo kuba-moo merged commit 7b5c2ef into linux-netdev:main Jan 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants