Commit 6cc8ad97 authored by Jiri Pirko's avatar Jiri Pirko Committed by Jakub Kicinski

netlink: specs: devlink: make dont-validate single line

Make dont-validate field more compact and push it into a single line.
Reviewed-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarJiri Pirko <jiri@nvidia.com>
Reviewed-by: default avatarJacob Keller <jacob.e.keller@intel.com>
Link: https://lore.kernel.org/r/20231021112711.660606-6-jiri@resnulli.usSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent c48066b0
...@@ -245,10 +245,7 @@ operations: ...@@ -245,10 +245,7 @@ operations:
name: get name: get
doc: Get devlink instances. doc: Get devlink instances.
attribute-set: devlink attribute-set: devlink
dont-validate: dont-validate: [ strict, dump ]
- strict
- dump
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
...@@ -271,9 +268,7 @@ operations: ...@@ -271,9 +268,7 @@ operations:
name: port-get name: port-get
doc: Get devlink port instances. doc: Get devlink port instances.
attribute-set: devlink attribute-set: devlink
dont-validate: dont-validate: [ strict ]
- strict
do: do:
pre: devlink-nl-pre-doit-port pre: devlink-nl-pre-doit-port
post: devlink-nl-post-doit post: devlink-nl-post-doit
...@@ -299,9 +294,7 @@ operations: ...@@ -299,9 +294,7 @@ operations:
name: sb-get name: sb-get
doc: Get shared buffer instances. doc: Get shared buffer instances.
attribute-set: devlink attribute-set: devlink
dont-validate: dont-validate: [ strict ]
- strict
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
...@@ -325,9 +318,7 @@ operations: ...@@ -325,9 +318,7 @@ operations:
name: sb-pool-get name: sb-pool-get
doc: Get shared buffer pool instances. doc: Get shared buffer pool instances.
attribute-set: devlink attribute-set: devlink
dont-validate: dont-validate: [ strict ]
- strict
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
...@@ -352,9 +343,7 @@ operations: ...@@ -352,9 +343,7 @@ operations:
name: sb-port-pool-get name: sb-port-pool-get
doc: Get shared buffer port-pool combinations and threshold. doc: Get shared buffer port-pool combinations and threshold.
attribute-set: devlink attribute-set: devlink
dont-validate: dont-validate: [ strict ]
- strict
do: do:
pre: devlink-nl-pre-doit-port pre: devlink-nl-pre-doit-port
post: devlink-nl-post-doit post: devlink-nl-post-doit
...@@ -380,9 +369,7 @@ operations: ...@@ -380,9 +369,7 @@ operations:
name: sb-tc-pool-bind-get name: sb-tc-pool-bind-get
doc: Get shared buffer port-TC to pool bindings and threshold. doc: Get shared buffer port-TC to pool bindings and threshold.
attribute-set: devlink attribute-set: devlink
dont-validate: dont-validate: [ strict ]
- strict
do: do:
pre: devlink-nl-pre-doit-port pre: devlink-nl-pre-doit-port
post: devlink-nl-post-doit post: devlink-nl-post-doit
...@@ -409,9 +396,7 @@ operations: ...@@ -409,9 +396,7 @@ operations:
name: param-get name: param-get
doc: Get param instances. doc: Get param instances.
attribute-set: devlink attribute-set: devlink
dont-validate: dont-validate: [ strict ]
- strict
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
...@@ -435,9 +420,7 @@ operations: ...@@ -435,9 +420,7 @@ operations:
name: region-get name: region-get
doc: Get region instances. doc: Get region instances.
attribute-set: devlink attribute-set: devlink
dont-validate: dont-validate: [ strict ]
- strict
do: do:
pre: devlink-nl-pre-doit-port-optional pre: devlink-nl-pre-doit-port-optional
post: devlink-nl-post-doit post: devlink-nl-post-doit
...@@ -462,10 +445,7 @@ operations: ...@@ -462,10 +445,7 @@ operations:
name: info-get name: info-get
doc: Get device information, like driver name, hardware and firmware versions etc. doc: Get device information, like driver name, hardware and firmware versions etc.
attribute-set: devlink attribute-set: devlink
dont-validate: dont-validate: [ strict, dump ]
- strict
- dump
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
...@@ -489,9 +469,7 @@ operations: ...@@ -489,9 +469,7 @@ operations:
name: health-reporter-get name: health-reporter-get
doc: Get health reporter instances. doc: Get health reporter instances.
attribute-set: devlink attribute-set: devlink
dont-validate: dont-validate: [ strict ]
- strict
do: do:
pre: devlink-nl-pre-doit-port-optional pre: devlink-nl-pre-doit-port-optional
post: devlink-nl-post-doit post: devlink-nl-post-doit
...@@ -514,9 +492,7 @@ operations: ...@@ -514,9 +492,7 @@ operations:
name: trap-get name: trap-get
doc: Get trap instances. doc: Get trap instances.
attribute-set: devlink attribute-set: devlink
dont-validate: dont-validate: [ strict ]
- strict
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
...@@ -540,9 +516,7 @@ operations: ...@@ -540,9 +516,7 @@ operations:
name: trap-group-get name: trap-group-get
doc: Get trap group instances. doc: Get trap group instances.
attribute-set: devlink attribute-set: devlink
dont-validate: dont-validate: [ strict ]
- strict
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
...@@ -566,9 +540,7 @@ operations: ...@@ -566,9 +540,7 @@ operations:
name: trap-policer-get name: trap-policer-get
doc: Get trap policer instances. doc: Get trap policer instances.
attribute-set: devlink attribute-set: devlink
dont-validate: dont-validate: [ strict ]
- strict
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
...@@ -592,9 +564,7 @@ operations: ...@@ -592,9 +564,7 @@ operations:
name: rate-get name: rate-get
doc: Get rate instances. doc: Get rate instances.
attribute-set: devlink attribute-set: devlink
dont-validate: dont-validate: [ strict ]
- strict
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
...@@ -619,9 +589,7 @@ operations: ...@@ -619,9 +589,7 @@ operations:
name: linecard-get name: linecard-get
doc: Get line card instances. doc: Get line card instances.
attribute-set: devlink attribute-set: devlink
dont-validate: dont-validate: [ strict ]
- strict
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
...@@ -645,10 +613,7 @@ operations: ...@@ -645,10 +613,7 @@ operations:
name: selftests-get name: selftests-get
doc: Get device selftest instances. doc: Get device selftest instances.
attribute-set: devlink attribute-set: devlink
dont-validate: dont-validate: [ strict, dump ]
- strict
- dump
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment