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