ethtool.yaml 56 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850
  1. # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
  2. ---
  3. name: ethtool
  4. protocol: genetlink-legacy
  5. doc: Partial family for Ethtool Netlink.
  6. uapi-header: linux/ethtool_netlink_generated.h
  7. c-family-name: ethtool-genl-name
  8. c-version-name: ethtool-genl-version
  9. definitions:
  10. -
  11. name: udp-tunnel-type
  12. enum-name:
  13. type: enum
  14. entries: [vxlan, geneve, vxlan-gpe]
  15. enum-cnt-name: __ethtool-udp-tunnel-type-cnt
  16. render-max: true
  17. -
  18. name: stringset
  19. type: enum
  20. entries: []
  21. header: linux/ethtool.h # skip rendering, no actual definition
  22. -
  23. name: header-flags
  24. type: flags
  25. name-prefix: ethtool-flag-
  26. doc: common ethtool header flags
  27. entries:
  28. -
  29. name: compact-bitsets
  30. doc: use compact bitsets in reply
  31. -
  32. name: omit-reply
  33. doc: provide optional reply for SET or ACT requests
  34. -
  35. name: stats
  36. doc: request statistics, if supported by the driver
  37. -
  38. name: module-fw-flash-status
  39. type: enum
  40. doc: plug-in module firmware flashing status
  41. header: linux/ethtool.h
  42. entries:
  43. -
  44. name: started
  45. doc: The firmware flashing process has started.
  46. -
  47. name: in-progress
  48. doc: The firmware flashing process is in progress.
  49. -
  50. name: completed
  51. doc: The firmware flashing process was completed successfully.
  52. -
  53. name: error
  54. doc: The firmware flashing process was stopped due to an error.
  55. -
  56. name: c33-pse-ext-state
  57. doc: |
  58. "groups of PSE extended states functions. IEEE 802.3-2022 33.2.4.4
  59. Variables"
  60. type: enum
  61. name-prefix: ethtool-c33-pse-ext-state-
  62. header: linux/ethtool.h
  63. entries:
  64. -
  65. name: none
  66. doc: none
  67. -
  68. name: error-condition
  69. doc: Group of error_condition states
  70. -
  71. name: mr-mps-valid
  72. doc: Group of mr_mps_valid states
  73. -
  74. name: mr-pse-enable
  75. doc: Group of mr_pse_enable states
  76. -
  77. name: option-detect-ted
  78. doc: Group of option_detect_ted states
  79. -
  80. name: option-vport-lim
  81. doc: Group of option_vport_lim states
  82. -
  83. name: ovld-detected
  84. doc: Group of ovld_detected states
  85. -
  86. name: power-not-available
  87. doc: Group of power_not_available states
  88. -
  89. name: short-detected
  90. doc: Group of short_detected states
  91. -
  92. name: phy-upstream-type
  93. enum-name: phy-upstream
  94. header: linux/ethtool.h
  95. type: enum
  96. name-prefix: phy-upstream
  97. entries: [mac, phy]
  98. -
  99. name: tcp-data-split
  100. type: enum
  101. entries: [unknown, disabled, enabled]
  102. -
  103. name: hwtstamp-source
  104. doc: Source of the hardware timestamp
  105. enum-name: hwtstamp-source
  106. name-prefix: hwtstamp-source-
  107. type: enum
  108. entries:
  109. -
  110. name: netdev
  111. doc: |
  112. Hardware timestamp comes from a MAC or a device
  113. which has MAC and PHY integrated
  114. value: 1
  115. -
  116. name: phylib
  117. doc: |
  118. Hardware timestamp comes from one PHY device
  119. of the network topology
  120. -
  121. name: pse-event
  122. doc: PSE event list for the PSE controller
  123. type: flags
  124. name-prefix: ethtool-
  125. entries:
  126. -
  127. name: pse-event-over-current
  128. doc: PSE output current is too high
  129. -
  130. name: pse-event-over-temp
  131. doc: PSE in over temperature state
  132. -
  133. name: c33-pse-event-detection
  134. doc: |
  135. detection process occur on the PSE. IEEE 802.3-2022 33.2.5 and
  136. 145.2.6 PSE detection of PDs. IEEE 802.3-202 30.9.1.1.5
  137. aPSEPowerDetectionStatus
  138. -
  139. name: c33-pse-event-classification
  140. doc: |
  141. classification process occur on the PSE. IEEE 802.3-2022 33.2.6
  142. and 145.2.8 classification of PDs mutual identification.
  143. IEEE 802.3-2022 30.9.1.1.8 aPSEPowerClassification.
  144. -
  145. name: c33-pse-event-disconnection
  146. doc: |
  147. PD has been disconnected on the PSE. IEEE 802.3-2022 33.3.8
  148. and 145.3.9 PD Maintain Power Signature. IEEE 802.3-2022
  149. 33.5.1.2.9 MPS Absent. IEEE 802.3-2022 30.9.1.1.20
  150. aPSEMPSAbsentCounter.
  151. -
  152. name: pse-event-over-budget
  153. doc: PSE turned off due to over budget situation
  154. -
  155. name: pse-event-sw-pw-control-error
  156. doc: PSE faced an error managing the power control from software
  157. -
  158. name: input-xfrm
  159. doc: RSS hash function transformations.
  160. type: flags
  161. enum-name:
  162. name-prefix: rxh-xfrm-
  163. header: linux/ethtool.h
  164. entries:
  165. -
  166. name: sym-xor
  167. doc: >-
  168. XOR the corresponding source and destination fields of each specified
  169. protocol. Both copies of the XOR'ed fields are fed into the RSS and
  170. RXHASH calculation. Note that this XORing reduces the input set
  171. entropy and could be exploited to reduce the RSS queue spread.
  172. -
  173. name: sym-or-xor
  174. doc: >-
  175. Similar to SYM_XOR, except that one copy of the XOR'ed fields is
  176. replaced by an OR of the same fields.
  177. -
  178. name: rxfh-fields
  179. name-prefix: rxh-
  180. enum-name:
  181. header: linux/ethtool.h
  182. type: flags
  183. entries:
  184. -
  185. name: l2da
  186. value: 1
  187. -
  188. name: vlan
  189. -
  190. name: l3-proto
  191. -
  192. name: ip-src
  193. -
  194. name: ip-dst
  195. -
  196. name: l4-b-0-1
  197. doc: src port in case of TCP/UDP/SCTP
  198. -
  199. name: l4-b-2-3
  200. doc: dst port in case of TCP/UDP/SCTP
  201. -
  202. name: gtp-teid
  203. -
  204. name: ip6-fl
  205. doc: IPv6 Flow Label
  206. -
  207. name: discard
  208. value: 31
  209. attribute-sets:
  210. -
  211. name: header
  212. attr-cnt-name: __ethtool-a-header-cnt
  213. attributes:
  214. -
  215. name: unspec
  216. type: unused
  217. value: 0
  218. -
  219. name: dev-index
  220. type: u32
  221. -
  222. name: dev-name
  223. type: string
  224. -
  225. name: flags
  226. type: u32
  227. enum: header-flags
  228. -
  229. name: phy-index
  230. type: u32
  231. -
  232. name: bitset-bit
  233. attr-cnt-name: __ethtool-a-bitset-bit-cnt
  234. attributes:
  235. -
  236. name: unspec
  237. type: unused
  238. value: 0
  239. -
  240. name: index
  241. type: u32
  242. -
  243. name: name
  244. type: string
  245. -
  246. name: value
  247. type: flag
  248. -
  249. name: bitset-bits
  250. attr-cnt-name: __ethtool-a-bitset-bits-cnt
  251. attributes:
  252. -
  253. name: unspec
  254. type: unused
  255. value: 0
  256. -
  257. name: bit
  258. type: nest
  259. multi-attr: true
  260. nested-attributes: bitset-bit
  261. -
  262. name: bitset
  263. attr-cnt-name: __ethtool-a-bitset-cnt
  264. attributes:
  265. -
  266. name: unspec
  267. type: unused
  268. value: 0
  269. -
  270. name: nomask
  271. type: flag
  272. -
  273. name: size
  274. type: u32
  275. -
  276. name: bits
  277. type: nest
  278. nested-attributes: bitset-bits
  279. -
  280. name: value
  281. type: binary
  282. -
  283. name: mask
  284. type: binary
  285. -
  286. name: string
  287. attr-cnt-name: __ethtool-a-string-cnt
  288. attributes:
  289. -
  290. name: unspec
  291. type: unused
  292. value: 0
  293. -
  294. name: index
  295. type: u32
  296. -
  297. name: value
  298. type: string
  299. -
  300. name: strings
  301. attr-cnt-name: __ethtool-a-strings-cnt
  302. attributes:
  303. -
  304. name: unspec
  305. type: unused
  306. value: 0
  307. -
  308. name: unspec
  309. type: unused
  310. value: 0
  311. -
  312. name: string
  313. type: nest
  314. multi-attr: true
  315. nested-attributes: string
  316. -
  317. name: stringset
  318. attr-cnt-name: __ethtool-a-stringset-cnt
  319. attributes:
  320. -
  321. name: unspec
  322. type: unused
  323. value: 0
  324. -
  325. name: id
  326. type: u32
  327. -
  328. name: count
  329. type: u32
  330. -
  331. name: strings
  332. type: nest
  333. multi-attr: true
  334. nested-attributes: strings
  335. -
  336. name: stringsets
  337. attr-cnt-name: __ethtool-a-stringsets-cnt
  338. attributes:
  339. -
  340. name: unspec
  341. type: unused
  342. value: 0
  343. -
  344. name: stringset
  345. type: nest
  346. multi-attr: true
  347. nested-attributes: stringset
  348. -
  349. name: strset
  350. attr-cnt-name: __ethtool-a-strset-cnt
  351. attributes:
  352. -
  353. name: unspec
  354. type: unused
  355. value: 0
  356. -
  357. name: header
  358. type: nest
  359. nested-attributes: header
  360. -
  361. name: stringsets
  362. type: nest
  363. nested-attributes: stringsets
  364. -
  365. name: counts-only
  366. type: flag
  367. -
  368. name: privflags
  369. attr-cnt-name: __ethtool-a-privflags-cnt
  370. attributes:
  371. -
  372. name: unspec
  373. type: unused
  374. value: 0
  375. -
  376. name: header
  377. type: nest
  378. nested-attributes: header
  379. -
  380. name: flags
  381. type: nest
  382. nested-attributes: bitset
  383. -
  384. name: rings
  385. attr-cnt-name: __ethtool-a-rings-cnt
  386. attributes:
  387. -
  388. name: unspec
  389. type: unused
  390. value: 0
  391. -
  392. name: header
  393. type: nest
  394. nested-attributes: header
  395. -
  396. name: rx-max
  397. type: u32
  398. -
  399. name: rx-mini-max
  400. type: u32
  401. -
  402. name: rx-jumbo-max
  403. type: u32
  404. -
  405. name: tx-max
  406. type: u32
  407. -
  408. name: rx
  409. type: u32
  410. -
  411. name: rx-mini
  412. type: u32
  413. -
  414. name: rx-jumbo
  415. type: u32
  416. -
  417. name: tx
  418. type: u32
  419. -
  420. name: rx-buf-len
  421. type: u32
  422. -
  423. name: tcp-data-split
  424. type: u8
  425. enum: tcp-data-split
  426. -
  427. name: cqe-size
  428. type: u32
  429. -
  430. name: tx-push
  431. type: u8
  432. -
  433. name: rx-push
  434. type: u8
  435. -
  436. name: tx-push-buf-len
  437. type: u32
  438. -
  439. name: tx-push-buf-len-max
  440. type: u32
  441. -
  442. name: hds-thresh
  443. type: u32
  444. -
  445. name: hds-thresh-max
  446. type: u32
  447. -
  448. name: mm-stat
  449. attr-cnt-name: __ethtool-a-mm-stat-cnt
  450. doc: MAC Merge (802.3)
  451. attributes:
  452. -
  453. name: unspec
  454. type: unused
  455. value: 0
  456. -
  457. name: pad
  458. type: pad
  459. -
  460. name: reassembly-errors
  461. doc: aMACMergeFrameAssErrorCount
  462. type: u64
  463. -
  464. name: smd-errors
  465. doc: aMACMergeFrameSmdErrorCount
  466. type: u64
  467. -
  468. name: reassembly-ok
  469. doc: aMACMergeFrameAssOkCount
  470. type: u64
  471. -
  472. name: rx-frag-count
  473. doc: aMACMergeFragCountRx
  474. type: u64
  475. -
  476. name: tx-frag-count
  477. doc: aMACMergeFragCountTx
  478. type: u64
  479. -
  480. name: hold-count
  481. doc: aMACMergeHoldCount
  482. type: u64
  483. -
  484. name: mm
  485. attr-cnt-name: __ethtool-a-mm-cnt
  486. attributes:
  487. -
  488. name: unspec
  489. type: unused
  490. value: 0
  491. -
  492. name: header
  493. type: nest
  494. nested-attributes: header
  495. -
  496. name: pmac-enabled
  497. type: u8
  498. -
  499. name: tx-enabled
  500. type: u8
  501. -
  502. name: tx-active
  503. type: u8
  504. -
  505. name: tx-min-frag-size
  506. type: u32
  507. -
  508. name: rx-min-frag-size
  509. type: u32
  510. -
  511. name: verify-enabled
  512. type: u8
  513. -
  514. name: verify-status
  515. type: u8
  516. -
  517. name: verify-time
  518. type: u32
  519. -
  520. name: max-verify-time
  521. type: u32
  522. -
  523. name: stats
  524. type: nest
  525. nested-attributes: mm-stat
  526. -
  527. name: linkinfo
  528. attr-cnt-name: __ethtool-a-linkinfo-cnt
  529. attributes:
  530. -
  531. name: unspec
  532. type: unused
  533. value: 0
  534. -
  535. name: header
  536. type: nest
  537. nested-attributes: header
  538. -
  539. name: port
  540. type: u8
  541. -
  542. name: phyaddr
  543. type: u8
  544. -
  545. name: tp-mdix
  546. type: u8
  547. -
  548. name: tp-mdix-ctrl
  549. type: u8
  550. -
  551. name: transceiver
  552. type: u8
  553. -
  554. name: linkmodes
  555. attr-cnt-name: __ethtool-a-linkmodes-cnt
  556. attributes:
  557. -
  558. name: unspec
  559. type: unused
  560. value: 0
  561. -
  562. name: header
  563. type: nest
  564. nested-attributes: header
  565. -
  566. name: autoneg
  567. type: u8
  568. -
  569. name: ours
  570. type: nest
  571. nested-attributes: bitset
  572. -
  573. name: peer
  574. type: nest
  575. nested-attributes: bitset
  576. -
  577. name: speed
  578. type: u32
  579. -
  580. name: duplex
  581. type: u8
  582. -
  583. name: master-slave-cfg
  584. type: u8
  585. -
  586. name: master-slave-state
  587. type: u8
  588. -
  589. name: lanes
  590. type: u32
  591. -
  592. name: rate-matching
  593. type: u8
  594. -
  595. name: linkstate
  596. attr-cnt-name: __ethtool-a-linkstate-cnt
  597. attributes:
  598. -
  599. name: unspec
  600. type: unused
  601. value: 0
  602. -
  603. name: header
  604. type: nest
  605. nested-attributes: header
  606. -
  607. name: link
  608. type: u8
  609. -
  610. name: sqi
  611. type: u32
  612. -
  613. name: sqi-max
  614. type: u32
  615. -
  616. name: ext-state
  617. type: u8
  618. -
  619. name: ext-substate
  620. type: u8
  621. -
  622. name: ext-down-cnt
  623. type: u32
  624. -
  625. name: debug
  626. attr-cnt-name: __ethtool-a-debug-cnt
  627. attributes:
  628. -
  629. name: unspec
  630. type: unused
  631. value: 0
  632. -
  633. name: header
  634. type: nest
  635. nested-attributes: header
  636. -
  637. name: msgmask
  638. type: nest
  639. nested-attributes: bitset
  640. -
  641. name: wol
  642. attr-cnt-name: __ethtool-a-wol-cnt
  643. attributes:
  644. -
  645. name: unspec
  646. type: unused
  647. value: 0
  648. -
  649. name: header
  650. type: nest
  651. nested-attributes: header
  652. -
  653. name: modes
  654. type: nest
  655. nested-attributes: bitset
  656. -
  657. name: sopass
  658. type: binary
  659. -
  660. name: features
  661. attr-cnt-name: __ethtool-a-features-cnt
  662. attributes:
  663. -
  664. name: unspec
  665. type: unused
  666. value: 0
  667. -
  668. name: header
  669. type: nest
  670. nested-attributes: header
  671. -
  672. name: hw
  673. type: nest
  674. nested-attributes: bitset
  675. -
  676. name: wanted
  677. type: nest
  678. nested-attributes: bitset
  679. -
  680. name: active
  681. type: nest
  682. nested-attributes: bitset
  683. -
  684. name: nochange
  685. type: nest
  686. nested-attributes: bitset
  687. -
  688. name: channels
  689. attr-cnt-name: __ethtool-a-channels-cnt
  690. attributes:
  691. -
  692. name: unspec
  693. type: unused
  694. value: 0
  695. -
  696. name: header
  697. type: nest
  698. nested-attributes: header
  699. -
  700. name: rx-max
  701. type: u32
  702. -
  703. name: tx-max
  704. type: u32
  705. -
  706. name: other-max
  707. type: u32
  708. -
  709. name: combined-max
  710. type: u32
  711. -
  712. name: rx-count
  713. type: u32
  714. -
  715. name: tx-count
  716. type: u32
  717. -
  718. name: other-count
  719. type: u32
  720. -
  721. name: combined-count
  722. type: u32
  723. -
  724. name: irq-moderation
  725. attr-cnt-name: __ethtool-a-irq-moderation-cnt
  726. attributes:
  727. -
  728. name: unspec
  729. type: unused
  730. value: 0
  731. -
  732. name: usec
  733. type: u32
  734. -
  735. name: pkts
  736. type: u32
  737. -
  738. name: comps
  739. type: u32
  740. -
  741. name: profile
  742. attr-cnt-name: __ethtool-a-profile-cnt
  743. attributes:
  744. -
  745. name: unspec
  746. type: unused
  747. value: 0
  748. -
  749. name: irq-moderation
  750. type: nest
  751. multi-attr: true
  752. nested-attributes: irq-moderation
  753. -
  754. name: coalesce
  755. attr-cnt-name: __ethtool-a-coalesce-cnt
  756. attributes:
  757. -
  758. name: unspec
  759. type: unused
  760. value: 0
  761. -
  762. name: header
  763. type: nest
  764. nested-attributes: header
  765. -
  766. name: rx-usecs
  767. type: u32
  768. -
  769. name: rx-max-frames
  770. type: u32
  771. -
  772. name: rx-usecs-irq
  773. type: u32
  774. -
  775. name: rx-max-frames-irq
  776. type: u32
  777. -
  778. name: tx-usecs
  779. type: u32
  780. -
  781. name: tx-max-frames
  782. type: u32
  783. -
  784. name: tx-usecs-irq
  785. type: u32
  786. -
  787. name: tx-max-frames-irq
  788. type: u32
  789. -
  790. name: stats-block-usecs
  791. type: u32
  792. -
  793. name: use-adaptive-rx
  794. type: u8
  795. -
  796. name: use-adaptive-tx
  797. type: u8
  798. -
  799. name: pkt-rate-low
  800. type: u32
  801. -
  802. name: rx-usecs-low
  803. type: u32
  804. -
  805. name: rx-max-frames-low
  806. type: u32
  807. -
  808. name: tx-usecs-low
  809. type: u32
  810. -
  811. name: tx-max-frames-low
  812. type: u32
  813. -
  814. name: pkt-rate-high
  815. type: u32
  816. -
  817. name: rx-usecs-high
  818. type: u32
  819. -
  820. name: rx-max-frames-high
  821. type: u32
  822. -
  823. name: tx-usecs-high
  824. type: u32
  825. -
  826. name: tx-max-frames-high
  827. type: u32
  828. -
  829. name: rate-sample-interval
  830. type: u32
  831. -
  832. name: use-cqe-mode-tx
  833. type: u8
  834. -
  835. name: use-cqe-mode-rx
  836. type: u8
  837. -
  838. name: tx-aggr-max-bytes
  839. type: u32
  840. -
  841. name: tx-aggr-max-frames
  842. type: u32
  843. -
  844. name: tx-aggr-time-usecs
  845. type: u32
  846. -
  847. name: rx-profile
  848. type: nest
  849. nested-attributes: profile
  850. -
  851. name: tx-profile
  852. type: nest
  853. nested-attributes: profile
  854. -
  855. name: pause-stat
  856. attr-cnt-name: __ethtool-a-pause-stat-cnt
  857. attributes:
  858. -
  859. name: unspec
  860. type: unused
  861. value: 0
  862. -
  863. name: pad
  864. type: pad
  865. -
  866. name: tx-frames
  867. type: u64
  868. -
  869. name: rx-frames
  870. type: u64
  871. -
  872. name: pause
  873. attr-cnt-name: __ethtool-a-pause-cnt
  874. attributes:
  875. -
  876. name: unspec
  877. type: unused
  878. value: 0
  879. -
  880. name: header
  881. type: nest
  882. nested-attributes: header
  883. -
  884. name: autoneg
  885. type: u8
  886. -
  887. name: rx
  888. type: u8
  889. -
  890. name: tx
  891. type: u8
  892. -
  893. name: stats
  894. type: nest
  895. nested-attributes: pause-stat
  896. -
  897. name: stats-src
  898. type: u32
  899. -
  900. name: eee
  901. attr-cnt-name: __ethtool-a-eee-cnt
  902. attributes:
  903. -
  904. name: unspec
  905. type: unused
  906. value: 0
  907. -
  908. name: header
  909. type: nest
  910. nested-attributes: header
  911. -
  912. name: modes-ours
  913. type: nest
  914. nested-attributes: bitset
  915. -
  916. name: modes-peer
  917. type: nest
  918. nested-attributes: bitset
  919. -
  920. name: active
  921. type: u8
  922. -
  923. name: enabled
  924. type: u8
  925. -
  926. name: tx-lpi-enabled
  927. type: u8
  928. -
  929. name: tx-lpi-timer
  930. type: u32
  931. -
  932. name: ts-stat
  933. attr-cnt-name: __ethtool-a-ts-stat-cnt
  934. attributes:
  935. -
  936. name: unspec
  937. type: unused
  938. value: 0
  939. -
  940. name: tx-pkts
  941. type: uint
  942. -
  943. name: tx-lost
  944. type: uint
  945. -
  946. name: tx-err
  947. type: uint
  948. -
  949. name: tx-onestep-pkts-unconfirmed
  950. type: uint
  951. -
  952. name: ts-hwtstamp-provider
  953. attr-cnt-name: __ethtool-a-ts-hwtstamp-provider-cnt
  954. attributes:
  955. -
  956. name: unspec
  957. type: unused
  958. value: 0
  959. -
  960. name: index
  961. type: u32
  962. -
  963. name: qualifier
  964. type: u32
  965. -
  966. name: tsinfo
  967. attr-cnt-name: __ethtool-a-tsinfo-cnt
  968. attributes:
  969. -
  970. name: unspec
  971. type: unused
  972. value: 0
  973. -
  974. name: header
  975. type: nest
  976. nested-attributes: header
  977. -
  978. name: timestamping
  979. type: nest
  980. nested-attributes: bitset
  981. -
  982. name: tx-types
  983. type: nest
  984. nested-attributes: bitset
  985. -
  986. name: rx-filters
  987. type: nest
  988. nested-attributes: bitset
  989. -
  990. name: phc-index
  991. type: u32
  992. -
  993. name: stats
  994. type: nest
  995. nested-attributes: ts-stat
  996. -
  997. name: hwtstamp-provider
  998. type: nest
  999. nested-attributes: ts-hwtstamp-provider
  1000. -
  1001. name: hwtstamp-source
  1002. type: u32
  1003. enum: hwtstamp-source
  1004. -
  1005. name: hwtstamp-phyindex
  1006. type: u32
  1007. -
  1008. name: cable-result
  1009. attr-cnt-name: __ethtool-a-cable-result-cnt
  1010. attributes:
  1011. -
  1012. name: unspec
  1013. type: unused
  1014. value: 0
  1015. -
  1016. name: pair
  1017. doc: ETHTOOL_A_CABLE_PAIR
  1018. type: u8
  1019. -
  1020. name: code
  1021. doc: ETHTOOL_A_CABLE_RESULT_CODE
  1022. type: u8
  1023. -
  1024. name: src
  1025. doc: ETHTOOL_A_CABLE_INF_SRC
  1026. type: u32
  1027. -
  1028. name: cable-fault-length
  1029. attr-cnt-name: __ethtool-a-cable-fault-length-cnt
  1030. attributes:
  1031. -
  1032. name: unspec
  1033. type: unused
  1034. value: 0
  1035. -
  1036. name: pair
  1037. type: u8
  1038. -
  1039. name: cm
  1040. type: u32
  1041. -
  1042. name: src
  1043. type: u32
  1044. -
  1045. name: cable-nest
  1046. attr-cnt-name: __ethtool-a-cable-nest-cnt
  1047. attributes:
  1048. -
  1049. name: unspec
  1050. type: unused
  1051. value: 0
  1052. -
  1053. name: result
  1054. type: nest
  1055. nested-attributes: cable-result
  1056. -
  1057. name: fault-length
  1058. type: nest
  1059. nested-attributes: cable-fault-length
  1060. -
  1061. name: cable-test
  1062. attr-cnt-name: __ethtool-a-cable-test-cnt
  1063. attributes:
  1064. -
  1065. name: unspec
  1066. type: unused
  1067. value: 0
  1068. -
  1069. name: header
  1070. type: nest
  1071. nested-attributes: header
  1072. -
  1073. name: cable-test-ntf
  1074. attr-cnt-name: __ethtool-a-cable-test-ntf-cnt
  1075. attributes:
  1076. -
  1077. name: unspec
  1078. type: unused
  1079. value: 0
  1080. -
  1081. name: header
  1082. type: nest
  1083. nested-attributes: header
  1084. -
  1085. name: status
  1086. doc: _STARTED/_COMPLETE
  1087. type: u8
  1088. -
  1089. name: nest
  1090. type: nest
  1091. nested-attributes: cable-nest
  1092. -
  1093. name: cable-test-tdr-cfg
  1094. attr-cnt-name: __ethtool-a-cable-test-tdr-cfg-cnt
  1095. attributes:
  1096. -
  1097. name: unspec
  1098. type: unused
  1099. value: 0
  1100. -
  1101. name: first
  1102. type: u32
  1103. -
  1104. name: last
  1105. type: u32
  1106. -
  1107. name: step
  1108. type: u32
  1109. -
  1110. name: pair
  1111. type: u8
  1112. -
  1113. name: cable-test-tdr-ntf
  1114. attr-cnt-name: __ethtool-a-cable-test-tdr-ntf-cnt
  1115. attributes:
  1116. -
  1117. name: unspec
  1118. type: unused
  1119. value: 0
  1120. -
  1121. name: header
  1122. type: nest
  1123. nested-attributes: header
  1124. -
  1125. name: status
  1126. type: u8
  1127. -
  1128. name: nest
  1129. type: nest
  1130. nested-attributes: cable-nest
  1131. -
  1132. name: cable-test-tdr
  1133. attr-cnt-name: __ethtool-a-cable-test-tdr-cnt
  1134. attributes:
  1135. -
  1136. name: unspec
  1137. type: unused
  1138. value: 0
  1139. -
  1140. name: header
  1141. type: nest
  1142. nested-attributes: header
  1143. -
  1144. name: cfg
  1145. type: nest
  1146. nested-attributes: cable-test-tdr-cfg
  1147. -
  1148. name: tunnel-udp-entry
  1149. attr-cnt-name: __ethtool-a-tunnel-udp-entry-cnt
  1150. attributes:
  1151. -
  1152. name: unspec
  1153. type: unused
  1154. value: 0
  1155. -
  1156. name: port
  1157. type: u16
  1158. byte-order: big-endian
  1159. -
  1160. name: type
  1161. type: u32
  1162. enum: udp-tunnel-type
  1163. -
  1164. name: tunnel-udp-table
  1165. attr-cnt-name: __ethtool-a-tunnel-udp-table-cnt
  1166. attributes:
  1167. -
  1168. name: unspec
  1169. type: unused
  1170. value: 0
  1171. -
  1172. name: size
  1173. type: u32
  1174. -
  1175. name: types
  1176. type: nest
  1177. nested-attributes: bitset
  1178. -
  1179. name: entry
  1180. type: nest
  1181. multi-attr: true
  1182. nested-attributes: tunnel-udp-entry
  1183. -
  1184. name: tunnel-udp
  1185. attr-cnt-name: __ethtool-a-tunnel-udp-cnt
  1186. attributes:
  1187. -
  1188. name: unspec
  1189. type: unused
  1190. value: 0
  1191. -
  1192. name: table
  1193. type: nest
  1194. nested-attributes: tunnel-udp-table
  1195. -
  1196. name: tunnel-info
  1197. attr-cnt-name: __ethtool-a-tunnel-info-cnt
  1198. attributes:
  1199. -
  1200. name: unspec
  1201. type: unused
  1202. value: 0
  1203. -
  1204. name: header
  1205. type: nest
  1206. nested-attributes: header
  1207. -
  1208. name: udp-ports
  1209. type: nest
  1210. nested-attributes: tunnel-udp
  1211. -
  1212. name: fec-hist
  1213. attr-cnt-name: --ethtool-a-fec-hist-cnt
  1214. attributes:
  1215. -
  1216. name: pad
  1217. type: pad
  1218. -
  1219. name: bin-low
  1220. type: u32
  1221. doc: Low bound of FEC bin (inclusive)
  1222. -
  1223. name: bin-high
  1224. type: u32
  1225. doc: High bound of FEC bin (inclusive)
  1226. -
  1227. name: bin-val
  1228. type: uint
  1229. doc: Error count in the bin (optional if per-lane values exist)
  1230. -
  1231. name: bin-val-per-lane
  1232. type: binary
  1233. sub-type: u64
  1234. doc: An array of per-lane error counters in the bin (optional)
  1235. -
  1236. name: fec-stat
  1237. attr-cnt-name: __ethtool-a-fec-stat-cnt
  1238. attributes:
  1239. -
  1240. name: unspec
  1241. type: unused
  1242. value: 0
  1243. -
  1244. name: pad
  1245. type: pad
  1246. -
  1247. name: corrected
  1248. type: binary
  1249. sub-type: u64
  1250. -
  1251. name: uncorr
  1252. type: binary
  1253. sub-type: u64
  1254. -
  1255. name: corr-bits
  1256. type: binary
  1257. sub-type: u64
  1258. -
  1259. name: hist
  1260. type: nest
  1261. multi-attr: true
  1262. nested-attributes: fec-hist
  1263. -
  1264. name: fec
  1265. attr-cnt-name: __ethtool-a-fec-cnt
  1266. attributes:
  1267. -
  1268. name: unspec
  1269. type: unused
  1270. value: 0
  1271. -
  1272. name: header
  1273. type: nest
  1274. nested-attributes: header
  1275. -
  1276. name: modes
  1277. type: nest
  1278. nested-attributes: bitset
  1279. -
  1280. name: auto
  1281. type: u8
  1282. -
  1283. name: active
  1284. type: u32
  1285. -
  1286. name: stats
  1287. type: nest
  1288. nested-attributes: fec-stat
  1289. -
  1290. name: module-eeprom
  1291. attr-cnt-name: __ethtool-a-module-eeprom-cnt
  1292. attributes:
  1293. -
  1294. name: unspec
  1295. type: unused
  1296. value: 0
  1297. -
  1298. name: header
  1299. type: nest
  1300. nested-attributes: header
  1301. -
  1302. name: offset
  1303. type: u32
  1304. -
  1305. name: length
  1306. type: u32
  1307. -
  1308. name: page
  1309. type: u8
  1310. -
  1311. name: bank
  1312. type: u8
  1313. -
  1314. name: i2c-address
  1315. type: u8
  1316. -
  1317. name: data
  1318. type: binary
  1319. -
  1320. name: stats-grp
  1321. attr-cnt-name: __ethtool-a-stats-grp-cnt
  1322. attributes:
  1323. -
  1324. name: unspec
  1325. type: unused
  1326. value: 0
  1327. -
  1328. name: pad
  1329. type: pad
  1330. -
  1331. name: id
  1332. type: u32
  1333. -
  1334. name: ss-id
  1335. type: u32
  1336. -
  1337. name: stat
  1338. type: u64
  1339. type-value: [id]
  1340. -
  1341. name: hist-rx
  1342. type: nest
  1343. nested-attributes: stats-grp-hist
  1344. -
  1345. name: hist-tx
  1346. type: nest
  1347. nested-attributes: stats-grp-hist
  1348. -
  1349. name: hist-bkt-low
  1350. type: u32
  1351. -
  1352. name: hist-bkt-hi
  1353. type: u32
  1354. -
  1355. name: hist-val
  1356. type: u64
  1357. -
  1358. name: stats-grp-hist
  1359. subset-of: stats-grp
  1360. attributes:
  1361. -
  1362. name: hist-bkt-low
  1363. -
  1364. name: hist-bkt-hi
  1365. -
  1366. name: hist-val
  1367. -
  1368. name: stats
  1369. attr-cnt-name: __ethtool-a-stats-cnt
  1370. attributes:
  1371. -
  1372. name: unspec
  1373. type: unused
  1374. value: 0
  1375. -
  1376. name: pad
  1377. type: pad
  1378. -
  1379. name: header
  1380. type: nest
  1381. nested-attributes: header
  1382. -
  1383. name: groups
  1384. type: nest
  1385. nested-attributes: bitset
  1386. -
  1387. name: grp
  1388. type: nest
  1389. nested-attributes: stats-grp
  1390. -
  1391. name: src
  1392. type: u32
  1393. -
  1394. name: phc-vclocks
  1395. attr-cnt-name: __ethtool-a-phc-vclocks-cnt
  1396. attributes:
  1397. -
  1398. name: unspec
  1399. type: unused
  1400. value: 0
  1401. -
  1402. name: header
  1403. type: nest
  1404. nested-attributes: header
  1405. -
  1406. name: num
  1407. type: u32
  1408. -
  1409. name: index
  1410. type: binary
  1411. sub-type: s32
  1412. -
  1413. name: module
  1414. attr-cnt-name: __ethtool-a-module-cnt
  1415. attributes:
  1416. -
  1417. name: unspec
  1418. type: unused
  1419. value: 0
  1420. -
  1421. name: header
  1422. type: nest
  1423. nested-attributes: header
  1424. -
  1425. name: power-mode-policy
  1426. type: u8
  1427. -
  1428. name: power-mode
  1429. type: u8
  1430. -
  1431. name: c33-pse-pw-limit
  1432. attr-cnt-name: __ethtool-a-c33-pse-pw-limit-cnt
  1433. attr-max-name: __ethtool-a-c33-pse-pw-limit-max
  1434. attributes:
  1435. -
  1436. name: unspec
  1437. type: unused
  1438. value: 0
  1439. -
  1440. name: min
  1441. type: u32
  1442. -
  1443. name: max
  1444. type: u32
  1445. -
  1446. name: pse
  1447. attr-cnt-name: __ethtool-a-pse-cnt
  1448. attributes:
  1449. -
  1450. name: unspec
  1451. type: unused
  1452. value: 0
  1453. -
  1454. name: header
  1455. type: nest
  1456. nested-attributes: header
  1457. -
  1458. name: podl-pse-admin-state
  1459. type: u32
  1460. name-prefix: ethtool-a-
  1461. -
  1462. name: podl-pse-admin-control
  1463. type: u32
  1464. name-prefix: ethtool-a-
  1465. -
  1466. name: podl-pse-pw-d-status
  1467. type: u32
  1468. name-prefix: ethtool-a-
  1469. -
  1470. name: c33-pse-admin-state
  1471. type: u32
  1472. name-prefix: ethtool-a-
  1473. -
  1474. name: c33-pse-admin-control
  1475. type: u32
  1476. name-prefix: ethtool-a-
  1477. -
  1478. name: c33-pse-pw-d-status
  1479. type: u32
  1480. name-prefix: ethtool-a-
  1481. -
  1482. name: c33-pse-pw-class
  1483. type: u32
  1484. name-prefix: ethtool-a-
  1485. -
  1486. name: c33-pse-actual-pw
  1487. type: u32
  1488. name-prefix: ethtool-a-
  1489. -
  1490. name: c33-pse-ext-state
  1491. type: u32
  1492. name-prefix: ethtool-a-
  1493. enum: c33-pse-ext-state
  1494. -
  1495. name: c33-pse-ext-substate
  1496. type: u32
  1497. name-prefix: ethtool-a-
  1498. -
  1499. name: c33-pse-avail-pw-limit
  1500. type: u32
  1501. name-prefix: ethtool-a-
  1502. -
  1503. name: c33-pse-pw-limit-ranges
  1504. name-prefix: ethtool-a-
  1505. type: nest
  1506. multi-attr: true
  1507. nested-attributes: c33-pse-pw-limit
  1508. -
  1509. name: pse-pw-d-id
  1510. type: u32
  1511. name-prefix: ethtool-a-
  1512. -
  1513. name: pse-prio-max
  1514. type: u32
  1515. name-prefix: ethtool-a-
  1516. -
  1517. name: pse-prio
  1518. type: u32
  1519. name-prefix: ethtool-a-
  1520. -
  1521. name: flow
  1522. attr-cnt-name: --ethtool-a-flow-cnt
  1523. doc: |
  1524. Flow types, corresponding to those defined in the old
  1525. ethtool header for RXFH and RXNFC as ${PROTO}_FLOW.
  1526. The values are not matching the old ones to avoid carrying
  1527. into Netlink the IP_USER_FLOW vs IPV4_FLOW vs IPV4_USER_FLOW confusion.
  1528. attributes:
  1529. -
  1530. name: ether
  1531. type: uint
  1532. enum: rxfh-fields
  1533. -
  1534. name: ip4
  1535. type: uint
  1536. enum: rxfh-fields
  1537. -
  1538. name: ip6
  1539. type: uint
  1540. enum: rxfh-fields
  1541. -
  1542. name: tcp4
  1543. type: uint
  1544. enum: rxfh-fields
  1545. -
  1546. name: tcp6
  1547. type: uint
  1548. enum: rxfh-fields
  1549. -
  1550. name: udp4
  1551. type: uint
  1552. enum: rxfh-fields
  1553. -
  1554. name: udp6
  1555. type: uint
  1556. enum: rxfh-fields
  1557. -
  1558. name: sctp4
  1559. type: uint
  1560. enum: rxfh-fields
  1561. -
  1562. name: sctp6
  1563. type: uint
  1564. enum: rxfh-fields
  1565. -
  1566. name: ah4
  1567. type: uint
  1568. enum: rxfh-fields
  1569. -
  1570. name: ah6
  1571. type: uint
  1572. enum: rxfh-fields
  1573. -
  1574. name: esp4
  1575. type: uint
  1576. enum: rxfh-fields
  1577. -
  1578. name: esp6
  1579. type: uint
  1580. enum: rxfh-fields
  1581. -
  1582. name: ah-esp4
  1583. type: uint
  1584. enum: rxfh-fields
  1585. -
  1586. name: ah-esp6
  1587. type: uint
  1588. enum: rxfh-fields
  1589. -
  1590. name: gtpu4
  1591. type: uint
  1592. enum: rxfh-fields
  1593. -
  1594. name: gtpu6
  1595. type: uint
  1596. enum: rxfh-fields
  1597. -
  1598. name: gtpc4
  1599. type: uint
  1600. enum: rxfh-fields
  1601. -
  1602. name: gtpc6
  1603. type: uint
  1604. enum: rxfh-fields
  1605. -
  1606. name: gtpc-teid4
  1607. type: uint
  1608. enum: rxfh-fields
  1609. -
  1610. name: gtpc-teid6
  1611. type: uint
  1612. enum: rxfh-fields
  1613. -
  1614. name: gtpu-eh4
  1615. type: uint
  1616. enum: rxfh-fields
  1617. -
  1618. name: gtpu-eh6
  1619. type: uint
  1620. enum: rxfh-fields
  1621. -
  1622. name: gtpu-ul4
  1623. type: uint
  1624. enum: rxfh-fields
  1625. -
  1626. name: gtpu-ul6
  1627. type: uint
  1628. enum: rxfh-fields
  1629. -
  1630. name: gtpu-dl4
  1631. type: uint
  1632. enum: rxfh-fields
  1633. -
  1634. name: gtpu-dl6
  1635. type: uint
  1636. enum: rxfh-fields
  1637. -
  1638. name: rss
  1639. attr-cnt-name: __ethtool-a-rss-cnt
  1640. attributes:
  1641. -
  1642. name: unspec
  1643. type: unused
  1644. value: 0
  1645. -
  1646. name: header
  1647. type: nest
  1648. nested-attributes: header
  1649. -
  1650. name: context
  1651. type: u32
  1652. -
  1653. name: hfunc
  1654. type: u32
  1655. -
  1656. name: indir
  1657. type: binary
  1658. sub-type: u32
  1659. -
  1660. name: hkey
  1661. type: binary
  1662. -
  1663. name: input-xfrm
  1664. type: u32
  1665. enum: input-xfrm
  1666. -
  1667. name: start-context
  1668. type: u32
  1669. -
  1670. name: flow-hash
  1671. type: nest
  1672. nested-attributes: flow
  1673. -
  1674. name: plca
  1675. attr-cnt-name: __ethtool-a-plca-cnt
  1676. attributes:
  1677. -
  1678. name: unspec
  1679. type: unused
  1680. value: 0
  1681. -
  1682. name: header
  1683. type: nest
  1684. nested-attributes: header
  1685. -
  1686. name: version
  1687. type: u16
  1688. -
  1689. name: enabled
  1690. type: u8
  1691. -
  1692. name: status
  1693. type: u8
  1694. -
  1695. name: node-cnt
  1696. type: u32
  1697. -
  1698. name: node-id
  1699. type: u32
  1700. -
  1701. name: to-tmr
  1702. type: u32
  1703. -
  1704. name: burst-cnt
  1705. type: u32
  1706. -
  1707. name: burst-tmr
  1708. type: u32
  1709. -
  1710. name: module-fw-flash
  1711. attr-cnt-name: __ethtool-a-module-fw-flash-cnt
  1712. attributes:
  1713. -
  1714. name: unspec
  1715. type: unused
  1716. value: 0
  1717. -
  1718. name: header
  1719. type: nest
  1720. nested-attributes: header
  1721. -
  1722. name: file-name
  1723. type: string
  1724. -
  1725. name: password
  1726. type: u32
  1727. -
  1728. name: status
  1729. type: u32
  1730. enum: module-fw-flash-status
  1731. -
  1732. name: status-msg
  1733. type: string
  1734. -
  1735. name: done
  1736. type: uint
  1737. -
  1738. name: total
  1739. type: uint
  1740. -
  1741. name: phy
  1742. attr-cnt-name: __ethtool-a-phy-cnt
  1743. attributes:
  1744. -
  1745. name: unspec
  1746. type: unused
  1747. value: 0
  1748. -
  1749. name: header
  1750. type: nest
  1751. nested-attributes: header
  1752. -
  1753. name: index
  1754. type: u32
  1755. -
  1756. name: drvname
  1757. type: string
  1758. -
  1759. name: name
  1760. type: string
  1761. -
  1762. name: upstream-type
  1763. type: u32
  1764. enum: phy-upstream-type
  1765. -
  1766. name: upstream-index
  1767. type: u32
  1768. -
  1769. name: upstream-sfp-name
  1770. type: string
  1771. -
  1772. name: downstream-sfp-name
  1773. type: string
  1774. -
  1775. name: tsconfig
  1776. attr-cnt-name: __ethtool-a-tsconfig-cnt
  1777. attributes:
  1778. -
  1779. name: unspec
  1780. type: unused
  1781. value: 0
  1782. -
  1783. name: header
  1784. type: nest
  1785. nested-attributes: header
  1786. -
  1787. name: hwtstamp-provider
  1788. type: nest
  1789. nested-attributes: ts-hwtstamp-provider
  1790. -
  1791. name: tx-types
  1792. type: nest
  1793. nested-attributes: bitset
  1794. -
  1795. name: rx-filters
  1796. type: nest
  1797. nested-attributes: bitset
  1798. -
  1799. name: hwtstamp-flags
  1800. type: nest
  1801. nested-attributes: bitset
  1802. -
  1803. name: pse-ntf
  1804. attr-cnt-name: --ethtool-a-pse-ntf-cnt
  1805. attributes:
  1806. -
  1807. name: header
  1808. type: nest
  1809. nested-attributes: header
  1810. -
  1811. name: events
  1812. type: uint
  1813. enum: pse-event
  1814. doc: List of events reported by the PSE controller
  1815. -
  1816. name: mse-capabilities
  1817. doc: MSE capabilities attribute set
  1818. attr-cnt-name: --ethtool-a-mse-capabilities-cnt
  1819. attributes:
  1820. -
  1821. name: max-average-mse
  1822. type: uint
  1823. -
  1824. name: max-peak-mse
  1825. type: uint
  1826. -
  1827. name: refresh-rate-ps
  1828. type: uint
  1829. -
  1830. name: num-symbols
  1831. type: uint
  1832. -
  1833. name: mse-snapshot
  1834. doc: MSE snapshot attribute set
  1835. attr-cnt-name: --ethtool-a-mse-snapshot-cnt
  1836. attributes:
  1837. -
  1838. name: average-mse
  1839. type: uint
  1840. -
  1841. name: peak-mse
  1842. type: uint
  1843. -
  1844. name: worst-peak-mse
  1845. type: uint
  1846. -
  1847. name: mse
  1848. attr-cnt-name: --ethtool-a-mse-cnt
  1849. attributes:
  1850. -
  1851. name: header
  1852. type: nest
  1853. nested-attributes: header
  1854. -
  1855. name: capabilities
  1856. type: nest
  1857. nested-attributes: mse-capabilities
  1858. -
  1859. name: channel-a
  1860. type: nest
  1861. nested-attributes: mse-snapshot
  1862. -
  1863. name: channel-b
  1864. type: nest
  1865. nested-attributes: mse-snapshot
  1866. -
  1867. name: channel-c
  1868. type: nest
  1869. nested-attributes: mse-snapshot
  1870. -
  1871. name: channel-d
  1872. type: nest
  1873. nested-attributes: mse-snapshot
  1874. -
  1875. name: worst-channel
  1876. type: nest
  1877. nested-attributes: mse-snapshot
  1878. -
  1879. name: link
  1880. type: nest
  1881. nested-attributes: mse-snapshot
  1882. operations:
  1883. enum-model: directional
  1884. name-prefix: ethtool-msg-
  1885. list:
  1886. -
  1887. name: strset-get
  1888. doc: Get string set from the kernel.
  1889. attribute-set: strset
  1890. do: &strset-get-op
  1891. request:
  1892. attributes:
  1893. - header
  1894. - stringsets
  1895. - counts-only
  1896. reply:
  1897. attributes:
  1898. - header
  1899. - stringsets
  1900. dump: *strset-get-op
  1901. -
  1902. name: linkinfo-get
  1903. doc: Get link info.
  1904. attribute-set: linkinfo
  1905. do: &linkinfo-get-op
  1906. request:
  1907. attributes:
  1908. - header
  1909. reply:
  1910. attributes: &linkinfo
  1911. - header
  1912. - port
  1913. - phyaddr
  1914. - tp-mdix
  1915. - tp-mdix-ctrl
  1916. - transceiver
  1917. dump: *linkinfo-get-op
  1918. -
  1919. name: linkinfo-set
  1920. doc: Set link info.
  1921. attribute-set: linkinfo
  1922. do:
  1923. request:
  1924. attributes: *linkinfo
  1925. -
  1926. name: linkinfo-ntf
  1927. doc: Notification for change in link info.
  1928. notify: linkinfo-get
  1929. -
  1930. name: linkmodes-get
  1931. doc: Get link modes.
  1932. attribute-set: linkmodes
  1933. do: &linkmodes-get-op
  1934. request:
  1935. attributes:
  1936. - header
  1937. reply:
  1938. attributes: &linkmodes
  1939. - header
  1940. - autoneg
  1941. - ours
  1942. - peer
  1943. - speed
  1944. - duplex
  1945. - master-slave-cfg
  1946. - master-slave-state
  1947. - lanes
  1948. - rate-matching
  1949. dump: *linkmodes-get-op
  1950. -
  1951. name: linkmodes-set
  1952. doc: Set link modes.
  1953. attribute-set: linkmodes
  1954. do:
  1955. request:
  1956. attributes: *linkmodes
  1957. -
  1958. name: linkmodes-ntf
  1959. doc: Notification for change in link modes.
  1960. notify: linkmodes-get
  1961. -
  1962. name: linkstate-get
  1963. doc: Get link state.
  1964. attribute-set: linkstate
  1965. do: &linkstate-get-op
  1966. request:
  1967. attributes:
  1968. - header
  1969. reply:
  1970. attributes:
  1971. - header
  1972. - link
  1973. - sqi
  1974. - sqi-max
  1975. - ext-state
  1976. - ext-substate
  1977. - ext-down-cnt
  1978. dump: *linkstate-get-op
  1979. -
  1980. name: debug-get
  1981. doc: Get debug message mask.
  1982. attribute-set: debug
  1983. do: &debug-get-op
  1984. request:
  1985. attributes:
  1986. - header
  1987. reply:
  1988. attributes: &debug
  1989. - header
  1990. - msgmask
  1991. dump: *debug-get-op
  1992. -
  1993. name: debug-set
  1994. doc: Set debug message mask.
  1995. attribute-set: debug
  1996. do:
  1997. request:
  1998. attributes: *debug
  1999. -
  2000. name: debug-ntf
  2001. doc: Notification for change in debug message mask.
  2002. notify: debug-get
  2003. -
  2004. name: wol-get
  2005. doc: Get WOL params.
  2006. attribute-set: wol
  2007. do: &wol-get-op
  2008. request:
  2009. attributes:
  2010. - header
  2011. reply:
  2012. attributes: &wol
  2013. - header
  2014. - modes
  2015. - sopass
  2016. dump: *wol-get-op
  2017. -
  2018. name: wol-set
  2019. doc: Set WOL params.
  2020. attribute-set: wol
  2021. do:
  2022. request:
  2023. attributes: *wol
  2024. -
  2025. name: wol-ntf
  2026. doc: Notification for change in WOL params.
  2027. notify: wol-get
  2028. -
  2029. name: features-get
  2030. doc: Get features.
  2031. attribute-set: features
  2032. do: &feature-get-op
  2033. request:
  2034. attributes:
  2035. - header
  2036. reply:
  2037. attributes: &feature
  2038. - header
  2039. # User-changeable features.
  2040. - hw
  2041. # User-requested features.
  2042. - wanted
  2043. # Currently active features.
  2044. - active
  2045. # Unchangeable features.
  2046. - nochange
  2047. dump: *feature-get-op
  2048. -
  2049. name: features-set
  2050. doc: Set features.
  2051. attribute-set: features
  2052. do: &feature-set-op
  2053. request:
  2054. attributes: *feature
  2055. reply:
  2056. attributes: *feature
  2057. -
  2058. name: features-ntf
  2059. doc: Notification for change in features.
  2060. notify: features-get
  2061. -
  2062. name: privflags-get
  2063. doc: Get device private flags.
  2064. attribute-set: privflags
  2065. do: &privflag-get-op
  2066. request:
  2067. attributes:
  2068. - header
  2069. reply:
  2070. attributes: &privflag
  2071. - header
  2072. - flags
  2073. dump: *privflag-get-op
  2074. -
  2075. name: privflags-set
  2076. doc: Set device private flags.
  2077. attribute-set: privflags
  2078. do:
  2079. request:
  2080. attributes: *privflag
  2081. -
  2082. name: privflags-ntf
  2083. doc: Notification for change in device private flags.
  2084. notify: privflags-get
  2085. -
  2086. name: rings-get
  2087. doc: Get ring params.
  2088. attribute-set: rings
  2089. do: &ring-get-op
  2090. request:
  2091. attributes:
  2092. - header
  2093. reply:
  2094. attributes: &ring
  2095. - header
  2096. - rx-max
  2097. - rx-mini-max
  2098. - rx-jumbo-max
  2099. - tx-max
  2100. - rx
  2101. - rx-mini
  2102. - rx-jumbo
  2103. - tx
  2104. - rx-buf-len
  2105. - tcp-data-split
  2106. - cqe-size
  2107. - tx-push
  2108. - rx-push
  2109. - tx-push-buf-len
  2110. - tx-push-buf-len-max
  2111. - hds-thresh
  2112. - hds-thresh-max
  2113. dump: *ring-get-op
  2114. -
  2115. name: rings-set
  2116. doc: Set ring params.
  2117. attribute-set: rings
  2118. do:
  2119. request:
  2120. attributes: *ring
  2121. -
  2122. name: rings-ntf
  2123. doc: Notification for change in ring params.
  2124. notify: rings-get
  2125. -
  2126. name: channels-get
  2127. doc: Get channel params.
  2128. attribute-set: channels
  2129. do: &channel-get-op
  2130. request:
  2131. attributes:
  2132. - header
  2133. reply:
  2134. attributes: &channel
  2135. - header
  2136. - rx-max
  2137. - tx-max
  2138. - other-max
  2139. - combined-max
  2140. - rx-count
  2141. - tx-count
  2142. - other-count
  2143. - combined-count
  2144. dump: *channel-get-op
  2145. -
  2146. name: channels-set
  2147. doc: Set channel params.
  2148. attribute-set: channels
  2149. do:
  2150. request:
  2151. attributes: *channel
  2152. -
  2153. name: channels-ntf
  2154. doc: Notification for change in channel params.
  2155. notify: channels-get
  2156. -
  2157. name: coalesce-get
  2158. doc: Get coalesce params.
  2159. attribute-set: coalesce
  2160. do: &coalesce-get-op
  2161. request:
  2162. attributes:
  2163. - header
  2164. reply:
  2165. attributes: &coalesce
  2166. - header
  2167. - rx-usecs
  2168. - rx-max-frames
  2169. - rx-usecs-irq
  2170. - rx-max-frames-irq
  2171. - tx-usecs
  2172. - tx-max-frames
  2173. - tx-usecs-irq
  2174. - tx-max-frames-irq
  2175. - stats-block-usecs
  2176. - use-adaptive-rx
  2177. - use-adaptive-tx
  2178. - pkt-rate-low
  2179. - rx-usecs-low
  2180. - rx-max-frames-low
  2181. - tx-usecs-low
  2182. - tx-max-frames-low
  2183. - pkt-rate-high
  2184. - rx-usecs-high
  2185. - rx-max-frames-high
  2186. - tx-usecs-high
  2187. - tx-max-frames-high
  2188. - rate-sample-interval
  2189. - use-cqe-mode-tx
  2190. - use-cqe-mode-rx
  2191. - tx-aggr-max-bytes
  2192. - tx-aggr-max-frames
  2193. - tx-aggr-time-usecs
  2194. - rx-profile
  2195. - tx-profile
  2196. dump: *coalesce-get-op
  2197. -
  2198. name: coalesce-set
  2199. doc: Set coalesce params.
  2200. attribute-set: coalesce
  2201. do:
  2202. request:
  2203. attributes: *coalesce
  2204. -
  2205. name: coalesce-ntf
  2206. doc: Notification for change in coalesce params.
  2207. notify: coalesce-get
  2208. -
  2209. name: pause-get
  2210. doc: Get pause params.
  2211. attribute-set: pause
  2212. do: &pause-get-op
  2213. request:
  2214. attributes:
  2215. - header
  2216. reply:
  2217. attributes: &pause
  2218. - header
  2219. - autoneg
  2220. - rx
  2221. - tx
  2222. - stats
  2223. - stats-src
  2224. dump: *pause-get-op
  2225. -
  2226. name: pause-set
  2227. doc: Set pause params.
  2228. attribute-set: pause
  2229. do:
  2230. request:
  2231. attributes: *pause
  2232. -
  2233. name: pause-ntf
  2234. doc: Notification for change in pause params.
  2235. notify: pause-get
  2236. -
  2237. name: eee-get
  2238. doc: Get eee params.
  2239. attribute-set: eee
  2240. do: &eee-get-op
  2241. request:
  2242. attributes:
  2243. - header
  2244. reply:
  2245. attributes: &eee
  2246. - header
  2247. - modes-ours
  2248. - modes-peer
  2249. - active
  2250. - enabled
  2251. - tx-lpi-enabled
  2252. - tx-lpi-timer
  2253. dump: *eee-get-op
  2254. -
  2255. name: eee-set
  2256. doc: Set eee params.
  2257. attribute-set: eee
  2258. do:
  2259. request:
  2260. attributes: *eee
  2261. -
  2262. name: eee-ntf
  2263. doc: Notification for change in eee params.
  2264. notify: eee-get
  2265. -
  2266. name: tsinfo-get
  2267. doc: Get tsinfo params.
  2268. attribute-set: tsinfo
  2269. do: &tsinfo-get-op
  2270. request:
  2271. attributes:
  2272. - header
  2273. - hwtstamp-provider
  2274. reply:
  2275. attributes:
  2276. - header
  2277. - timestamping
  2278. - tx-types
  2279. - rx-filters
  2280. - phc-index
  2281. - stats
  2282. - hwtstamp-provider
  2283. - hwtstamp-source
  2284. - hwtstamp-phyindex
  2285. dump: *tsinfo-get-op
  2286. -
  2287. name: cable-test-act
  2288. doc: Cable test.
  2289. attribute-set: cable-test
  2290. do:
  2291. request:
  2292. attributes:
  2293. - header
  2294. -
  2295. name: cable-test-ntf
  2296. doc: Cable test notification.
  2297. attribute-set: cable-test-ntf
  2298. event:
  2299. attributes:
  2300. - header
  2301. - status
  2302. -
  2303. name: cable-test-tdr-act
  2304. doc: Cable test TDR.
  2305. attribute-set: cable-test-tdr
  2306. do:
  2307. request:
  2308. attributes:
  2309. - header
  2310. -
  2311. name: cable-test-tdr-ntf
  2312. doc: Cable test TDR notification.
  2313. attribute-set: cable-test-tdr-ntf
  2314. event:
  2315. attributes:
  2316. - header
  2317. - status
  2318. - nest
  2319. -
  2320. name: tunnel-info-get
  2321. doc: Get tsinfo params.
  2322. attribute-set: tunnel-info
  2323. do: &tunnel-info-get-op
  2324. request:
  2325. attributes:
  2326. - header
  2327. reply:
  2328. attributes:
  2329. - header
  2330. - udp-ports
  2331. dump: *tunnel-info-get-op
  2332. -
  2333. name: fec-get
  2334. doc: Get FEC params.
  2335. attribute-set: fec
  2336. do: &fec-get-op
  2337. request:
  2338. attributes:
  2339. - header
  2340. reply:
  2341. attributes: &fec
  2342. - header
  2343. - modes
  2344. - auto
  2345. - active
  2346. - stats
  2347. dump: *fec-get-op
  2348. -
  2349. name: fec-set
  2350. doc: Set FEC params.
  2351. attribute-set: fec
  2352. do:
  2353. request:
  2354. attributes: *fec
  2355. -
  2356. name: fec-ntf
  2357. doc: Notification for change in FEC params.
  2358. notify: fec-get
  2359. -
  2360. name: module-eeprom-get
  2361. doc: Get module EEPROM params.
  2362. attribute-set: module-eeprom
  2363. do: &module-eeprom-get-op
  2364. request:
  2365. attributes:
  2366. - header
  2367. - offset
  2368. - length
  2369. - page
  2370. - bank
  2371. - i2c-address
  2372. reply:
  2373. attributes:
  2374. - header
  2375. - data
  2376. dump: *module-eeprom-get-op
  2377. -
  2378. name: stats-get
  2379. doc: Get statistics.
  2380. attribute-set: stats
  2381. do: &stats-get-op
  2382. request:
  2383. attributes:
  2384. - header
  2385. - groups
  2386. reply:
  2387. attributes:
  2388. - header
  2389. - groups
  2390. - grp
  2391. - src
  2392. dump: *stats-get-op
  2393. -
  2394. name: phc-vclocks-get
  2395. doc: Get PHC VCLOCKs.
  2396. attribute-set: phc-vclocks
  2397. do: &phc-vclocks-get-op
  2398. request:
  2399. attributes:
  2400. - header
  2401. reply:
  2402. attributes:
  2403. - header
  2404. - num
  2405. dump: *phc-vclocks-get-op
  2406. -
  2407. name: module-get
  2408. doc: Get module params.
  2409. attribute-set: module
  2410. do: &module-get-op
  2411. request:
  2412. attributes:
  2413. - header
  2414. reply:
  2415. attributes: &module
  2416. - header
  2417. - power-mode-policy
  2418. - power-mode
  2419. dump: *module-get-op
  2420. -
  2421. name: module-set
  2422. doc: Set module params.
  2423. attribute-set: module
  2424. do:
  2425. request:
  2426. attributes: *module
  2427. -
  2428. name: module-ntf
  2429. doc: Notification for change in module params.
  2430. notify: module-get
  2431. -
  2432. name: pse-get
  2433. doc: Get Power Sourcing Equipment params.
  2434. attribute-set: pse
  2435. do: &pse-get-op
  2436. request:
  2437. attributes:
  2438. - header
  2439. reply:
  2440. attributes:
  2441. - header
  2442. - podl-pse-admin-state
  2443. - podl-pse-admin-control
  2444. - podl-pse-pw-d-status
  2445. - c33-pse-admin-state
  2446. - c33-pse-admin-control
  2447. - c33-pse-pw-d-status
  2448. - c33-pse-pw-class
  2449. - c33-pse-actual-pw
  2450. - c33-pse-ext-state
  2451. - c33-pse-ext-substate
  2452. - c33-pse-avail-pw-limit
  2453. - c33-pse-pw-limit-ranges
  2454. - pse-pw-d-id
  2455. - pse-prio-max
  2456. - pse-prio
  2457. dump: *pse-get-op
  2458. -
  2459. name: pse-set
  2460. doc: Set Power Sourcing Equipment params.
  2461. attribute-set: pse
  2462. do:
  2463. request:
  2464. attributes:
  2465. - header
  2466. - podl-pse-admin-control
  2467. - c33-pse-admin-control
  2468. - c33-pse-avail-pw-limit
  2469. - pse-prio
  2470. -
  2471. name: rss-get
  2472. doc: Get RSS params.
  2473. attribute-set: rss
  2474. do:
  2475. request:
  2476. attributes:
  2477. - header
  2478. - context
  2479. reply: &rss-reply
  2480. attributes:
  2481. - header
  2482. - context
  2483. - hfunc
  2484. - indir
  2485. - hkey
  2486. - input-xfrm
  2487. - flow-hash
  2488. dump:
  2489. request:
  2490. attributes:
  2491. - header
  2492. - start-context
  2493. reply: *rss-reply
  2494. -
  2495. name: plca-get-cfg
  2496. doc: Get PLCA params.
  2497. attribute-set: plca
  2498. do: &plca-get-op
  2499. request:
  2500. attributes:
  2501. - header
  2502. reply:
  2503. attributes: &plca
  2504. - header
  2505. - version
  2506. - enabled
  2507. - status
  2508. - node-cnt
  2509. - node-id
  2510. - to-tmr
  2511. - burst-cnt
  2512. - burst-tmr
  2513. dump: *plca-get-op
  2514. -
  2515. name: plca-set-cfg
  2516. doc: Set PLCA params.
  2517. attribute-set: plca
  2518. do:
  2519. request:
  2520. attributes: *plca
  2521. -
  2522. name: plca-get-status
  2523. doc: Get PLCA status params.
  2524. attribute-set: plca
  2525. do: &plca-get-status-op
  2526. request:
  2527. attributes:
  2528. - header
  2529. reply:
  2530. attributes: *plca
  2531. dump: *plca-get-status-op
  2532. -
  2533. name: plca-ntf
  2534. doc: Notification for change in PLCA params.
  2535. notify: plca-get-cfg
  2536. -
  2537. name: mm-get
  2538. doc: Get MAC Merge configuration and state
  2539. attribute-set: mm
  2540. do: &mm-get-op
  2541. request:
  2542. attributes:
  2543. - header
  2544. reply:
  2545. attributes:
  2546. - header
  2547. - pmac-enabled
  2548. - tx-enabled
  2549. - tx-active
  2550. - tx-min-frag-size
  2551. - rx-min-frag-size
  2552. - verify-enabled
  2553. - verify-time
  2554. - max-verify-time
  2555. - stats
  2556. dump: *mm-get-op
  2557. -
  2558. name: mm-set
  2559. doc: Set MAC Merge configuration
  2560. attribute-set: mm
  2561. do:
  2562. request:
  2563. attributes:
  2564. - header
  2565. - verify-enabled
  2566. - verify-time
  2567. - tx-enabled
  2568. - pmac-enabled
  2569. - tx-min-frag-size
  2570. -
  2571. name: mm-ntf
  2572. doc: Notification for change in MAC Merge configuration.
  2573. notify: mm-get
  2574. -
  2575. name: module-fw-flash-act
  2576. doc: Flash transceiver module firmware.
  2577. attribute-set: module-fw-flash
  2578. do:
  2579. request:
  2580. attributes:
  2581. - header
  2582. - file-name
  2583. - password
  2584. -
  2585. name: module-fw-flash-ntf
  2586. doc: Notification for firmware flashing progress and status.
  2587. attribute-set: module-fw-flash
  2588. event:
  2589. attributes:
  2590. - header
  2591. - status
  2592. - status-msg
  2593. - done
  2594. - total
  2595. -
  2596. name: phy-get
  2597. doc: Get PHY devices attached to an interface
  2598. attribute-set: phy
  2599. do: &phy-get-op
  2600. request:
  2601. attributes:
  2602. - header
  2603. reply:
  2604. attributes:
  2605. - header
  2606. - index
  2607. - drvname
  2608. - name
  2609. - upstream-type
  2610. - upstream-index
  2611. - upstream-sfp-name
  2612. - downstream-sfp-name
  2613. dump: *phy-get-op
  2614. -
  2615. name: phy-ntf
  2616. doc: Notification for change in PHY devices.
  2617. notify: phy-get
  2618. -
  2619. name: tsconfig-get
  2620. doc: Get hwtstamp config.
  2621. attribute-set: tsconfig
  2622. do: &tsconfig-get-op
  2623. request:
  2624. attributes:
  2625. - header
  2626. reply:
  2627. attributes: &tsconfig
  2628. - header
  2629. - hwtstamp-provider
  2630. - tx-types
  2631. - rx-filters
  2632. - hwtstamp-flags
  2633. dump: *tsconfig-get-op
  2634. -
  2635. name: tsconfig-set
  2636. doc: Set hwtstamp config.
  2637. attribute-set: tsconfig
  2638. do:
  2639. request:
  2640. attributes: *tsconfig
  2641. reply:
  2642. attributes: *tsconfig
  2643. -
  2644. name: pse-ntf
  2645. doc: Notification for PSE events.
  2646. attribute-set: pse-ntf
  2647. event:
  2648. attributes:
  2649. - header
  2650. - events
  2651. -
  2652. name: rss-set
  2653. doc: Set RSS params.
  2654. attribute-set: rss
  2655. do:
  2656. request:
  2657. attributes:
  2658. - header
  2659. - context
  2660. - hfunc
  2661. - indir
  2662. - hkey
  2663. - input-xfrm
  2664. - flow-hash
  2665. -
  2666. name: rss-ntf
  2667. doc: |
  2668. Notification for change in RSS configuration.
  2669. For additional contexts only modifications use this notification,
  2670. creation and deletion have dedicated messages.
  2671. notify: rss-get
  2672. -
  2673. name: rss-create-act
  2674. doc: Create an RSS context.
  2675. attribute-set: rss
  2676. do:
  2677. request: &rss-create-attrs
  2678. attributes:
  2679. - header
  2680. - context
  2681. - hfunc
  2682. - indir
  2683. - hkey
  2684. - input-xfrm
  2685. reply: *rss-create-attrs
  2686. -
  2687. name: rss-create-ntf
  2688. doc: |
  2689. Notification for creation of an additional RSS context.
  2690. notify: rss-create-act
  2691. -
  2692. name: rss-delete-act
  2693. doc: Delete an RSS context.
  2694. attribute-set: rss
  2695. do:
  2696. request:
  2697. attributes:
  2698. - header
  2699. - context
  2700. -
  2701. name: rss-delete-ntf
  2702. doc: |
  2703. Notification for deletion of an additional RSS context.
  2704. attribute-set: rss
  2705. event:
  2706. attributes:
  2707. - header
  2708. - context
  2709. -
  2710. name: mse-get
  2711. doc: Get PHY MSE measurement data and capabilities.
  2712. attribute-set: mse
  2713. do: &mse-get-op
  2714. request:
  2715. attributes:
  2716. - header
  2717. reply:
  2718. attributes:
  2719. - header
  2720. - capabilities
  2721. - channel-a
  2722. - channel-b
  2723. - channel-c
  2724. - channel-d
  2725. - worst-channel
  2726. - link
  2727. dump: *mse-get-op
  2728. mcast-groups:
  2729. list:
  2730. -
  2731. name: monitor
  2732. c-define-name: ethtool-mcgrp-monitor-name