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

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.us


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent c48066b0
Loading
Loading
Loading
Loading
+16 −51
Original line number Diff line number Diff line
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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