netlink: specs: fix up indentation errors

Clean up all indentation related errors reported by yamllint in the
netlink specs, e.g.

    error    wrong indentation: expected 6 but found 5  (indentation)

Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> # mptcp_pm.yaml
Link: https://patch.msgid.link/20250610125944.85265-6-donald.hunter@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
Donald Hunter 2025-06-10 13:59:42 +01:00 committed by Jakub Kicinski
parent 3c90fd2baa
commit ec362192aa
5 changed files with 125 additions and 125 deletions

View file

@ -195,17 +195,17 @@ attribute-sets:
- -
name: tuple-attrs name: tuple-attrs
attributes: attributes:
- -
name: tuple-ip name: tuple-ip
type: nest type: nest
nested-attributes: tuple-ip-attrs nested-attributes: tuple-ip-attrs
doc: conntrack l3 information doc: conntrack l3 information
- -
name: tuple-proto name: tuple-proto
type: nest type: nest
nested-attributes: tuple-proto-attrs nested-attributes: tuple-proto-attrs
doc: conntrack l4 information doc: conntrack l4 information
- -
name: tuple-zone name: tuple-zone
type: u16 type: u16
byte-order: big-endian byte-order: big-endian
@ -213,74 +213,74 @@ attribute-sets:
- -
name: protoinfo-tcp-attrs name: protoinfo-tcp-attrs
attributes: attributes:
- -
name: tcp-state name: tcp-state
type: u8 type: u8
enum: nf-ct-tcp-state enum: nf-ct-tcp-state
doc: tcp connection state doc: tcp connection state
- -
name: tcp-wscale-original name: tcp-wscale-original
type: u8 type: u8
doc: window scaling factor in original direction doc: window scaling factor in original direction
- -
name: tcp-wscale-reply name: tcp-wscale-reply
type: u8 type: u8
doc: window scaling factor in reply direction doc: window scaling factor in reply direction
- -
name: tcp-flags-original name: tcp-flags-original
type: binary type: binary
struct: nf-ct-tcp-flags-mask struct: nf-ct-tcp-flags-mask
- -
name: tcp-flags-reply name: tcp-flags-reply
type: binary type: binary
struct: nf-ct-tcp-flags-mask struct: nf-ct-tcp-flags-mask
- -
name: protoinfo-dccp-attrs name: protoinfo-dccp-attrs
attributes: attributes:
- -
name: dccp-state name: dccp-state
type: u8 type: u8
doc: dccp connection state doc: dccp connection state
- -
name: dccp-role name: dccp-role
type: u8 type: u8
- -
name: dccp-handshake-seq name: dccp-handshake-seq
type: u64 type: u64
byte-order: big-endian byte-order: big-endian
- -
name: dccp-pad name: dccp-pad
type: pad type: pad
- -
name: protoinfo-sctp-attrs name: protoinfo-sctp-attrs
attributes: attributes:
- -
name: sctp-state name: sctp-state
type: u8 type: u8
doc: sctp connection state doc: sctp connection state
enum: nf-ct-sctp-state enum: nf-ct-sctp-state
- -
name: vtag-original name: vtag-original
type: u32 type: u32
byte-order: big-endian byte-order: big-endian
- -
name: vtag-reply name: vtag-reply
type: u32 type: u32
byte-order: big-endian byte-order: big-endian
- -
name: protoinfo-attrs name: protoinfo-attrs
attributes: attributes:
- -
name: protoinfo-tcp name: protoinfo-tcp
type: nest type: nest
nested-attributes: protoinfo-tcp-attrs nested-attributes: protoinfo-tcp-attrs
doc: conntrack tcp state information doc: conntrack tcp state information
- -
name: protoinfo-dccp name: protoinfo-dccp
type: nest type: nest
nested-attributes: protoinfo-dccp-attrs nested-attributes: protoinfo-dccp-attrs
doc: conntrack dccp state information doc: conntrack dccp state information
- -
name: protoinfo-sctp name: protoinfo-sctp
type: nest type: nest
nested-attributes: protoinfo-sctp-attrs nested-attributes: protoinfo-sctp-attrs

View file

@ -812,14 +812,14 @@ attribute-sets:
name: rate-parent-node-name name: rate-parent-node-name
type: string type: string
- -
name: region-max-snapshots name: region-max-snapshots
type: u32 type: u32
- -
name: linecard-index name: linecard-index
type: u32 type: u32
- -
name: linecard-state name: linecard-state
type: u8 type: u8
- -
name: linecard-type name: linecard-type
type: string type: string

View file

@ -60,33 +60,33 @@ definitions:
name-prefix: ethtool-c33-pse-ext-state- name-prefix: ethtool-c33-pse-ext-state-
header: linux/ethtool.h header: linux/ethtool.h
entries: entries:
- -
name: none name: none
doc: none doc: none
- -
name: error-condition name: error-condition
doc: Group of error_condition states doc: Group of error_condition states
- -
name: mr-mps-valid name: mr-mps-valid
doc: Group of mr_mps_valid states doc: Group of mr_mps_valid states
- -
name: mr-pse-enable name: mr-pse-enable
doc: Group of mr_pse_enable states doc: Group of mr_pse_enable states
- -
name: option-detect-ted name: option-detect-ted
doc: Group of option_detect_ted states doc: Group of option_detect_ted states
- -
name: option-vport-lim name: option-vport-lim
doc: Group of option_vport_lim states doc: Group of option_vport_lim states
- -
name: ovld-detected name: ovld-detected
doc: Group of ovld_detected states doc: Group of ovld_detected states
- -
name: power-not-available name: power-not-available
doc: Group of power_not_available states doc: Group of power_not_available states
- -
name: short-detected name: short-detected
doc: Group of short_detected states doc: Group of short_detected states
- -
name: phy-upstream-type name: phy-upstream-type
enum-name: phy-upstream enum-name: phy-upstream

