mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-08-16 06:53:33 +00:00
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:
parent
3c90fd2baa
commit
ec362192aa
@ -195,17 +195,17 @@ attribute-sets:
|
||||
-
|
||||
name: tuple-attrs
|
||||
attributes:
|
||||
-
|
||||
-
|
||||
name: tuple-ip
|
||||
type: nest
|
||||
nested-attributes: tuple-ip-attrs
|
||||
doc: conntrack l3 information
|
||||
-
|
||||
-
|
||||
name: tuple-proto
|
||||
type: nest
|
||||
nested-attributes: tuple-proto-attrs
|
||||
doc: conntrack l4 information
|
||||
-
|
||||
-
|
||||
name: tuple-zone
|
||||
type: u16
|
||||
byte-order: big-endian
|
||||
@ -213,74 +213,74 @@ attribute-sets:
|
||||
-
|
||||
name: protoinfo-tcp-attrs
|
||||
attributes:
|
||||
-
|
||||
-
|
||||
name: tcp-state
|
||||
type: u8
|
||||
enum: nf-ct-tcp-state
|
||||
doc: tcp connection state
|
||||
-
|
||||
-
|
||||
name: tcp-wscale-original
|
||||
type: u8
|
||||
doc: window scaling factor in original direction
|
||||
-
|
||||
-
|
||||
name: tcp-wscale-reply
|
||||
type: u8
|
||||
doc: window scaling factor in reply direction
|
||||
-
|
||||
-
|
||||
name: tcp-flags-original
|
||||
type: binary
|
||||
struct: nf-ct-tcp-flags-mask
|
||||
-
|
||||
-
|
||||
name: tcp-flags-reply
|
||||
type: binary
|
||||
struct: nf-ct-tcp-flags-mask
|
||||
-
|
||||
name: protoinfo-dccp-attrs
|
||||
attributes:
|
||||
-
|
||||
-
|
||||
name: dccp-state
|
||||
type: u8
|
||||
doc: dccp connection state
|
||||
-
|
||||
-
|
||||
name: dccp-role
|
||||
type: u8
|
||||
-
|
||||
-
|
||||
name: dccp-handshake-seq
|
||||
type: u64
|
||||
byte-order: big-endian
|
||||
-
|
||||
-
|
||||
name: dccp-pad
|
||||
type: pad
|
||||
-
|
||||
name: protoinfo-sctp-attrs
|
||||
attributes:
|
||||
-
|
||||
-
|
||||
name: sctp-state
|
||||
type: u8
|
||||
doc: sctp connection state
|
||||
enum: nf-ct-sctp-state
|
||||
-
|
||||
-
|
||||
name: vtag-original
|
||||
type: u32
|
||||
byte-order: big-endian
|
||||
-
|
||||
-
|
||||
name: vtag-reply
|
||||
type: u32
|
||||
byte-order: big-endian
|
||||
-
|
||||
name: protoinfo-attrs
|
||||
attributes:
|
||||
-
|
||||
-
|
||||
name: protoinfo-tcp
|
||||
type: nest
|
||||
nested-attributes: protoinfo-tcp-attrs
|
||||
doc: conntrack tcp state information
|
||||
-
|
||||
-
|
||||
name: protoinfo-dccp
|
||||
type: nest
|
||||
nested-attributes: protoinfo-dccp-attrs
|
||||
doc: conntrack dccp state information
|
||||
-
|
||||
-
|
||||
name: protoinfo-sctp
|
||||
type: nest
|
||||
nested-attributes: protoinfo-sctp-attrs
|
||||
|
@ -812,14 +812,14 @@ attribute-sets:
|
||||
name: rate-parent-node-name
|
||||
type: string
|
||||
-
|
||||
name: region-max-snapshots
|
||||
type: u32
|
||||
name: region-max-snapshots
|
||||
type: u32
|
||||
-
|
||||
name: linecard-index
|
||||
type: u32
|
||||
-
|
||||
name: linecard-state
|
||||
type: u8
|
||||
name: linecard-state
|
||||
type: u8
|
||||
-
|
||||
name: linecard-type
|
||||
type: string
|
||||
|
@ -60,33 +60,33 @@ definitions:
|
||||
name-prefix: ethtool-c33-pse-ext-state-
|
||||
header: linux/ethtool.h
|
||||
entries:
|
||||
-
|
||||
name: none
|
||||
doc: none
|
||||
-
|
||||
name: error-condition
|
||||
doc: Group of error_condition states
|
||||
-
|
||||
name: mr-mps-valid
|
||||
doc: Group of mr_mps_valid states
|
||||
-
|
||||
name: mr-pse-enable
|
||||
doc: Group of mr_pse_enable states
|
||||
-
|
||||
name: option-detect-ted
|
||||
doc: Group of option_detect_ted states
|
||||
-
|
||||
name: option-vport-lim
|
||||
doc: Group of option_vport_lim states
|
||||
-
|
||||
name: ovld-detected
|
||||
doc: Group of ovld_detected states
|
||||
-
|
||||
name: power-not-available
|
||||
doc: Group of power_not_available states
|
||||
-
|
||||
name: short-detected
|
||||
doc: Group of short_detected states
|
||||
-
|
||||
name: none
|
||||
doc: none
|
||||
-
|
||||
name: error-condition
|
||||
doc: Group of error_condition states
|
||||
-
|
||||
name: mr-mps-valid
|
||||
doc: Group of mr_mps_valid states
|
||||
-
|
||||
name: mr-pse-enable
|
||||
doc: Group of mr_pse_enable states
|
||||
-
|
||||
name: option-detect-ted
|
||||
doc: Group of option_detect_ted states
|
||||
-
|
||||
name: option-vport-lim
|
||||
doc: Group of option_vport_lim states
|
||||
-
|
||||
name: ovld-detected
|
||||
doc: Group of ovld_detected states
|
||||
-
|
||||
name: power-not-available
|
||||
doc: Group of power_not_available states
|
||||
-
|
||||
name: short-detected
|
||||
doc: Group of short_detected states
|
||||
-
|
||||
name: phy-upstream-type
|
||||
enum-name: phy-upstream
|
||||
|
@ -17,72 +17,72 @@ definitions:
|
||||
enum-name: mptcp-event-type
|
||||
name-prefix: mptcp-event-
|
||||
entries:
|
||||
-
|
||||
name: unspec
|
||||
doc: unused event
|
||||
-
|
||||
name: created
|
||||
doc: >-
|
||||
A new MPTCP connection has been created. It is the good time to
|
||||
allocate memory and send ADD_ADDR if needed. Depending on the
|
||||
traffic-patterns it can take a long time until the
|
||||
MPTCP_EVENT_ESTABLISHED is sent.
|
||||
Attributes: token, family, saddr4 | saddr6, daddr4 | daddr6, sport,
|
||||
dport, server-side.
|
||||
-
|
||||
name: established
|
||||
doc: >-
|
||||
A MPTCP connection is established (can start new subflows).
|
||||
Attributes: token, family, saddr4 | saddr6, daddr4 | daddr6, sport,
|
||||
dport, server-side.
|
||||
-
|
||||
name: closed
|
||||
doc: >-
|
||||
A MPTCP connection has stopped.
|
||||
Attribute: token.
|
||||
-
|
||||
name: announced
|
||||
value: 6
|
||||
doc: >-
|
||||
A new address has been announced by the peer.
|
||||
Attributes: token, rem_id, family, daddr4 | daddr6 [, dport].
|
||||
-
|
||||
name: removed
|
||||
doc: >-
|
||||
An address has been lost by the peer.
|
||||
Attributes: token, rem_id.
|
||||
-
|
||||
name: sub-established
|
||||
value: 10
|
||||
doc: >-
|
||||
A new subflow has been established. 'error' should not be set.
|
||||
Attributes: token, family, loc_id, rem_id, saddr4 | saddr6, daddr4 |
|
||||
daddr6, sport, dport, backup, if_idx [, error].
|
||||
-
|
||||
name: sub-closed
|
||||
doc: >-
|
||||
A subflow has been closed. An error (copy of sk_err) could be set if an
|
||||
error has been detected for this subflow.
|
||||
Attributes: token, family, loc_id, rem_id, saddr4 | saddr6, daddr4 |
|
||||
daddr6, sport, dport, backup, if_idx [, error].
|
||||
-
|
||||
name: sub-priority
|
||||
value: 13
|
||||
doc: >-
|
||||
The priority of a subflow has changed. 'error' should not be set.
|
||||
Attributes: token, family, loc_id, rem_id, saddr4 | saddr6, daddr4 |
|
||||
daddr6, sport, dport, backup, if_idx [, error].
|
||||
-
|
||||
name: listener-created
|
||||
value: 15
|
||||
doc: >-
|
||||
A new PM listener is created.
|
||||
Attributes: family, sport, saddr4 | saddr6.
|
||||
-
|
||||
name: listener-closed
|
||||
doc: >-
|
||||
A PM listener is closed.
|
||||
Attributes: family, sport, saddr4 | saddr6.
|
||||
-
|
||||
name: unspec
|
||||
doc: unused event
|
||||
-
|
||||
name: created
|
||||
doc: >-
|
||||
A new MPTCP connection has been created. It is the good time to
|
||||
allocate memory and send ADD_ADDR if needed. Depending on the
|
||||
traffic-patterns it can take a long time until the
|
||||
MPTCP_EVENT_ESTABLISHED is sent.
|
||||
Attributes: token, family, saddr4 | saddr6, daddr4 | daddr6, sport,
|
||||
dport, server-side.
|
||||
-
|
||||
name: established
|
||||
doc: >-
|
||||
A MPTCP connection is established (can start new subflows).
|
||||
Attributes: token, family, saddr4 | saddr6, daddr4 | daddr6, sport,
|
||||
dport, server-side.
|
||||
-
|
||||
name: closed
|
||||
doc: >-
|
||||
A MPTCP connection has stopped.
|
||||
Attribute: token.
|
||||
-
|
||||
name: announced
|
||||
value: 6
|
||||
doc: >-
|
||||
A new address has been announced by the peer.
|
||||
Attributes: token, rem_id, family, daddr4 | daddr6 [, dport].
|
||||
-
|
||||
name: removed
|
||||
doc: >-
|
||||
An address has been lost by the peer.
|
||||
Attributes: token, rem_id.
|
||||
-
|
||||
name: sub-established
|
||||
value: 10
|
||||
doc: >-
|
||||
A new subflow has been established. 'error' should not be set.
|
||||
Attributes: token, family, loc_id, rem_id, saddr4 | saddr6, daddr4 |
|
||||
daddr6, sport, dport, backup, if_idx [, error].
|
||||
-
|
||||
name: sub-closed
|
||||
doc: >-
|
||||
A subflow has been closed. An error (copy of sk_err) could be set if an
|
||||
error has been detected for this subflow.
|
||||
Attributes: token, family, loc_id, rem_id, saddr4 | saddr6, daddr4 |
|
||||
daddr6, sport, dport, backup, if_idx [, error].
|
||||
-
|
||||
name: sub-priority
|
||||
value: 13
|
||||
doc: >-
|
||||
The priority of a subflow has changed. 'error' should not be set.
|
||||
Attributes: token, family, loc_id, rem_id, saddr4 | saddr6, daddr4 |
|
||||
daddr6, sport, dport, backup, if_idx [, error].
|
||||
-
|
||||
name: listener-created
|
||||
value: 15
|
||||
doc: >-
|
||||
A new PM listener is created.
|
||||
Attributes: family, sport, saddr4 | saddr6.
|
||||
-
|
||||
name: listener-closed
|
||||
doc: >-
|
||||
A PM listener is closed.
|
||||
Attributes: family, sport, saddr4 | saddr6.
|
||||
|
||||
attribute-sets:
|
||||
-
|
||||
@ -298,15 +298,15 @@ operations:
|
||||
do: &get-addr-attrs
|
||||
request:
|
||||
attributes:
|
||||
- addr
|
||||
- token
|
||||
- addr
|
||||
- token
|
||||
reply:
|
||||
attributes:
|
||||
- addr
|
||||
- addr
|
||||
dump:
|
||||
reply:
|
||||
attributes:
|
||||
- addr
|
||||
attributes:
|
||||
- addr
|
||||
-
|
||||
name: flush-addrs
|
||||
doc: Flush addresses
|
||||
@ -332,7 +332,7 @@ operations:
|
||||
dont-validate: [strict]
|
||||
do: &mptcp-get-limits
|
||||
request:
|
||||
attributes:
|
||||
attributes:
|
||||
- rcv-add-addrs
|
||||
- subflows
|
||||
reply:
|
||||
@ -370,9 +370,9 @@ operations:
|
||||
flags: [uns-admin-perm]
|
||||
do:
|
||||
request:
|
||||
attributes:
|
||||
- token
|
||||
- loc-id
|
||||
attributes:
|
||||
- token
|
||||
- loc-id
|
||||
-
|
||||
name: subflow-create
|
||||
doc: Create subflow
|
||||
|
@ -31,7 +31,7 @@ definitions:
|
||||
-
|
||||
name: hw-offload
|
||||
doc:
|
||||
This feature informs if netdev supports XDP hw offloading.
|
||||
This feature informs if netdev supports XDP hw offloading.
|
||||
-
|
||||
name: rx-sg
|
||||
doc:
|
||||
|
Loading…
Reference in New Issue
Block a user