netlink: specs: tc: add qdisc dump to TC spec

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>
This commit is contained in:
Jakub Kicinski 2025-05-20 09:19:15 -07:00
parent e06c9d2515
commit 33baf6f73a

View 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.