ethtool.yaml 36 KB

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