netlink: specs: tc: all actions are indexed arrays
Subsystems (3)
Jakub Kicinski
maintainerPATCH 1/1 netlink: specs: tc: all actions are indexed arrays
Some TC filters have actions listed as indexed arrays of nests and some as just nests. They are all indexed arrays, the handling is common across filters.
---
This is really borderline for net vs net-next decision IMO. I'm posting it for net because repost will make it late for net-next merge. But happy to go with net-next.
--- Documentation/netlink/specs/tc.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Documentation/netlink/specs/tc.yaml +4 -2
@@ -2017,7 +2017,8 @@ protonum: 0 attributes: - name: act - type: nest + type: indexed-array + sub-type: nest nested-attributes: tc-act-attrs - name: police
@@ -2250,7 +2251,8 @@ protonum: 0 attributes: - name: act - type: nest + type: indexed-array + sub-type: nest nested-attributes: tc-act-attrs - name: police
Signature · 1 line
2.49.0
This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Tue, 13 May 2025 15:16:38 -0700 you wrote:
Some TC filters have actions listed as indexed arrays of nests and some as just nests. They are all indexed arrays, the handling is common across filters.
Fixes 2267672a6190 ("doc/netlink/specs: Update the tc spec")Signed-off-by Jakub Kicinski <[email protected]>[...]
Here is the summary with links:
- [net] netlink: specs: tc: all actions are indexed arrays
https://git.kernel.org/netdev/net/c/f3dd5fb2fa49
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html