netlink: specs: tc: add qdisc dump to TC spec
authorJakub Kicinski <kuba@kernel.org>
Tue, 20 May 2025 16:19:15 +0000 (09:19 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 21 May 2025 19:38:23 +0000 (12:38 -0700)
Hook TC qdisc dump in the TC qdisc get, it only supported doit
until now and dumping will be used by the sample code.

Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20250520161916.413298-12-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/tc.yaml

index 6e8db7adde3cb708d40f5f3086a354ab21137252..cb7ea7d62e56f1ce13650b70aef321f46ce9a581 100644 (file)
@@ -3929,7 +3929,7 @@ operations:
       doc: Get / dump tc qdisc information.
       attribute-set: attrs
       fixed-header: tcmsg
-      do:
+      do: &getqdisc-do
         request:
           value: 38
           attributes:
@@ -3948,6 +3948,7 @@ operations:
             - chain
             - ingress-block
             - egress-block
+      dump: *getqdisc-do
     -
       name: newtclass
       doc: Get / dump tc traffic class information.