1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 protocol: genetlink-legacy
7 doc: Partial family for Ethtool Netlink.
14 entries: [ vxlan, geneve, vxlan-gpe ]
53 nested-attributes: bitset-bit
66 nested-attributes: bitset-bits
84 nested-attributes: string
98 nested-attributes: strings
106 nested-attributes: stringset
113 nested-attributes: header
117 nested-attributes: stringsets
128 nested-attributes: header
132 nested-attributes: bitset
140 nested-attributes: header
181 name: tx-push-buf-len
184 name: tx-push-buf-len-max
194 name: reassembly-errors
217 nested-attributes: header
228 name: tx-min-frag-size
231 name: rx-min-frag-size
243 name: max-verify-time
248 nested-attributes: mm-stat
255 nested-attributes: header
277 nested-attributes: header
284 nested-attributes: bitset
288 nested-attributes: bitset
296 name: master-slave-cfg
299 name: master-slave-state
313 nested-attributes: header
338 nested-attributes: header
342 nested-attributes: bitset
349 nested-attributes: header
353 nested-attributes: bitset
363 nested-attributes: header
367 nested-attributes: bitset
371 nested-attributes: bitset
375 nested-attributes: bitset
379 nested-attributes: bitset
386 nested-attributes: header
418 nested-attributes: header
429 name: rx-max-frames-irq
441 name: tx-max-frames-irq
444 name: stats-block-usecs
447 name: use-adaptive-rx
450 name: use-adaptive-tx
459 name: rx-max-frames-low
465 name: tx-max-frames-low
474 name: rx-max-frames-high
480 name: tx-max-frames-high
483 name: rate-sample-interval
486 name: use-cqe-mode-tx
489 name: use-cqe-mode-rx
492 name: tx-aggr-max-bytes
495 name: tx-aggr-max-frames
498 name: tx-aggr-time-usecs
518 nested-attributes: header
531 nested-attributes: pause-stat
541 nested-attributes: header
545 nested-attributes: bitset
549 nested-attributes: bitset
568 nested-attributes: header
572 nested-attributes: bitset
576 nested-attributes: bitset
580 nested-attributes: bitset
594 name: cable-fault-length
608 nested-attributes: cable-result
612 nested-attributes: cable-fault-length
619 nested-attributes: header
626 nested-attributes: header
633 nested-attributes: cable-nest
635 name: cable-test-tdr-cfg
650 name: cable-test-tdr-ntf
655 nested-attributes: header
662 nested-attributes: cable-nest
669 nested-attributes: header
673 nested-attributes: cable-test-tdr-cfg
675 name: tunnel-udp-entry
680 byte-order: big-endian
684 enum: udp-tunnel-type
686 name: tunnel-udp-table
694 nested-attributes: bitset
699 nested-attributes: tunnel-udp-entry
706 nested-attributes: tunnel-udp-table
713 nested-attributes: header
717 nested-attributes: tunnel-udp
742 nested-attributes: header
746 nested-attributes: bitset
756 nested-attributes: fec-stat
763 nested-attributes: header
801 nested-attributes: stats-grp-hist
805 nested-attributes: stats-grp-hist
834 nested-attributes: header
838 nested-attributes: bitset
842 nested-attributes: stats-grp
852 nested-attributes: header
866 nested-attributes: header
868 name: power-mode-policy
879 nested-attributes: header
883 name-prefix: ethtool-a-podl-pse-
887 name-prefix: ethtool-a-podl-pse-
891 name-prefix: ethtool-a-podl-pse-
898 nested-attributes: header
917 nested-attributes: header
944 enum-model: directional
945 name-prefix: ethtool-msg-
949 doc: Get string set from the kernel.
951 attribute-set: strset
968 attribute-set: linkinfo
975 attributes: &linkinfo
982 dump: *linkinfo-get-op
987 attribute-set: linkinfo
991 attributes: *linkinfo
994 doc: Notification for change in link info.
1000 attribute-set: linkmodes
1002 do: &linkmodes-get-op
1007 attributes: &linkmodes
1015 - master-slave-state
1018 dump: *linkmodes-get-op
1021 doc: Set link modes.
1023 attribute-set: linkmodes
1027 attributes: *linkmodes
1030 doc: Notification for change in link modes.
1031 notify: linkmodes-get
1034 doc: Get link state.
1036 attribute-set: linkstate
1038 do: &linkstate-get-op
1051 dump: *linkstate-get-op
1054 doc: Get debug message mask.
1056 attribute-set: debug
1069 doc: Set debug message mask.
1071 attribute-set: debug
1078 doc: Notification for change in debug message mask.
1082 doc: Get WOL params.
1098 doc: Set WOL params.
1107 doc: Notification for change in WOL params.
1113 attribute-set: features
1120 attributes: &feature
1122 # User-changeable features.
1124 # User-requested features.
1126 # Currently active features.
1128 # Unchangeable features.
1130 dump: *feature-get-op
1135 attribute-set: features
1139 attributes: *feature
1141 attributes: *feature
1144 doc: Notification for change in features.
1145 notify: features-get
1148 doc: Get device private flags.
1150 attribute-set: privflags
1152 do: &privflag-get-op
1157 attributes: &privflag
1160 dump: *privflag-get-op
1163 doc: Set device private flags.
1165 attribute-set: privflags
1169 attributes: *privflag
1172 doc: Notification for change in device private flags.
1173 notify: privflags-get
1177 doc: Get ring params.
1179 attribute-set: rings
1202 - tx-push-buf-len-max
1206 doc: Set ring params.
1208 attribute-set: rings
1215 doc: Notification for change in ring params.
1219 doc: Get channel params.
1221 attribute-set: channels
1228 attributes: &channel
1238 dump: *channel-get-op
1241 doc: Set channel params.
1243 attribute-set: channels
1247 attributes: *channel
1250 doc: Notification for change in channel params.
1251 notify: channels-get
1254 doc: Get coalesce params.
1256 attribute-set: coalesce
1258 do: &coalesce-get-op
1263 attributes: &coalesce
1283 - rx-max-frames-high
1285 - tx-max-frames-high
1286 - rate-sample-interval
1290 - tx-aggr-max-frames
1291 - tx-aggr-time-usecs
1292 dump: *coalesce-get-op
1295 doc: Set coalesce params.
1297 attribute-set: coalesce
1301 attributes: *coalesce
1304 doc: Notification for change in coalesce params.
1305 notify: coalesce-get
1308 doc: Get pause params.
1310 attribute-set: pause
1327 doc: Set pause params.
1329 attribute-set: pause
1336 doc: Notification for change in pause params.
1340 doc: Get eee params.
1360 doc: Set eee params.
1369 doc: Notification for change in eee params.
1373 doc: Get tsinfo params.
1375 attribute-set: tsinfo
1388 dump: *tsinfo-get-op
1390 name: cable-test-act
1393 attribute-set: cable-test
1400 name: cable-test-ntf
1401 doc: Cable test notification.
1403 attribute-set: cable-test-ntf
1410 name: cable-test-tdr-act
1411 doc: Cable test TDR.
1413 attribute-set: cable-test-tdr
1420 name: cable-test-tdr-ntf
1421 doc: Cable test TDR notification.
1423 attribute-set: cable-test-tdr-ntf
1431 name: tunnel-info-get
1432 doc: Get tsinfo params.
1434 attribute-set: tunnel-info
1436 do: &tunnel-info-get-op
1444 dump: *tunnel-info-get-op
1447 doc: Get FEC params.
1465 doc: Set FEC params.
1474 doc: Notification for change in FEC params.
1477 name: module-eeprom-get
1478 doc: Get module EEPROM params.
1480 attribute-set: module-eeprom
1482 do: &module-eeprom-get-op
1495 dump: *module-eeprom-get-op
1498 doc: Get statistics.
1500 attribute-set: stats
1515 name: phc-vclocks-get
1516 doc: Get PHC VCLOCKs.
1518 attribute-set: phc-vclocks
1520 do: &phc-vclocks-get-op
1528 dump: *phc-vclocks-get-op
1531 doc: Get module params.
1533 attribute-set: module
1544 dump: *module-get-op
1547 doc: Set module params.
1549 attribute-set: module
1556 doc: Notification for change in module params.
1560 doc: Get Power Sourcing Equipment params.
1577 doc: Set Power Sourcing Equipment params.
1586 doc: Get RSS params.
1604 doc: Get PLCA params.
1626 doc: Set PLCA params.
1634 name: plca-get-status
1635 doc: Get PLCA status params.
1639 do: &plca-get-status-op
1645 dump: *plca-get-status-op
1648 doc: Notification for change in PLCA params.
1649 notify: plca-get-cfg
1652 doc: Get MAC Merge configuration and state
1675 doc: Set MAC Merge configuration
1690 doc: Notification for change in MAC Merge configuration.