arm64: dts: qcom: sm8550: add TRNG node
[linux-modified.git] / Documentation / netlink / specs / ethtool.yaml
1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2
3 name: ethtool
4
5 protocol: genetlink-legacy
6
7 doc: Partial family for Ethtool Netlink.
8
9 definitions:
10   -
11     name: udp-tunnel-type
12     enum-name:
13     type: enum
14     entries: [ vxlan, geneve, vxlan-gpe ]
15   -
16     name: stringset
17     type: enum
18     entries: []
19
20 attribute-sets:
21   -
22     name: header
23     attributes:
24       -
25         name: dev-index
26         type: u32
27       -
28         name: dev-name
29         type: string
30       -
31         name: flags
32         type: u32
33
34   -
35     name: bitset-bit
36     attributes:
37       -
38         name: index
39         type: u32
40       -
41         name: name
42         type: string
43       -
44         name: value
45         type: flag
46   -
47     name: bitset-bits
48     attributes:
49       -
50         name: bit
51         type: nest
52         multi-attr: true
53         nested-attributes: bitset-bit
54   -
55     name: bitset
56     attributes:
57       -
58         name: nomask
59         type: flag
60       -
61         name: size
62         type: u32
63       -
64         name: bits
65         type: nest
66         nested-attributes: bitset-bits
67
68   -
69     name: string
70     attributes:
71       -
72         name: index
73         type: u32
74       -
75         name: value
76         type: string
77   -
78     name: strings
79     attributes:
80       -
81         name: string
82         type: nest
83         multi-attr: true
84         nested-attributes: string
85   -
86     name: stringset
87     attributes:
88       -
89         name: id
90         type: u32
91       -
92         name: count
93         type: u32
94       -
95         name: strings
96         type: nest
97         multi-attr: true
98         nested-attributes: strings
99   -
100     name: stringsets
101     attributes:
102       -
103         name: stringset
104         type: nest
105         multi-attr: true
106         nested-attributes: stringset
107   -
108     name: strset
109     attributes:
110       -
111         name: header
112         type: nest
113         nested-attributes: header
114       -
115         name: stringsets
116         type: nest
117         nested-attributes: stringsets
118       -
119         name: counts-only
120         type: flag
121
122   -
123     name: privflags
124     attributes:
125       -
126         name: header
127         type: nest
128         nested-attributes: header
129       -
130         name: flags
131         type: nest
132         nested-attributes: bitset
133
134   -
135     name: rings
136     attributes:
137       -
138         name: header
139         type: nest
140         nested-attributes: header
141       -
142         name: rx-max
143         type: u32
144       -
145         name: rx-mini-max
146         type: u32
147       -
148         name: rx-jumbo-max
149         type: u32
150       -
151         name: tx-max
152         type: u32
153       -
154         name: rx
155         type: u32
156       -
157         name: rx-mini
158         type: u32
159       -
160         name: rx-jumbo
161         type: u32
162       -
163         name: tx
164         type: u32
165       -
166         name: rx-buf-len
167         type: u32
168       -
169         name: tcp-data-split
170         type: u8
171       -
172         name: cqe-size
173         type: u32
174       -
175         name: tx-push
176         type: u8
177       -
178         name: rx-push
179         type: u8
180       -
181         name: tx-push-buf-len
182         type: u32
183       -
184         name: tx-push-buf-len-max
185         type: u32
186
187   -
188     name: mm-stat
189     attributes:
190       -
191         name: pad
192         type: pad
193       -
194         name: reassembly-errors
195         type: u64
196       -
197         name: smd-errors
198         type: u64
199       -
200         name: reassembly-ok
201         type: u64
202       -
203         name: rx-frag-count
204         type: u64
205       -
206         name: tx-frag-count
207         type: u64
208       -
209         name: hold-count
210         type: u64
211   -
212     name: mm
213     attributes:
214       -
215         name: header
216         type: nest
217         nested-attributes: header
218       -
219         name: pmac-enabled
220         type: u8
221       -
222         name: tx-enabled
223         type: u8
224       -
225         name: tx-active
226         type: u8
227       -
228         name: tx-min-frag-size
229         type: u32
230       -
231         name: rx-min-frag-size
232         type: u32
233       -
234         name: verify-enabled
235         type: u8
236       -
237         name: verify-status
238         type: u8
239       -
240         name: verify-time
241         type: u32
242       -
243         name: max-verify-time
244         type: u32
245       -
246         name: stats
247         type: nest
248         nested-attributes: mm-stat
249   -
250     name: linkinfo
251     attributes:
252       -
253         name: header
254         type: nest
255         nested-attributes: header
256       -
257         name: port
258         type: u8
259       -
260         name: phyaddr
261         type: u8
262       -
263         name: tp-mdix
264         type: u8
265       -
266         name: tp-mdix-ctrl
267         type: u8
268       -
269         name: transceiver
270         type: u8
271   -
272     name: linkmodes
273     attributes:
274       -
275         name: header
276         type: nest
277         nested-attributes: header
278       -
279         name: autoneg
280         type: u8
281       -
282         name: ours
283         type: nest
284         nested-attributes: bitset
285       -
286         name: peer
287         type: nest
288         nested-attributes: bitset
289       -
290         name: speed
291         type: u32
292       -
293         name: duplex
294         type: u8
295       -
296         name: master-slave-cfg
297         type: u8
298       -
299         name: master-slave-state
300         type: u8
301       -
302         name: lanes
303         type: u32
304       -
305         name: rate-matching
306         type: u8
307   -
308     name: linkstate
309     attributes:
310       -
311         name: header
312         type: nest
313         nested-attributes: header
314       -
315         name: link
316         type: u8
317       -
318         name: sqi
319         type: u32
320       -
321         name: sqi-max
322         type: u32
323       -
324         name: ext-state
325         type: u8
326       -
327         name: ext-substate
328         type: u8
329       -
330         name: ext-down-cnt
331         type: u32
332   -
333     name: debug
334     attributes:
335       -
336         name: header
337         type: nest
338         nested-attributes: header
339       -
340         name: msgmask
341         type: nest
342         nested-attributes: bitset
343   -
344     name: wol
345     attributes:
346       -
347         name: header
348         type: nest
349         nested-attributes: header
350       -
351         name: modes
352         type: nest
353         nested-attributes: bitset
354       -
355         name: sopass
356         type: binary
357   -
358     name: features
359     attributes:
360       -
361         name: header
362         type: nest
363         nested-attributes: header
364       -
365         name: hw
366         type: nest
367         nested-attributes: bitset
368       -
369         name: wanted
370         type: nest
371         nested-attributes: bitset
372       -
373         name: active
374         type: nest
375         nested-attributes: bitset
376       -
377         name: nochange
378         type: nest
379         nested-attributes: bitset
380   -
381     name: channels
382     attributes:
383       -
384         name: header
385         type: nest
386         nested-attributes: header
387       -
388         name: rx-max
389         type: u32
390       -
391         name: tx-max
392         type: u32
393       -
394         name: other-max
395         type: u32
396       -
397         name: combined-max
398         type: u32
399       -
400         name: rx-count
401         type: u32
402       -
403         name: tx-count
404         type: u32
405       -
406         name: other-count
407         type: u32
408       -
409         name: combined-count
410         type: u32
411
412   -
413     name: coalesce
414     attributes:
415       -
416         name: header
417         type: nest
418         nested-attributes: header
419       -
420         name: rx-usecs
421         type: u32
422       -
423         name: rx-max-frames
424         type: u32
425       -
426         name: rx-usecs-irq
427         type: u32
428       -
429         name: rx-max-frames-irq
430         type: u32
431       -
432         name: tx-usecs
433         type: u32
434       -
435         name: tx-max-frames
436         type: u32
437       -
438         name: tx-usecs-irq
439         type: u32
440       -
441         name: tx-max-frames-irq
442         type: u32
443       -
444         name: stats-block-usecs
445         type: u32
446       -
447         name: use-adaptive-rx
448         type: u8
449       -
450         name: use-adaptive-tx
451         type: u8
452       -
453         name: pkt-rate-low
454         type: u32
455       -
456         name: rx-usecs-low
457         type: u32
458       -
459         name: rx-max-frames-low
460         type: u32
461       -
462         name: tx-usecs-low
463         type: u32
464       -
465         name: tx-max-frames-low
466         type: u32
467       -
468         name: pkt-rate-high
469         type: u32
470       -
471         name: rx-usecs-high
472         type: u32
473       -
474         name: rx-max-frames-high
475         type: u32
476       -
477         name: tx-usecs-high
478         type: u32
479       -
480         name: tx-max-frames-high
481         type: u32
482       -
483         name: rate-sample-interval
484         type: u32
485       -
486         name: use-cqe-mode-tx
487         type: u8
488       -
489         name: use-cqe-mode-rx
490         type: u8
491       -
492         name: tx-aggr-max-bytes
493         type: u32
494       -
495         name: tx-aggr-max-frames
496         type: u32
497       -
498         name: tx-aggr-time-usecs
499         type: u32
500   -
501     name: pause-stat
502     attributes:
503       -
504         name: pad
505         type: pad
506       -
507         name: tx-frames
508         type: u64
509       -
510         name: rx-frames
511         type: u64
512   -
513     name: pause
514     attributes:
515       -
516         name: header
517         type: nest
518         nested-attributes: header
519       -
520         name: autoneg
521         type: u8
522       -
523         name: rx
524         type: u8
525       -
526         name: tx
527         type: u8
528       -
529         name: stats
530         type: nest
531         nested-attributes: pause-stat
532       -
533         name: stats-src
534         type: u32
535   -
536     name: eee
537     attributes:
538       -
539         name: header
540         type: nest
541         nested-attributes: header
542       -
543         name: modes-ours
544         type: nest
545         nested-attributes: bitset
546       -
547         name: modes-peer
548         type: nest
549         nested-attributes: bitset
550       -
551         name: active
552         type: u8
553       -
554         name: enabled
555         type: u8
556       -
557         name: tx-lpi-enabled
558         type: u8
559       -
560         name: tx-lpi-timer
561         type: u32
562   -
563     name: tsinfo
564     attributes:
565       -
566         name: header
567         type: nest
568         nested-attributes: header
569       -
570         name: timestamping
571         type: nest
572         nested-attributes: bitset
573       -
574         name: tx-types
575         type: nest
576         nested-attributes: bitset
577       -
578         name: rx-filters
579         type: nest
580         nested-attributes: bitset
581       -
582         name: phc-index
583         type: u32
584   -
585     name: cable-result
586     attributes:
587       -
588         name: pair
589         type: u8
590       -
591         name: code
592         type: u8
593   -
594     name: cable-fault-length
595     attributes:
596       -
597         name: pair
598         type: u8
599       -
600         name: cm
601         type: u32
602   -
603     name: cable-nest
604     attributes:
605       -
606         name: result
607         type: nest
608         nested-attributes: cable-result
609       -
610         name: fault-length
611         type: nest
612         nested-attributes: cable-fault-length
613   -
614     name: cable-test
615     attributes:
616       -
617         name: header
618         type: nest
619         nested-attributes: header
620   -
621     name: cable-test-ntf
622     attributes:
623       -
624         name: header
625         type: nest
626         nested-attributes: header
627       -
628         name: status
629         type: u8
630       -
631         name: nest
632         type: nest
633         nested-attributes: cable-nest
634   -
635     name: cable-test-tdr-cfg
636     attributes:
637       -
638         name: first
639         type: u32
640       -
641         name: last
642         type: u32
643       -
644         name: step
645         type: u32
646       -
647         name: pair
648         type: u8
649   -
650     name: cable-test-tdr-ntf
651     attributes:
652       -
653         name: header
654         type: nest
655         nested-attributes: header
656       -
657         name: status
658         type: u8
659       -
660         name: nest
661         type: nest
662         nested-attributes: cable-nest
663   -
664     name: cable-test-tdr
665     attributes:
666       -
667         name: header
668         type: nest
669         nested-attributes: header
670       -
671         name: cfg
672         type: nest
673         nested-attributes: cable-test-tdr-cfg
674   -
675     name: tunnel-udp-entry
676     attributes:
677       -
678         name: port
679         type: u16
680         byte-order: big-endian
681       -
682         name: type
683         type: u32
684         enum: udp-tunnel-type
685   -
686     name: tunnel-udp-table
687     attributes:
688       -
689         name: size
690         type: u32
691       -
692         name: types
693         type: nest
694         nested-attributes: bitset
695       -
696         name: entry
697         type: nest
698         multi-attr: true
699         nested-attributes: tunnel-udp-entry
700   -
701     name: tunnel-udp
702     attributes:
703       -
704         name: table
705         type: nest
706         nested-attributes: tunnel-udp-table
707   -
708     name: tunnel-info
709     attributes:
710       -
711         name: header
712         type: nest
713         nested-attributes: header
714       -
715         name: udp-ports
716         type: nest
717         nested-attributes: tunnel-udp
718   -
719     name: fec-stat
720     attributes:
721       -
722         name: pad
723         type: pad
724       -
725         name: corrected
726         type: binary
727         sub-type: u64
728       -
729         name: uncorr
730         type: binary
731         sub-type: u64
732       -
733         name: corr-bits
734         type: binary
735         sub-type: u64
736   -
737     name: fec
738     attributes:
739       -
740         name: header
741         type: nest
742         nested-attributes: header
743       -
744         name: modes
745         type: nest
746         nested-attributes: bitset
747       -
748         name: auto
749         type: u8
750       -
751         name: active
752         type: u32
753       -
754         name: stats
755         type: nest
756         nested-attributes: fec-stat
757   -
758     name: module-eeprom
759     attributes:
760       -
761         name: header
762         type: nest
763         nested-attributes: header
764       -
765         name: offset
766         type: u32
767       -
768         name: length
769         type: u32
770       -
771         name: page
772         type: u8
773       -
774         name: bank
775         type: u8
776       -
777         name: i2c-address
778         type: u8
779       -
780         name: data
781         type: binary
782   -
783     name: stats-grp
784     attributes:
785       -
786         name: pad
787         type: pad
788       -
789         name: id
790         type: u32
791       -
792         name: ss-id
793         type: u32
794       -
795         name: stat
796         type: u64
797         type-value: [ id ]
798       -
799         name: hist-rx
800         type: nest
801         nested-attributes: stats-grp-hist
802       -
803         name: hist-tx
804         type: nest
805         nested-attributes: stats-grp-hist
806       -
807         name: hist-bkt-low
808         type: u32
809       -
810         name: hist-bkt-hi
811         type: u32
812       -
813         name: hist-val
814         type: u64
815   -
816     name: stats-grp-hist
817     subset-of: stats-grp
818     attributes:
819       -
820         name: hist-bkt-low
821       -
822         name: hist-bkt-hi
823       -
824         name: hist-val
825   -
826     name: stats
827     attributes:
828       -
829         name: pad
830         type: pad
831       -
832         name: header
833         type: nest
834         nested-attributes: header
835       -
836         name: groups
837         type: nest
838         nested-attributes: bitset
839       -
840         name: grp
841         type: nest
842         nested-attributes: stats-grp
843       -
844         name: src
845         type: u32
846   -
847     name: phc-vclocks
848     attributes:
849       -
850         name: header
851         type: nest
852         nested-attributes: header
853       -
854         name: num
855         type: u32
856       -
857         name: index
858         type: binary
859         sub-type: s32
860   -
861     name: module
862     attributes:
863       -
864         name: header
865         type: nest
866         nested-attributes: header
867       -
868         name: power-mode-policy
869         type: u8
870       -
871         name: power-mode
872         type: u8
873   -
874     name: pse
875     attributes:
876       -
877         name: header
878         type: nest
879         nested-attributes: header
880       -
881         name: admin-state
882         type: u32
883         name-prefix: ethtool-a-podl-pse-
884       -
885         name: admin-control
886         type: u32
887         name-prefix: ethtool-a-podl-pse-
888       -
889         name: pw-d-status
890         type: u32
891         name-prefix: ethtool-a-podl-pse-
892   -
893     name: rss
894     attributes:
895       -
896         name: header
897         type: nest
898         nested-attributes: header
899       -
900         name: context
901         type: u32
902       -
903         name: hfunc
904         type: u32
905       -
906         name: indir
907         type: binary
908       -
909         name: hkey
910         type: binary
911   -
912     name: plca
913     attributes:
914       -
915         name: header
916         type: nest
917         nested-attributes: header
918       -
919         name: version
920         type: u16
921       -
922         name: enabled
923         type: u8
924       -
925         name: status
926         type: u8
927       -
928         name: node-cnt
929         type: u32
930       -
931         name: node-id
932         type: u32
933       -
934         name: to-tmr
935         type: u32
936       -
937         name: burst-cnt
938         type: u32
939       -
940         name: burst-tmr
941         type: u32
942
943 operations:
944   enum-model: directional
945   name-prefix: ethtool-msg-
946   list:
947     -
948       name: strset-get
949       doc: Get string set from the kernel.
950
951       attribute-set: strset
952
953       do: &strset-get-op
954         request:
955           attributes:
956             - header
957             - stringsets
958             - counts-only
959         reply:
960           attributes:
961             - header
962             - stringsets
963       dump: *strset-get-op
964     -
965       name: linkinfo-get
966       doc: Get link info.
967
968       attribute-set: linkinfo
969
970       do: &linkinfo-get-op
971         request:
972           attributes:
973             - header
974         reply:
975           attributes: &linkinfo
976             - header
977             - port
978             - phyaddr
979             - tp-mdix
980             - tp-mdix-ctrl
981             - transceiver
982       dump: *linkinfo-get-op
983     -
984       name: linkinfo-set
985       doc: Set link info.
986
987       attribute-set: linkinfo
988
989       do:
990         request:
991           attributes: *linkinfo
992     -
993       name: linkinfo-ntf
994       doc: Notification for change in link info.
995       notify: linkinfo-get
996     -
997       name: linkmodes-get
998       doc: Get link modes.
999
1000       attribute-set: linkmodes
1001
1002       do: &linkmodes-get-op
1003         request:
1004           attributes:
1005             - header
1006         reply:
1007           attributes: &linkmodes
1008             - header
1009             - autoneg
1010             - ours
1011             - peer
1012             - speed
1013             - duplex
1014             - master-slave-cfg
1015             - master-slave-state
1016             - lanes
1017             - rate-matching
1018       dump: *linkmodes-get-op
1019     -
1020       name: linkmodes-set
1021       doc: Set link modes.
1022
1023       attribute-set: linkmodes
1024
1025       do:
1026         request:
1027           attributes: *linkmodes
1028     -
1029       name: linkmodes-ntf
1030       doc: Notification for change in link modes.
1031       notify: linkmodes-get
1032     -
1033       name: linkstate-get
1034       doc: Get link state.
1035
1036       attribute-set: linkstate
1037
1038       do: &linkstate-get-op
1039         request:
1040           attributes:
1041             - header
1042         reply:
1043           attributes:
1044             - header
1045             - link
1046             - sqi
1047             - sqi-max
1048             - ext-state
1049             - ext-substate
1050             - ext-down-cnt
1051       dump: *linkstate-get-op
1052     -
1053       name: debug-get
1054       doc: Get debug message mask.
1055
1056       attribute-set: debug
1057
1058       do: &debug-get-op
1059         request:
1060           attributes:
1061             - header
1062         reply:
1063           attributes: &debug
1064             - header
1065             - msgmask
1066       dump: *debug-get-op
1067     -
1068       name: debug-set
1069       doc: Set debug message mask.
1070
1071       attribute-set: debug
1072
1073       do:
1074         request:
1075           attributes: *debug
1076     -
1077       name: debug-ntf
1078       doc: Notification for change in debug message mask.
1079       notify: debug-get
1080     -
1081       name: wol-get
1082       doc: Get WOL params.
1083
1084       attribute-set: wol
1085
1086       do: &wol-get-op
1087         request:
1088           attributes:
1089             - header
1090         reply:
1091           attributes: &wol
1092             - header
1093             - modes
1094             - sopass
1095       dump: *wol-get-op
1096     -
1097       name: wol-set
1098       doc: Set WOL params.
1099
1100       attribute-set: wol
1101
1102       do:
1103         request:
1104           attributes: *wol
1105     -
1106       name: wol-ntf
1107       doc: Notification for change in WOL params.
1108       notify: wol-get
1109     -
1110       name: features-get
1111       doc: Get features.
1112
1113       attribute-set: features
1114
1115       do: &feature-get-op
1116         request:
1117           attributes:
1118             - header
1119         reply:
1120           attributes: &feature
1121             - header
1122             # User-changeable features.
1123             - hw
1124             # User-requested features.
1125             - wanted
1126             # Currently active features.
1127             - active
1128             # Unchangeable features.
1129             - nochange
1130       dump: *feature-get-op
1131     -
1132       name: features-set
1133       doc: Set features.
1134
1135       attribute-set: features
1136
1137       do: &feature-set-op
1138         request:
1139           attributes: *feature
1140         reply:
1141           attributes: *feature
1142     -
1143       name: features-ntf
1144       doc: Notification for change in features.
1145       notify: features-get
1146     -
1147       name: privflags-get
1148       doc: Get device private flags.
1149
1150       attribute-set: privflags
1151
1152       do: &privflag-get-op
1153         request:
1154           attributes:
1155             - header
1156         reply:
1157           attributes: &privflag
1158             - header
1159             - flags
1160       dump: *privflag-get-op
1161     -
1162       name: privflags-set
1163       doc: Set device private flags.
1164
1165       attribute-set: privflags
1166
1167       do:
1168         request:
1169           attributes: *privflag
1170     -
1171       name: privflags-ntf
1172       doc: Notification for change in device private flags.
1173       notify: privflags-get
1174
1175     -
1176       name: rings-get
1177       doc: Get ring params.
1178
1179       attribute-set: rings
1180
1181       do: &ring-get-op
1182         request:
1183           attributes:
1184             - header
1185         reply:
1186           attributes: &ring
1187             - header
1188             - rx-max
1189             - rx-mini-max
1190             - rx-jumbo-max
1191             - tx-max
1192             - rx
1193             - rx-mini
1194             - rx-jumbo
1195             - tx
1196             - rx-buf-len
1197             - tcp-data-split
1198             - cqe-size
1199             - tx-push
1200             - rx-push
1201             - tx-push-buf-len
1202             - tx-push-buf-len-max
1203       dump: *ring-get-op
1204     -
1205       name: rings-set
1206       doc: Set ring params.
1207
1208       attribute-set: rings
1209
1210       do:
1211         request:
1212           attributes: *ring
1213     -
1214       name: rings-ntf
1215       doc: Notification for change in ring params.
1216       notify: rings-get
1217     -
1218       name: channels-get
1219       doc: Get channel params.
1220
1221       attribute-set: channels
1222
1223       do: &channel-get-op
1224         request:
1225           attributes:
1226             - header
1227         reply:
1228           attributes: &channel
1229             - header
1230             - rx-max
1231             - tx-max
1232             - other-max
1233             - combined-max
1234             - rx-count
1235             - tx-count
1236             - other-count
1237             - combined-count
1238       dump: *channel-get-op
1239     -
1240       name: channels-set
1241       doc: Set channel params.
1242
1243       attribute-set: channels
1244
1245       do:
1246         request:
1247           attributes: *channel
1248     -
1249       name: channels-ntf
1250       doc: Notification for change in channel params.
1251       notify: channels-get
1252     -
1253       name: coalesce-get
1254       doc: Get coalesce params.
1255
1256       attribute-set: coalesce
1257
1258       do: &coalesce-get-op
1259         request:
1260           attributes:
1261             - header
1262         reply:
1263           attributes: &coalesce
1264             - header
1265             - rx-usecs
1266             - rx-max-frames
1267             - rx-usecs-irq
1268             - rx-max-frames-irq
1269             - tx-usecs
1270             - tx-max-frames
1271             - tx-usecs-irq
1272             - tx-max-frames-irq
1273             - stats-block-usecs
1274             - use-adaptive-rx
1275             - use-adaptive-tx
1276             - pkt-rate-low
1277             - rx-usecs-low
1278             - rx-max-frames-low
1279             - tx-usecs-low
1280             - tx-max-frames-low
1281             - pkt-rate-high
1282             - rx-usecs-high
1283             - rx-max-frames-high
1284             - tx-usecs-high
1285             - tx-max-frames-high
1286             - rate-sample-interval
1287             - use-cqe-mode-tx
1288             - use-cqe-mode-rx
1289             - tx-aggr-max-bytes
1290             - tx-aggr-max-frames
1291             - tx-aggr-time-usecs
1292       dump: *coalesce-get-op
1293     -
1294       name: coalesce-set
1295       doc: Set coalesce params.
1296
1297       attribute-set: coalesce
1298
1299       do:
1300         request:
1301           attributes: *coalesce
1302     -
1303       name: coalesce-ntf
1304       doc: Notification for change in coalesce params.
1305       notify: coalesce-get
1306     -
1307       name: pause-get
1308       doc: Get pause params.
1309
1310       attribute-set: pause
1311
1312       do: &pause-get-op
1313         request:
1314           attributes:
1315             - header
1316         reply:
1317           attributes: &pause
1318             - header
1319             - autoneg
1320             - rx
1321             - tx
1322             - stats
1323             - stats-src
1324       dump: *pause-get-op
1325     -
1326       name: pause-set
1327       doc: Set pause params.
1328
1329       attribute-set: pause
1330
1331       do:
1332         request:
1333           attributes: *pause
1334     -
1335       name: pause-ntf
1336       doc: Notification for change in pause params.
1337       notify: pause-get
1338     -
1339       name: eee-get
1340       doc: Get eee params.
1341
1342       attribute-set: eee
1343
1344       do: &eee-get-op
1345         request:
1346           attributes:
1347             - header
1348         reply:
1349           attributes: &eee
1350             - header
1351             - modes-ours
1352             - modes-peer
1353             - active
1354             - enabled
1355             - tx-lpi-enabled
1356             - tx-lpi-timer
1357       dump: *eee-get-op
1358     -
1359       name: eee-set
1360       doc: Set eee params.
1361
1362       attribute-set: eee
1363
1364       do:
1365         request:
1366           attributes: *eee
1367     -
1368       name: eee-ntf
1369       doc: Notification for change in eee params.
1370       notify: eee-get
1371     -
1372       name: tsinfo-get
1373       doc: Get tsinfo params.
1374
1375       attribute-set: tsinfo
1376
1377       do: &tsinfo-get-op
1378         request:
1379           attributes:
1380             - header
1381         reply:
1382           attributes:
1383             - header
1384             - timestamping
1385             - tx-types
1386             - rx-filters
1387             - phc-index
1388       dump: *tsinfo-get-op
1389     -
1390       name: cable-test-act
1391       doc: Cable test.
1392
1393       attribute-set: cable-test
1394
1395       do:
1396         request:
1397           attributes:
1398             - header
1399     -
1400       name: cable-test-ntf
1401       doc: Cable test notification.
1402
1403       attribute-set: cable-test-ntf
1404
1405       event:
1406         attributes:
1407           - header
1408           - status
1409     -
1410       name: cable-test-tdr-act
1411       doc: Cable test TDR.
1412
1413       attribute-set: cable-test-tdr
1414
1415       do:
1416         request:
1417           attributes:
1418             - header
1419     -
1420       name: cable-test-tdr-ntf
1421       doc: Cable test TDR notification.
1422
1423       attribute-set: cable-test-tdr-ntf
1424
1425       event:
1426         attributes:
1427           - header
1428           - status
1429           - nest
1430     -
1431       name: tunnel-info-get
1432       doc: Get tsinfo params.
1433
1434       attribute-set: tunnel-info
1435
1436       do: &tunnel-info-get-op
1437         request:
1438           attributes:
1439             - header
1440         reply:
1441           attributes:
1442             - header
1443             - udp-ports
1444       dump: *tunnel-info-get-op
1445     -
1446       name: fec-get
1447       doc: Get FEC params.
1448
1449       attribute-set: fec
1450
1451       do: &fec-get-op
1452         request:
1453           attributes:
1454             - header
1455         reply:
1456           attributes: &fec
1457             - header
1458             - modes
1459             - auto
1460             - active
1461             - stats
1462       dump: *fec-get-op
1463     -
1464       name: fec-set
1465       doc: Set FEC params.
1466
1467       attribute-set: fec
1468
1469       do:
1470         request:
1471           attributes: *fec
1472     -
1473       name: fec-ntf
1474       doc: Notification for change in FEC params.
1475       notify: fec-get
1476     -
1477       name: module-eeprom-get
1478       doc: Get module EEPROM params.
1479
1480       attribute-set: module-eeprom
1481
1482       do: &module-eeprom-get-op
1483         request:
1484           attributes:
1485             - header
1486         reply:
1487           attributes:
1488             - header
1489             - offset
1490             - length
1491             - page
1492             - bank
1493             - i2c-address
1494             - data
1495       dump: *module-eeprom-get-op
1496     -
1497       name: stats-get
1498       doc: Get statistics.
1499
1500       attribute-set: stats
1501
1502       do: &stats-get-op
1503         request:
1504           attributes:
1505             - header
1506             - groups
1507         reply:
1508           attributes:
1509             - header
1510             - groups
1511             - grp
1512             - src
1513       dump: *stats-get-op
1514     -
1515       name: phc-vclocks-get
1516       doc: Get PHC VCLOCKs.
1517
1518       attribute-set: phc-vclocks
1519
1520       do: &phc-vclocks-get-op
1521         request:
1522           attributes:
1523             - header
1524         reply:
1525           attributes:
1526             - header
1527             - num
1528       dump: *phc-vclocks-get-op
1529     -
1530       name: module-get
1531       doc: Get module params.
1532
1533       attribute-set: module
1534
1535       do: &module-get-op
1536         request:
1537           attributes:
1538             - header
1539         reply:
1540           attributes: &module
1541             - header
1542             - power-mode-policy
1543             - power-mode
1544       dump: *module-get-op
1545     -
1546       name: module-set
1547       doc: Set module params.
1548
1549       attribute-set: module
1550
1551       do:
1552         request:
1553           attributes: *module
1554     -
1555       name: module-ntf
1556       doc: Notification for change in module params.
1557       notify: module-get
1558     -
1559       name: pse-get
1560       doc: Get Power Sourcing Equipment params.
1561
1562       attribute-set: pse
1563
1564       do: &pse-get-op
1565         request:
1566           attributes:
1567             - header
1568         reply:
1569           attributes: &pse
1570             - header
1571             - admin-state
1572             - admin-control
1573             - pw-d-status
1574       dump: *pse-get-op
1575     -
1576       name: pse-set
1577       doc: Set Power Sourcing Equipment params.
1578
1579       attribute-set: pse
1580
1581       do:
1582         request:
1583           attributes: *pse
1584     -
1585       name: rss-get
1586       doc: Get RSS params.
1587
1588       attribute-set: rss
1589
1590       do: &rss-get-op
1591         request:
1592           attributes:
1593             - header
1594         reply:
1595           attributes:
1596             - header
1597             - context
1598             - hfunc
1599             - indir
1600             - hkey
1601       dump: *rss-get-op
1602     -
1603       name: plca-get-cfg
1604       doc: Get PLCA params.
1605
1606       attribute-set: plca
1607
1608       do: &plca-get-op
1609         request:
1610           attributes:
1611             - header
1612         reply:
1613           attributes: &plca
1614             - header
1615             - version
1616             - enabled
1617             - status
1618             - node-cnt
1619             - node-id
1620             - to-tmr
1621             - burst-cnt
1622             - burst-tmr
1623       dump: *plca-get-op
1624     -
1625       name: plca-set-cfg
1626       doc: Set PLCA params.
1627
1628       attribute-set: plca
1629
1630       do:
1631         request:
1632           attributes: *plca
1633     -
1634       name: plca-get-status
1635       doc: Get PLCA status params.
1636
1637       attribute-set: plca
1638
1639       do: &plca-get-status-op
1640         request:
1641           attributes:
1642             - header
1643         reply:
1644           attributes: *plca
1645       dump: *plca-get-status-op
1646     -
1647       name: plca-ntf
1648       doc: Notification for change in PLCA params.
1649       notify: plca-get-cfg
1650     -
1651       name: mm-get
1652       doc: Get MAC Merge configuration and state
1653
1654       attribute-set: mm
1655
1656       do: &mm-get-op
1657         request:
1658           attributes:
1659             - header
1660         reply:
1661           attributes:
1662             - header
1663             - pmac-enabled
1664             - tx-enabled
1665             - tx-active
1666             - tx-min-frag-size
1667             - rx-min-frag-size
1668             - verify-enabled
1669             - verify-time
1670             - max-verify-time
1671             - stats
1672       dump: *mm-get-op
1673     -
1674       name: mm-set
1675       doc: Set MAC Merge configuration
1676
1677       attribute-set: mm
1678
1679       do:
1680         request:
1681           attributes:
1682             - header
1683             - verify-enabled
1684             - verify-time
1685             - tx-enabled
1686             - pmac-enabled
1687             - tx-min-frag-size
1688     -
1689       name: mm-ntf
1690       doc: Notification for change in MAC Merge configuration.
1691       notify: mm-get