aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/lib/ynl.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2025-01-07 02:28:18 +0000
committerJakub Kicinski <[email protected]>2025-01-08 02:07:52 +0000
commit69072db934dfc7a566d4eb1fac04146e97ab365f (patch)
tree379de79f5eff7701f964682c4e6157ba29e98c43 /tools/net/ynl/lib/ynl.py
parentif_vlan: fix kdoc warnings (diff)
downloadkernel-69072db934dfc7a566d4eb1fac04146e97ab365f.tar.gz
kernel-69072db934dfc7a566d4eb1fac04146e97ab365f.zip
tools: ynl: correctly handle overrides of fields in subset
We stated in documentation [1] and previous discussions [2] that the need for overriding fields in members of subsets is anticipated. Implement it. Since each attr is now a new object we need to make sure that the modifications are propagated. Specifically C codegen wants to annotate which attrs are used in requests and replies to generate the right validation artifacts. [1] https://docs.kernel.org/next/userspace-api/netlink/specs.html#subset-of [2] https://lore.kernel.org/netdev/[email protected]/ Reviewed-by: Donald Hunter <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/net/ynl/lib/ynl.py')
0 files changed, 0 insertions, 0 deletions