Skip to content

Commit

Permalink
netlink: specs: devlink: make dont-validate single line
Browse files Browse the repository at this point in the history
Make dont-validate field more compact and push it into a single line.

Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://lore.kernel.org/r/20231021112711.660606-6-jiri@resnulli.us
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Jiri Pirko authored and Jakub Kicinski committed Oct 23, 2023
1 parent c48066b commit 6cc8ad9
Showing 1 changed file with 16 additions and 51 deletions.
67 changes: 16 additions & 51 deletions Documentation/netlink/specs/devlink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,7 @@ operations:
name: get
doc: Get devlink instances.
attribute-set: devlink
dont-validate:
- strict
- dump

dont-validate: [ strict, dump ]
do:
pre: devlink-nl-pre-doit
post: devlink-nl-post-doit
Expand All @@ -271,9 +268,7 @@ operations:
name: port-get
doc: Get devlink port instances.
attribute-set: devlink
dont-validate:
- strict

dont-validate: [ strict ]
do:
pre: devlink-nl-pre-doit-port
post: devlink-nl-post-doit
Expand All @@ -299,9 +294,7 @@ operations:
name: sb-get
doc: Get shared buffer instances.
attribute-set: devlink
dont-validate:
- strict

dont-validate: [ strict ]
do:
pre: devlink-nl-pre-doit
post: devlink-nl-post-doit
Expand All @@ -325,9 +318,7 @@ operations:
name: sb-pool-get
doc: Get shared buffer pool instances.
attribute-set: devlink
dont-validate:
- strict

dont-validate: [ strict ]
do:
pre: devlink-nl-pre-doit
post: devlink-nl-post-doit
Expand All @@ -352,9 +343,7 @@ operations:
name: sb-port-pool-get
doc: Get shared buffer port-pool combinations and threshold.
attribute-set: devlink
dont-validate:
- strict

dont-validate: [ strict ]
do:
pre: devlink-nl-pre-doit-port
post: devlink-nl-post-doit
Expand All @@ -380,9 +369,7 @@ operations:
name: sb-tc-pool-bind-get
doc: Get shared buffer port-TC to pool bindings and threshold.
attribute-set: devlink
dont-validate:
- strict

dont-validate: [ strict ]
do:
pre: devlink-nl-pre-doit-port
post: devlink-nl-post-doit
Expand All @@ -409,9 +396,7 @@ operations:
name: param-get
doc: Get param instances.
attribute-set: devlink
dont-validate:
- strict

dont-validate: [ strict ]
do:
pre: devlink-nl-pre-doit
post: devlink-nl-post-doit
Expand All @@ -435,9 +420,7 @@ operations:
name: region-get
doc: Get region instances.
attribute-set: devlink
dont-validate:
- strict

dont-validate: [ strict ]
do:
pre: devlink-nl-pre-doit-port-optional
post: devlink-nl-post-doit
Expand All @@ -462,10 +445,7 @@ operations:
name: info-get
doc: Get device information, like driver name, hardware and firmware versions etc.
attribute-set: devlink
dont-validate:
- strict
- dump

dont-validate: [ strict, dump ]
do:
pre: devlink-nl-pre-doit
post: devlink-nl-post-doit
Expand All @@ -489,9 +469,7 @@ operations:
name: health-reporter-get
doc: Get health reporter instances.
attribute-set: devlink
dont-validate:
- strict

dont-validate: [ strict ]
do:
pre: devlink-nl-pre-doit-port-optional
post: devlink-nl-post-doit
Expand All @@ -514,9 +492,7 @@ operations:
name: trap-get
doc: Get trap instances.
attribute-set: devlink
dont-validate:
- strict

dont-validate: [ strict ]
do:
pre: devlink-nl-pre-doit
post: devlink-nl-post-doit
Expand All @@ -540,9 +516,7 @@ operations:
name: trap-group-get
doc: Get trap group instances.
attribute-set: devlink
dont-validate:
- strict

dont-validate: [ strict ]
do:
pre: devlink-nl-pre-doit
post: devlink-nl-post-doit
Expand All @@ -566,9 +540,7 @@ operations:
name: trap-policer-get
doc: Get trap policer instances.
attribute-set: devlink
dont-validate:
- strict

dont-validate: [ strict ]
do:
pre: devlink-nl-pre-doit
post: devlink-nl-post-doit
Expand All @@ -592,9 +564,7 @@ operations:
name: rate-get
doc: Get rate instances.
attribute-set: devlink
dont-validate:
- strict

dont-validate: [ strict ]
do:
pre: devlink-nl-pre-doit
post: devlink-nl-post-doit
Expand All @@ -619,9 +589,7 @@ operations:
name: linecard-get
doc: Get line card instances.
attribute-set: devlink
dont-validate:
- strict

dont-validate: [ strict ]
do:
pre: devlink-nl-pre-doit
post: devlink-nl-post-doit
Expand All @@ -645,10 +613,7 @@ operations:
name: selftests-get
doc: Get device selftest instances.
attribute-set: devlink
dont-validate:
- strict
- dump

dont-validate: [ strict, dump ]
do:
pre: devlink-nl-pre-doit
post: devlink-nl-post-doit
Expand Down

0 comments on commit 6cc8ad9

Please sign in to comment.