summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Zahka <daniel.zahka@gmail.com>2026-04-03 13:26:31 +0300
committerJakub Kicinski <kuba@kernel.org>2026-04-07 04:12:34 +0300
commitc8eee00c0fef5f709b9114be432d7b3afebb4c0a (patch)
treeae5878b9af3380df91ea0027e104cd8a0ee1139a
parentf32ba0963119b2520127077d72ebe7f6f8cb847f (diff)
downloadlinux-c8eee00c0fef5f709b9114be432d7b3afebb4c0a.tar.xz
psp: add missing device stats to get-stats reply attributes
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>
-rw-r--r--Documentation/netlink/specs/psp.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/netlink/specs/psp.yaml b/Documentation/netlink/specs/psp.yaml
index f3a57782d2cf..100c36cda8e5 100644
--- a/Documentation/netlink/specs/psp.yaml
+++ b/Documentation/netlink/specs/psp.yaml
@@ -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: