From: Jakub Kicinski Date: Wed, 11 Mar 2026 02:33:07 +0000 (-0700) Subject: Merge branch 'tools-ynl-policy-query-support' X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7bb1970494faa6396fe4d622c4fe7edb1a9e217f;p=thirdparty%2Fkernel%2Flinux.git Merge branch 'tools-ynl-policy-query-support' Jakub Kicinski says: ==================== tools: ynl: policy query support Improve the Netlink policy support in YNL. This series grew out of improvements to policy checking, when writing selftests I realized that instead of doing all the policy parsing in the test we're better off making it part of YNL itself. Patch 1 adds pad handling, apparently we never hit pad with commonly used families. nlctrl policy dumps use pad more frequently. Patch 2 is a trivial refactor. Patch 3 pays off some technical debt in terms of documentation. The YnlFamily class is growing in size and it's quite hard to find its members. So document it a little bit. Patch 4 is the main dish, the implementation of get_policy(op) in YnlFamily. Patch 5 plugs the new functionality into the CLI. ==================== Link: https://patch.msgid.link/20260310005337.3594225-1-kuba@kernel.org Signed-off-by: Jakub Kicinski --- 7bb1970494faa6396fe4d622c4fe7edb1a9e217f