View file

@ -17,72 +17,72 @@ definitions:
enum-name: mptcp-event-type enum-name: mptcp-event-type
name-prefix: mptcp-event- name-prefix: mptcp-event-
entries: entries:
- -
name: unspec name: unspec
doc: unused event doc: unused event
- -
name: created name: created
doc: >- doc: >-
A new MPTCP connection has been created. It is the good time to A new MPTCP connection has been created. It is the good time to
allocate memory and send ADD_ADDR if needed. Depending on the allocate memory and send ADD_ADDR if needed. Depending on the
traffic-patterns it can take a long time until the traffic-patterns it can take a long time until the
MPTCP_EVENT_ESTABLISHED is sent. MPTCP_EVENT_ESTABLISHED is sent.
Attributes: token, family, saddr4 | saddr6, daddr4 | daddr6, sport, Attributes: token, family, saddr4 | saddr6, daddr4 | daddr6, sport,
dport, server-side. dport, server-side.
- -
name: established name: established
doc: >- doc: >-
A MPTCP connection is established (can start new subflows). A MPTCP connection is established (can start new subflows).
Attributes: token, family, saddr4 | saddr6, daddr4 | daddr6, sport, Attributes: token, family, saddr4 | saddr6, daddr4 | daddr6, sport,
dport, server-side. dport, server-side.
- -
name: closed name: closed
doc: >- doc: >-
A MPTCP connection has stopped. A MPTCP connection has stopped.
Attribute: token. Attribute: token.
- -
name: announced name: announced
value: 6 value: 6
doc: >- doc: >-
A new address has been announced by the peer. A new address has been announced by the peer.
Attributes: token, rem_id, family, daddr4 | daddr6 [, dport]. Attributes: token, rem_id, family, daddr4 | daddr6 [, dport].
- -
name: removed name: removed
doc: >- doc: >-
An address has been lost by the peer. An address has been lost by the peer.
Attributes: token, rem_id. Attributes: token, rem_id.
- -
name: sub-established name: sub-established
value: 10 value: 10
doc: >- doc: >-
A new subflow has been established. 'error' should not be set. A new subflow has been established. 'error' should not be set.
Attributes: token, family, loc_id, rem_id, saddr4 | saddr6, daddr4 | Attributes: token, family, loc_id, rem_id, saddr4 | saddr6, daddr4 |
daddr6, sport, dport, backup, if_idx [, error]. daddr6, sport, dport, backup, if_idx [, error].
- -
name: sub-closed name: sub-closed
doc: >- doc: >-
A subflow has been closed. An error (copy of sk_err) could be set if an A subflow has been closed. An error (copy of sk_err) could be set if an
error has been detected for this subflow. error has been detected for this subflow.
Attributes: token, family, loc_id, rem_id, saddr4 | saddr6, daddr4 | Attributes: token, family, loc_id, rem_id, saddr4 | saddr6, daddr4 |
daddr6, sport, dport, backup, if_idx [, error]. daddr6, sport, dport, backup, if_idx [, error].
- -
name: sub-priority name: sub-priority
value: 13 value: 13
doc: >- doc: >-
The priority of a subflow has changed. 'error' should not be set. The priority of a subflow has changed. 'error' should not be set.
Attributes: token, family, loc_id, rem_id, saddr4 | saddr6, daddr4 | Attributes: token, family, loc_id, rem_id, saddr4 | saddr6, daddr4 |
daddr6, sport, dport, backup, if_idx [, error]. daddr6, sport, dport, backup, if_idx [, error].
- -
name: listener-created name: listener-created
value: 15 value: 15
doc: >- doc: >-
A new PM listener is created. A new PM listener is created.
Attributes: family, sport, saddr4 | saddr6. Attributes: family, sport, saddr4 | saddr6.
- -
name: listener-closed name: listener-closed
doc: >- doc: >-
A PM listener is closed. A PM listener is closed.
Attributes: family, sport, saddr4 | saddr6. Attributes: family, sport, saddr4 | saddr6.
attribute-sets: attribute-sets:
- -
@ -298,15 +298,15 @@ operations:
do: &get-addr-attrs do: &get-addr-attrs
request: request:
attributes: attributes:
- addr - addr
- token - token
reply: reply:
attributes: attributes:
- addr - addr
dump: dump:
reply: reply:
attributes: attributes:
- addr - addr
- -
name: flush-addrs name: flush-addrs
doc: Flush addresses doc: Flush addresses
@ -332,7 +332,7 @@ operations:
dont-validate: [strict] dont-validate: [strict]
do: &mptcp-get-limits do: &mptcp-get-limits
request: request:
attributes: attributes:
- rcv-add-addrs - rcv-add-addrs
- subflows - subflows
reply: reply:
@ -370,9 +370,9 @@ operations:
flags: [uns-admin-perm] flags: [uns-admin-perm]
do: do:
request: request:
attributes: attributes:
- token - token
- loc-id - loc-id
- -
name: subflow-create name: subflow-create
doc: Create subflow doc: Create subflow

View file

@ -31,7 +31,7 @@ definitions:
- -
name: hw-offload name: hw-offload
doc: doc:
This feature informs if netdev supports XDP hw offloading. This feature informs if netdev supports XDP hw offloading.
- -
name: rx-sg name: rx-sg
doc: doc: