Commit f6ca5baf authored by Jakub Kicinski's avatar Jakub Kicinski

netlink: specs: ethtool: fix random typos

Working on the code gen for C reveals typos in the ethtool spec
as the compiler tries to find the names in the existing uAPI
header. Fix the mistakes.

Fixes: a353318e ("tools: ynl: populate most of the ethtool spec")
Acked-by: default avatarStanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/r/20230605233257.843977-1-kuba@kernel.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 42510dff
...@@ -223,7 +223,7 @@ attribute-sets: ...@@ -223,7 +223,7 @@ attribute-sets:
name: tx-min-frag-size name: tx-min-frag-size
type: u32 type: u32
- -
name: tx-min-frag-size name: rx-min-frag-size
type: u32 type: u32
- -
name: verify-enabled name: verify-enabled
...@@ -294,7 +294,7 @@ attribute-sets: ...@@ -294,7 +294,7 @@ attribute-sets:
name: master-slave-state name: master-slave-state
type: u8 type: u8
- -
name: master-slave-lanes name: lanes
type: u32 type: u32
- -
name: rate-matching name: rate-matching
...@@ -322,7 +322,7 @@ attribute-sets: ...@@ -322,7 +322,7 @@ attribute-sets:
name: ext-substate name: ext-substate
type: u8 type: u8
- -
name: down-cnt name: ext-down-cnt
type: u32 type: u32
- -
name: debug name: debug
...@@ -577,7 +577,7 @@ attribute-sets: ...@@ -577,7 +577,7 @@ attribute-sets:
name: phc-index name: phc-index
type: u32 type: u32
- -
name: cable-test-nft-nest-result name: cable-test-ntf-nest-result
attributes: attributes:
- -
name: pair name: pair
...@@ -586,7 +586,7 @@ attribute-sets: ...@@ -586,7 +586,7 @@ attribute-sets:
name: code name: code
type: u8 type: u8
- -
name: cable-test-nft-nest-fault-length name: cable-test-ntf-nest-fault-length
attributes: attributes:
- -
name: pair name: pair
...@@ -595,16 +595,16 @@ attribute-sets: ...@@ -595,16 +595,16 @@ attribute-sets:
name: cm name: cm
type: u32 type: u32
- -
name: cable-test-nft-nest name: cable-test-ntf-nest
attributes: attributes:
- -
name: result name: result
type: nest type: nest
nested-attributes: cable-test-nft-nest-result nested-attributes: cable-test-ntf-nest-result
- -
name: fault-length name: fault-length
type: nest type: nest
nested-attributes: cable-test-nft-nest-fault-length nested-attributes: cable-test-ntf-nest-fault-length
- -
name: cable-test name: cable-test
attributes: attributes:
...@@ -618,7 +618,7 @@ attribute-sets: ...@@ -618,7 +618,7 @@ attribute-sets:
- -
name: nest name: nest
type: nest type: nest
nested-attributes: cable-test-nft-nest nested-attributes: cable-test-ntf-nest
- -
name: cable-test-tdr-cfg name: cable-test-tdr-cfg
attributes: attributes:
...@@ -776,7 +776,7 @@ attribute-sets: ...@@ -776,7 +776,7 @@ attribute-sets:
name: hist-bkt-hi name: hist-bkt-hi
type: u32 type: u32
- -
name: hist-bkt-val name: hist-val
type: u64 type: u64
- -
name: stats name: stats
...@@ -965,7 +965,7 @@ operations: ...@@ -965,7 +965,7 @@ operations:
- duplex - duplex
- master-slave-cfg - master-slave-cfg
- master-slave-state - master-slave-state
- master-slave-lanes - lanes
- rate-matching - rate-matching
dump: *linkmodes-get-op dump: *linkmodes-get-op
- -
...@@ -999,7 +999,7 @@ operations: ...@@ -999,7 +999,7 @@ operations:
- sqi-max - sqi-max
- ext-state - ext-state
- ext-substate - ext-substate
- down-cnt - ext-down-cnt
dump: *linkstate-get-op dump: *linkstate-get-op
- -
name: debug-get name: debug-get
...@@ -1351,7 +1351,7 @@ operations: ...@@ -1351,7 +1351,7 @@ operations:
reply: reply:
attributes: attributes:
- header - header
- cable-test-nft-nest - cable-test-ntf-nest
- -
name: cable-test-tdr-act name: cable-test-tdr-act
doc: Cable test TDR. doc: Cable test TDR.
...@@ -1539,7 +1539,7 @@ operations: ...@@ -1539,7 +1539,7 @@ operations:
- hkey - hkey
dump: *rss-get-op dump: *rss-get-op
- -
name: plca-get name: plca-get-cfg
doc: Get PLCA params. doc: Get PLCA params.
attribute-set: plca attribute-set: plca
...@@ -1561,7 +1561,7 @@ operations: ...@@ -1561,7 +1561,7 @@ operations:
- burst-tmr - burst-tmr
dump: *plca-get-op dump: *plca-get-op
- -
name: plca-set name: plca-set-cfg
doc: Set PLCA params. doc: Set PLCA params.
attribute-set: plca attribute-set: plca
...@@ -1585,7 +1585,7 @@ operations: ...@@ -1585,7 +1585,7 @@ operations:
- -
name: plca-ntf name: plca-ntf
doc: Notification for change in PLCA params. doc: Notification for change in PLCA params.
notify: plca-get notify: plca-get-cfg
- -
name: mm-get name: mm-get
doc: Get MAC Merge configuration and state doc: Get MAC Merge configuration and state
......
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