]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
psp: add missing device stats to get-stats reply attributes
authorDaniel Zahka <daniel.zahka@gmail.com>
Fri, 3 Apr 2026 10:26:31 +0000 (03:26 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 7 Apr 2026 01:12:34 +0000 (18:12 -0700)
Commit f05d26198cf2 ("psp: add stats from psp spec to driver facing
api") added device statistics (rx-packets, rx-bytes, rx-auth-fail,
rx-error, rx-bad, tx-packets, tx-bytes, tx-error) to the stats
attribute-set but did not add them to the get-stats operation reply
attributes. The kernel reports these attributes in the reply, so
list them in the spec to match.

Signed-off-by: Daniel Zahka <daniel.zahka@gmail.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20260403-psp-yaml-fix-v1-1-dacee0663903@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/psp.yaml

index f3a57782d2cf4a2272cbe80e5b6255792edd971b..100c36cda8e5d4f35225c3723ced21bbb12c9aed 100644 (file)
@@ -267,6 +267,14 @@ operations:
             - dev-id
             - key-rotations
             - stale-events
+            - rx-packets
+            - rx-bytes
+            - rx-auth-fail
+            - rx-error
+            - rx-bad
+            - tx-packets
+            - tx-bytes
+            - tx-error
         pre: psp-device-get-locked
         post: psp-device-unlock
       dump: