aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/netlink
diff options
context:
space:
mode:
authorAmritha Nambiar <amritha.nambiar@intel.com>2023-12-01 15:29:02 -0800
committerJakub Kicinski <kuba@kernel.org>2023-12-04 18:04:06 -0800
commit5a5131d66fe02337de0b1b2e021b58f0f55c6df5 (patch)
tree07c55989786a8231cd6a3238150b42790481bc44 /Documentation/netlink
parent27f91aaf49b3a50e5a02ad5fa27b7c453d029a72 (diff)
downloadlinux-5a5131d66fe02337de0b1b2e021b58f0f55c6df5.tar.gz
netdev-genl: spec: Add irq in netdev netlink YAML spec
Add support in netlink spec(netdev.yaml) for interrupt number among the NAPI attributes. 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/170147334210.5260.18178387869057516983.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.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/netlink/specs/netdev.yaml b/Documentation/netlink/specs/netdev.yaml
index 76d6b2e15b676..a3a1c6ad521b7 100644
--- a/Documentation/netlink/specs/netdev.yaml
+++ b/Documentation/netlink/specs/netdev.yaml
@@ -226,6 +226,10 @@ attribute-sets:
name: id
doc: ID of the NAPI instance.
type: u32
+ -
+ name: irq
+ doc: The associated interrupt vector number for the napi
+ type: u32
-
name: queue
attributes:
@@ -384,6 +388,7 @@ operations:
attributes:
- id
- ifindex
+ - irq
dump:
request:
attributes: