summaryrefslogtreecommitdiff
path: root/Documentation/netlink
diff options
context:
space:
mode:
authorAmritha Nambiar <amritha.nambiar@intel.com>2023-12-02 02:29:13 +0300
committerJakub Kicinski <kuba@kernel.org>2023-12-05 05:04:06 +0300
commit8481a249a0eaf0000dbb18f7689ccd50ea9835cd (patch)
tree80a59b59b79de9a0baa0e85e8fef97566252b8a7 /Documentation/netlink
parent26793bfb5d6072326d1465343e7cbf6156abca4f (diff)
downloadlinux-8481a249a0eaf0000dbb18f7689ccd50ea9835cd.tar.xz
netdev-genl: spec: Add PID in netdev netlink YAML spec
Add support in netlink spec(netdev.yaml) for PID of the NAPI thread. Add code generated from the spec. Signed-off-by: Amritha Nambiar <amritha.nambiar@intel.com> Reviewed-by: Sridhar Samudrala <sridhar.samudrala@intel.com> Link: https://lore.kernel.org/r/170147335301.5260.11872351477120434501.stgit@anambiarhost.jf.intel.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/netlink')
-rw-r--r--Documentation/netlink/specs/netdev.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/netlink/specs/netdev.yaml b/Documentation/netlink/specs/netdev.yaml
index a3a1c6ad521b..f2c76d103bd8 100644
--- a/Documentation/netlink/specs/netdev.yaml
+++ b/Documentation/netlink/specs/netdev.yaml
@@ -230,6 +230,12 @@ attribute-sets:
name: irq
doc: The associated interrupt vector number for the napi
type: u32
+ -
+ name: pid
+ doc: PID of the napi thread, if NAPI is configured to operate in
+ threaded mode. If NAPI is not in threaded mode (i.e. uses normal
+ softirq context), the attribute will be absent.
+ type: u32
-
name: queue
attributes:
@@ -389,6 +395,7 @@ operations:
- id
- ifindex
- irq
+ - pid
dump:
request:
attributes: