Skip to content

Commit f6ca5ba

Browse files
committed
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: a353318 ("tools: ynl: populate most of the ethtool spec") Acked-by: Stanislav Fomichev <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 42510df commit f6ca5ba

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

Documentation/netlink/specs/ethtool.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ attribute-sets:
223223
name: tx-min-frag-size
224224
type: u32
225225
-
226-
name: tx-min-frag-size
226+
name: rx-min-frag-size
227227
type: u32
228228
-
229229
name: verify-enabled
@@ -294,7 +294,7 @@ attribute-sets:
294294
name: master-slave-state
295295
type: u8
296296
-
297-
name: master-slave-lanes
297+
name: lanes
298298
type: u32
299299
-
300300
name: rate-matching
@@ -322,7 +322,7 @@ attribute-sets:
322322
name: ext-substate
323323
type: u8
324324
-
325-
name: down-cnt
325+
name: ext-down-cnt
326326
type: u32
327327
-
328328
name: debug
@@ -577,7 +577,7 @@ attribute-sets:
577577
name: phc-index
578578
type: u32
579579
-
580-
name: cable-test-nft-nest-result
580+
name: cable-test-ntf-nest-result
581581
attributes:
582582
-
583583
name: pair
@@ -586,7 +586,7 @@ attribute-sets:
586586
name: code
587587
type: u8
588588
-
589-
name: cable-test-nft-nest-fault-length
589+
name: cable-test-ntf-nest-fault-length
590590
attributes:
591591
-
592592
name: pair
@@ -595,16 +595,16 @@ attribute-sets:
595595
name: cm
596596
type: u32
597597
-
598-
name: cable-test-nft-nest
598+
name: cable-test-ntf-nest
599599
attributes:
600600
-
601601
name: result
602602
type: nest
603-
nested-attributes: cable-test-nft-nest-result
603+
nested-attributes: cable-test-ntf-nest-result
604604
-
605605
name: fault-length
606606
type: nest
607-
nested-attributes: cable-test-nft-nest-fault-length
607+
nested-attributes: cable-test-ntf-nest-fault-length
608608
-
609609
name: cable-test
610610
attributes:
@@ -618,7 +618,7 @@ attribute-sets:
618618
-
619619
name: nest
620620
type: nest
621-
nested-attributes: cable-test-nft-nest
621+
nested-attributes: cable-test-ntf-nest
622622
-
623623
name: cable-test-tdr-cfg
624624
attributes:
@@ -776,7 +776,7 @@ attribute-sets:
776776
name: hist-bkt-hi
777777
type: u32
778778
-
779-
name: hist-bkt-val
779+
name: hist-val
780780
type: u64
781781
-
782782
name: stats
@@ -965,7 +965,7 @@ operations:
965965
- duplex
966966
- master-slave-cfg
967967
- master-slave-state
968-
- master-slave-lanes
968+
- lanes
969969
- rate-matching
970970
dump: *linkmodes-get-op
971971
-
@@ -999,7 +999,7 @@ operations:
999999
- sqi-max
10001000
- ext-state
10011001
- ext-substate
1002-
- down-cnt
1002+
- ext-down-cnt
10031003
dump: *linkstate-get-op
10041004
-
10051005
name: debug-get
@@ -1351,7 +1351,7 @@ operations:
13511351
reply:
13521352
attributes:
13531353
- header
1354-
- cable-test-nft-nest
1354+
- cable-test-ntf-nest
13551355
-
13561356
name: cable-test-tdr-act
13571357
doc: Cable test TDR.
@@ -1539,7 +1539,7 @@ operations:
15391539
- hkey
15401540
dump: *rss-get-op
15411541
-
1542-
name: plca-get
1542+
name: plca-get-cfg
15431543
doc: Get PLCA params.
15441544

15451545
attribute-set: plca
@@ -1561,7 +1561,7 @@ operations:
15611561
- burst-tmr
15621562
dump: *plca-get-op
15631563
-
1564-
name: plca-set
1564+
name: plca-set-cfg
15651565
doc: Set PLCA params.
15661566

15671567
attribute-set: plca
@@ -1585,7 +1585,7 @@ operations:
15851585
-
15861586
name: plca-ntf
15871587
doc: Notification for change in PLCA params.
1588-
notify: plca-get
1588+
notify: plca-get-cfg
15891589
-
15901590
name: mm-get
15911591
doc: Get MAC Merge configuration and state

0 commit comments

Comments
 (0)