[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240219172628.71455-4-jiri@resnulli.us>
Date: Mon, 19 Feb 2024 18:26:28 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: netdev@...r.kernel.org
Cc: kuba@...nel.org,
pabeni@...hat.com,
davem@...emloft.net,
edumazet@...gle.com,
jacob.e.keller@...el.com,
swarupkotikalapudi@...il.com,
donald.hunter@...il.com,
sdf@...gle.com,
lorenzo@...nel.org,
alessandromarcolini99@...il.com
Subject: [patch net-next 13/13] netlink: specs: devlink: add missing nested devlink definitions
From: Jiri Pirko <jiri@...dia.com>
Add missing nested devlink subspace definition with definition of two
attributes using it.
Signed-off-by: Jiri Pirko <jiri@...dia.com>
---
Documentation/netlink/specs/devlink.yaml | 24 ++++++++++++++++++++----
1 file changed, 20 insertions(+), 4 deletions(-)
diff --git a/Documentation/netlink/specs/devlink.yaml b/Documentation/netlink/specs/devlink.yaml
index d2bc0e366d09..c416339b69a6 100644
--- a/Documentation/netlink/specs/devlink.yaml
+++ b/Documentation/netlink/specs/devlink.yaml
@@ -853,13 +853,14 @@ attribute-sets:
name: linecard-supported-types
type: nest
nested-attributes: dl-linecard-supported-types
-
- # TODO: fill in the attributes in between
-
+ -
+ name: nested-devlink
+ type: nest
+ multi-attr: true
+ nested-attributes: dl-nested-devlink
-
name: selftests
type: nest
- value: 176
nested-attributes: dl-selftest-id
-
name: rate-tx-priority
@@ -944,6 +945,10 @@ attribute-sets:
type: bitfield32
enum: port-fn-attr-cap
enum-as-flags: True
+ -
+ name: devlink
+ type: nest
+ nested-attributes: dl-nested-devlink
-
name: dl-dpipe-tables
@@ -1288,6 +1293,17 @@ attribute-sets:
-
name: linecard-type
+ -
+ name: dl-nested-devlink
+ subset-of: devlink
+ attributes:
+ -
+ name: bus-name
+ -
+ name: dev-name
+ -
+ name: netns-id
+
-
name: dl-selftest-id
name-prefix: devlink-attr-selftest-id-
--
2.43.2
Powered by blists - more mailing lists