diff options
author | Amritha Nambiar <amritha.nambiar@intel.com> | 2023-12-02 00:29:02 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-12-05 03:04:06 +0100 |
commit | 5a5131d66fe02337de0b1b2e021b58f0f55c6df5 (patch) | |
tree | 07c55989786a8231cd6a3238150b42790481bc44 /Documentation/netlink | |
parent | netdev-genl: Add netlink framework functions for napi (diff) | |
download | linux-5a5131d66fe02337de0b1b2e021b58f0f55c6df5.tar.xz linux-5a5131d66fe02337de0b1b2e021b58f0f55c6df5.zip |
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.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/netlink/specs/netdev.yaml b/Documentation/netlink/specs/netdev.yaml index 76d6b2e15b67..a3a1c6ad521b 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: |