1 sysfs interface common for all infiniband devi 2 ---------------------------------------------- 3 4 What: /sys/class/infiniband/<device> 5 What: /sys/class/infiniband/<device> 6 What: /sys/class/infiniband/<device> 7 Date: Apr, 2005 8 KernelVersion: v2.6.12 9 Contact: linux-rdma@vger.kernel.org 10 Description: 11 =============== ============== 12 node_type: (RO) Node type 13 switch or rout 14 15 node_guid: (RO) Node GUID 16 17 sys_image_guid: (RO) System im 18 =============== ============== 19 20 21 What: /sys/class/infiniband/<device> 22 Date: Feb, 2006 23 KernelVersion: v2.6.17 24 Contact: linux-rdma@vger.kernel.org 25 Description: 26 (RW) Update the node descripti 27 node's hostname, so that IB ne 28 its view to the real world. 29 30 31 What: /sys/class/infiniband/<device> 32 Date: Jun, 2016 33 KernelVersion: v4.10 34 Contact: linux-rdma@vger.kernel.org 35 Description: 36 (RO) Display firmware version 37 38 39 What: /sys/class/infiniband/<device> 40 What: /sys/class/infiniband/<device> 41 What: /sys/class/infiniband/<device> 42 What: /sys/class/infiniband/<device> 43 What: /sys/class/infiniband/<device> 44 What: /sys/class/infiniband/<device> 45 What: /sys/class/infiniband/<device> 46 What: /sys/class/infiniband/<device> 47 Date: Apr, 2005 48 KernelVersion: v2.6.12 49 Contact: linux-rdma@vger.kernel.org 50 Description: 51 52 =============== ============== 53 lid: (RO) Port LID 54 55 rate: (RO) Port data 56 speed) 57 58 lid_mask_count: (RO) Port LID 59 60 sm_sl: (RO) Subnet ma 61 62 sm_lid: (RO) Subnet ma 63 64 state: (RO) Port stat 65 ACTIVE_DEFER) 66 67 phys_state: (RO) Port phys 68 LinkUp, etc) 69 70 cap_mask: (RO) Port capa 71 settable- IsCo 72 (set when CM m 73 via open of is 74 =============== ============== 75 76 77 What: /sys/class/infiniband/<device> 78 Date: Oct, 2010 79 KernelVersion: v2.6.37 80 Contact: linux-rdma@vger.kernel.org 81 Description: 82 (RO) Link layer type informati 83 84 85 What: /sys/class/infiniband/<device> 86 What: /sys/class/infiniband/<device> 87 What: /sys/class/infiniband/<device> 88 What: /sys/class/infiniband/<device> 89 What: /sys/class/infiniband/<device> 90 What: /sys/class/infiniband/<device> 91 What: /sys/class/infiniband/<device> 92 What: /sys/class/infiniband/<device> 93 What: /sys/class/infiniband/<device> 94 What: /sys/class/infiniband/<device> 95 What: /sys/class/infiniband/<device> 96 What: /sys/class/infiniband/<device> 97 What: /sys/class/infiniband/<device> 98 What: /sys/class/infiniband/<device> 99 What: /sys/class/infiniband/<device> 100 What: /sys/class/infiniband/<device> 101 What: /sys/class/infiniband/<device> 102 What: /sys/class/infiniband/<device> 103 What: /sys/class/infiniband/<device> 104 What: /sys/class/infiniband/<device> 105 What: /sys/class/infiniband/<device> 106 Date: Apr, 2005 107 KernelVersion: v2.6.12 108 Contact: linux-rdma@vger.kernel.org 109 Description: 110 **Errors info**: 111 112 symbol_error: (RO) Total numbe 113 one or more physical lanes. 114 115 port_rcv_errors : (RO) Total n 116 error that were received on th 117 118 port_rcv_remote_physical_error 119 marked with the EBP delimiter 120 121 port_rcv_switch_relay_errors : 122 received on the port that were 123 be forwarded by the switch rel 124 125 link_error_recovery: (RO) Tota 126 Training state machine has suc 127 recovery process. 128 129 port_xmit_constraint_errors: ( 130 transmitted from the switch ph 131 filtering or failing outbound 132 133 port_rcv_constraint_errors: (R 134 received on the switch physica 135 inbound raw filtering or faili 136 check. 137 138 local_link_integrity_errors: ( 139 count of local physical errors 140 by LocalPhyErrors 141 142 excessive_buffer_overrun_error 143 input buffer overrun. It indic 144 a port, either by the Subnet M 145 intervention. It can also indi 146 poor link signal integrity 147 148 **Data info**: 149 150 port_xmit_data: (RO) Total num 151 (lanes), transmitted on all VL 152 153 port_rcv_data: (RO) Total numb 154 (lanes), received on all VLs. 155 156 port_xmit_packets: (RO) Total 157 all VLs from this port. This m 158 This is 64 bit counter. 159 160 port_rcv_packets: (RO) Total n 161 packets containing Errors. Thi 162 163 link_downed: (RO) Total number 164 machine has failed the link er 165 the link. 166 167 unicast_rcv_packets: (RO) Tota 168 including unicast packets cont 169 170 unicast_xmit_packets: (RO) Tot 171 transmitted on all VLs from th 172 packets with errors. 173 174 multicast_rcv_packets: (RO) To 175 including multicast packets co 176 177 multicast_xmit_packets: (RO) T 178 transmitted on all VLs from th 179 packets with errors. 180 181 **Misc info**: 182 183 port_xmit_discards: (RO) Total 184 discarded by the port because 185 186 VL15_dropped: (RO) Number of i 187 to resource limitations (e.g., 188 189 port_xmit_wait: (RO) The numbe 190 had data to transmit but no da 191 (either because of insufficien 192 arbitration). 193 194 Each of these files contains t 195 port's Performance Management 196 described in the InfiniBand Ar 197 198 199 What: /sys/class/infiniband/<device- 200 What: /sys/class/infiniband/<device- 201 Date: May, 2016 202 KernelVersion: 4.6 203 Contact: linux-rdma@vger.kernel.org 204 Description: 205 The optional "hw_counters" sub 206 parent device or the port subd 207 there are a list of counters p 208 match some of the counters in 209 often include many other count 210 counters, there will be a file 211 how frequently the core should 212 being accessed (counters are n 213 accessed). The lifespan is in 214 unless set to something else b 215 value between 0-10000 to the l 216 of time between updates in mil 217 218 219 What: /sys/class/infiniband/<hca>/po 220 Date: November 29, 2015 221 KernelVersion: 4.4.0 222 Contact: linux-rdma@vger.kernel.org 223 Description: The net-device's name associat 224 at index <gid-index>. 225 226 What: /sys/class/infiniband/<hca>/po 227 Date: November 29, 2015 228 KernelVersion: 4.4.0 229 Contact: linux-rdma@vger.kernel.org 230 Description: The RoCE type of the associate 231 This could either be "IB/RoCE 232 or "RoCE v2" for RoCE v2 based 233 234 235 What: /sys/class/infiniband_mad/umad 236 What: /sys/class/infiniband_mad/umad 237 What: /sys/class/infiniband_mad/issm 238 What: /sys/class/infiniband_mad/issm 239 Date: Apr, 2005 240 KernelVersion: v2.6.12 241 Contact: linux-rdma@vger.kernel.org 242 Description: 243 Each port of each InfiniBand d 244 "issm" device attached. For ex 245 two umad devices and two issm 246 one device of each type (for s 247 248 ======= ====================== 249 ibdev: (RO) Show Infiniband ( 250 251 port: (RO) Display port numb 252 ======= ====================== 253 254 255 What: /sys/class/infiniband_mad/abi_ 256 Date: Apr, 2005 257 KernelVersion: v2.6.12 258 Contact: linux-rdma@vger.kernel.org 259 Description: 260 (RO) Value is incremented if a 261 userspace ABI compatibility of 262 263 264 What: /sys/class/infiniband_verbs/uv 265 What: /sys/class/infiniband_verbs/uv 266 Date: Sept, 2005 267 KernelVersion: v2.6.14 268 Contact: linux-rdma@vger.kernel.org 269 Description: 270 =============== ============== 271 ibdev: (RO) Display I 272 273 abi_version: (RO) Show ABI 274 interfaces. 275 =============== ============== 276 277 278 What: /sys/class/infiniband_verbs/ab 279 Date: Sep, 2005 280 KernelVersion: v2.6.14 281 Contact: linux-rdma@vger.kernel.org 282 Description: 283 (RO) Value is incremented if a 284 userspace ABI compatibility of 285 286 287 sysfs interface for Mellanox IB HCA low-level 288 ---------------------------------------------- 289 290 What: /sys/class/infiniband/mthcaX/h 291 What: /sys/class/infiniband/mthcaX/h 292 What: /sys/class/infiniband/mthcaX/b 293 Date: Apr, 2005 294 KernelVersion: v2.6.12 295 Contact: linux-rdma@vger.kernel.org 296 Description: 297 =============== ============== 298 hw_rev: (RO) Hardware 299 300 hca_type: (RO) Host Chan 301 (MT23108 compa 302 303 board_id: (RO) Manufactu 304 =============== ============== 305 306 307 sysfs interface for Mellanox ConnectX HCA IB d 308 ---------------------------------------------- 309 310 What: /sys/class/infiniband/mlx4_X/h 311 What: /sys/class/infiniband/mlx4_X/h 312 What: /sys/class/infiniband/mlx4_X/b 313 Date: Sep, 2007 314 KernelVersion: v2.6.24 315 Contact: linux-rdma@vger.kernel.org 316 Description: 317 =============== ============== 318 hw_rev: (RO) Hardware 319 320 hca_type: (RO) Host chan 321 322 board_id: (RO) Manufactu 323 =============== ============== 324 325 326 What: /sys/class/infiniband/mlx4_X/i 327 What: /sys/class/infiniband/mlx4_X/i 328 What: /sys/class/infiniband/mlx4_X/i 329 What: /sys/class/infiniband/mlx4_X/i 330 What: /sys/class/infiniband/mlx4_X/i 331 What: /sys/class/infiniband/mlx4_X/i 332 Date: Aug, 2012 333 KernelVersion: v3.6.15 334 Contact: linux-rdma@vger.kernel.org 335 Description: 336 The sysfs iov directory is use 337 P_Key and guid paravirtualizat 338 for the master -- slaves do no 339 340 Under iov/ports, the administr 341 tables as they are present in 342 "network view" presented to th 343 344 The "pkeys" and "gids" subdire 345 entry in the port's P_Key or G 346 example, ports/1/pkeys/10 cont 347 1's P_Key table. 348 349 ======================= ====== 350 gids/<n>: (RO) T 351 352 admin_guids/<n>: (RW) A 353 admini 354 n = 0. 355 356 pkeys/<n>: (RO) D 357 key ta 358 359 mcgs/: (RO) M 360 361 <m>/gid_idx/0: (RO) D 362 363 <m>/pkey_idx/<n>: (RW) W 364 m = 1. 365 366 Under 367 direct 368 number 369 iov/po 370 number 371 372 For ex 373 port 1 374 index 375 guest, 376 1, wil 377 index 378 ======================= ====== 379 380 381 What: /sys/class/infiniband/mlx4_X/i 382 What: /sys/class/infiniband/mlx4_X/i 383 Date: May, 2014 384 KernelVersion: v3.15.7 385 Contact: linux-rdma@vger.kernel.org 386 Description: 387 Enabling QP0 on VFs for select 388 enabled for QP0 operation. 389 390 ================= ==== ======= 391 smi_enabled: (RO) Indicat 392 for the 393 394 enable_smi_admin: (RW) Used by 395 capabil 396 indicat 397 ================= ==== ======= 398 399 The requested enablement will 400 (e.g. driver restart on the VM 401 402 403 sysfs interface for Chelsio T4/T5 RDMA driver 404 ---------------------------------------------- 405 406 What: /sys/class/infiniband/cxgb4_X/ 407 What: /sys/class/infiniband/cxgb4_X/ 408 What: /sys/class/infiniband/cxgb4_X/ 409 Date: Apr, 2010 410 KernelVersion: v2.6.35 411 Contact: linux-rdma@vger.kernel.org 412 Description: 413 414 =============== ============== 415 hw_rev: (RO) Hardware 416 417 hca_type: (RO) Driver sh 418 the name in it 419 pci_driver::na 420 421 board_id: (RO) Manufactu 422 information) 423 =============== ============== 424 425 426 sysfs interface for Intel IB driver qib 427 --------------------------------------- 428 429 What: /sys/class/infiniband/qibX/ver 430 What: /sys/class/infiniband/qibX/hw_ 431 What: /sys/class/infiniband/qibX/hca 432 What: /sys/class/infiniband/qibX/boa 433 What: /sys/class/infiniband/qibX/boa 434 What: /sys/class/infiniband/qibX/nct 435 What: /sys/class/infiniband/qibX/loc 436 What: /sys/class/infiniband/qibX/tem 437 What: /sys/class/infiniband/qibX/ser 438 What: /sys/class/infiniband/qibX/nfr 439 What: /sys/class/infiniband/qibX/chi 440 Date: May, 2010 441 KernelVersion: v2.6.35 442 Contact: linux-rdma@vger.kernel.org 443 Description: 444 =============== ============== 445 version: (RO) Display v 446 and drivers. 447 448 hw_rev: (RO) Hardware 449 450 hca_type: (RO) Host chan 451 452 board_id: (RO) Manufactu 453 454 boardversion: (RO) Current v 455 456 nctxts: (RO) Return th 457 available 458 459 localbus_info: (RO) Human rea 460 461 tempsense: (RO) Display t 462 463 serial: (RO) Serial nu 464 465 nfreectxts: (RO) The numbe 466 available. 467 468 chip_reset: (WO) Reset the 469 "reset" to thi 470 contexts are o 471 =============== ============== 472 473 474 What: /sys/class/infiniband/qibX/por 475 Date: May, 2010 476 KernelVersion: v2.6.35 477 Contact: linux-rdma@vger.kernel.org 478 Description: 479 (RO) The directory contains 16 480 the Service Level (SL). Listin 481 Lane (VL) as programmed by the 482 483 What: /sys/class/infiniband/qibX/por 484 What: /sys/class/infiniband/qibX/por 485 Date: May, 2010 486 KernelVersion: v2.6.35 487 Contact: linux-rdma@vger.kernel.org 488 Description: 489 Per-port congestion control. B 490 491 =============== ============== 492 cc_table_bin (RO) Congestio 493 table entries. 494 495 cc_settings_bin (RO) Congestio 496 map and an arr 497 congestion ent 498 trigger thresh 499 delay. 500 =============== ============== 501 502 What: /sys/class/infiniband/qibX/por 503 What: /sys/class/infiniband/qibX/por 504 What: /sys/class/infiniband/qibX/por 505 What: /sys/class/infiniband/qibX/por 506 What: /sys/class/infiniband/qibX/por 507 Date: May, 2010 508 KernelVersion: v2.6.35 509 Contact: linux-rdma@vger.kernel.org 510 Description: 511 [to be documented] 512 513 =============== ============== 514 loopback: (WO) 515 led_override: (WO) 516 hrtbt_enable: (RW) 517 status: (RO) 518 519 status_str: (RO) Displays 520 possible cable 521 errors. Possib 522 "Present", "IB 523 "Fatal_Hardwar 524 =============== ============== 525 526 What: /sys/class/infiniband/qibX/por 527 What: /sys/class/infiniband/qibX/por 528 What: /sys/class/infiniband/qibX/por 529 What: /sys/class/infiniband/qibX/por 530 What: /sys/class/infiniband/qibX/por 531 What: /sys/class/infiniband/qibX/por 532 What: /sys/class/infiniband/qibX/por 533 What: /sys/class/infiniband/qibX/por 534 What: /sys/class/infiniband/qibX/por 535 What: /sys/class/infiniband/qibX/por 536 Date: May, 2010 537 KernelVersion: v2.6.35 538 Contact: linux-rdma@vger.kernel.org 539 Description: 540 [to be documented] 541 542 543 sysfs interface for Mellanox Connect-IB HCA dr 544 ---------------------------------------------- 545 546 What: /sys/class/infiniband/mlx5_X/h 547 What: /sys/class/infiniband/mlx5_X/h 548 What: /sys/class/infiniband/mlx5_X/r 549 What: /sys/class/infiniband/mlx5_X/f 550 Date: Jul, 2013 551 KernelVersion: v3.11 552 Contact: linux-rdma@vger.kernel.org 553 Description: 554 [to be documented] 555 556 557 sysfs interface for Cisco VIC (usNIC) Verbs Dr 558 ---------------------------------------------- 559 560 What: /sys/class/infiniband/usnic_X/ 561 What: /sys/class/infiniband/usnic_X/ 562 What: /sys/class/infiniband/usnic_X/ 563 What: /sys/class/infiniband/usnic_X/ 564 What: /sys/class/infiniband/usnic_X/ 565 What: /sys/class/infiniband/usnic_X/ 566 Date: Sep, 2013 567 KernelVersion: v3.14 568 Contact: Christian Benvenuti <benve@cisc 569 Dave Goodell <dgoodell@cisco.co 570 linux-rdma@vger.kernel.org 571 Description: 572 573 =============== ============== 574 board_id: (RO) Manufactu 575 576 config: (RO) Report th 577 578 qp_per_vf: (RO) Queue pai 579 580 max_vf: (RO) Max virtu 581 582 cq_per_vf: (RO) Completio 583 584 iface: (RO) Shows whi 585 entry is assoc 586 =============== ============== 587 588 What: /sys/class/infiniband/usnic_X/ 589 What: /sys/class/infiniband/usnic_X/ 590 Date: Sep, 2013 591 KernelVersion: v3.14 592 Contact: Christian Benvenuti <benve@cisc 593 Dave Goodell <dgoodell@cisco.co 594 linux-rdma@vger.kernel.org 595 Description: 596 [to be documented] 597 598 599 sysfs interface for Emulex RoCE HCA Driver 600 ------------------------------------------ 601 602 What: /sys/class/infiniband/ocrdmaX/ 603 Date: Feb, 2014 604 KernelVersion: v3.14 605 Description: 606 hw_rev: (RO) Hardware 607 608 What: /sys/class/infiniband/ocrdmaX/ 609 Date: Jun, 2014 610 KernelVersion: v3.16 611 Contact: linux-rdma@vger.kernel.org 612 Description: 613 hca_type: (RO) Display F 614 615 616 sysfs interface for Intel Omni-Path driver (HF 617 ---------------------------------------------- 618 619 What: /sys/class/infiniband/hfi1_X/h 620 What: /sys/class/infiniband/hfi1_X/b 621 What: /sys/class/infiniband/hfi1_X/n 622 What: /sys/class/infiniband/hfi1_X/s 623 What: /sys/class/infiniband/hfi1_X/c 624 What: /sys/class/infiniband/hfi1_X/b 625 What: /sys/class/infiniband/hfi1_X/n 626 What: /sys/class/infiniband/hfi1_X/t 627 Date: May, 2016 628 KernelVersion: v4.6 629 Contact: linux-rdma@vger.kernel.org 630 Description: 631 =============== ============== 632 hw_rev: (RO) Hardware 633 634 board_id: (RO) Manufactu 635 636 nctxts: (RO) Total con 637 638 serial: (RO) Board ser 639 640 chip_reset: (WO) Write "re 641 chip if possib 642 contexts are o 643 644 boardversion: (RO) Human rea 645 646 nfreectxts: (RO) The numbe 647 available. 648 649 tempsense: (RO) Thermal s 650 =============== ============== 651 652 653 What: /sys/class/infiniband/hfi1_X/p 654 What: /sys/class/infiniband/hfi1_X/p 655 What: /sys/class/infiniband/hfi1_X/p 656 Date: May, 2016 657 KernelVersion: v4.6 658 Contact: linux-rdma@vger.kernel.org 659 Description: 660 Per-port congestion control. 661 662 =============== ============== 663 cc_table_bin (RO) CCA table 664 table size fol 665 attribute. 666 667 cc_settings_bin (RO) Congestio 668 map and an arr 669 congestion ent 670 trigger thresh 671 delay. Binary 672 673 cc_prescan (RW) enable pr 674 response. Writ 675 disable. 676 =============== ============== 677 678 What: /sys/class/infiniband/hfi1_X/p 679 What: /sys/class/infiniband/hfi1_X/p 680 What: /sys/class/infiniband/hfi1_X/p 681 Date: May, 2016 682 KernelVersion: v4.6 683 Contact: linux-rdma@vger.kernel.org 684 Description: 685 =============== ============== 686 sc2vl/: (RO) 32 files 687 688 sl2sc/: (RO) 32 files 689 690 vl2mtu/: (RO) 16 files 691 =============== ============== 692 693 694 What: /sys/class/infiniband/hfi1_X/s 695 What: /sys/class/infiniband/hfi1_X/s 696 Date: Sept, 2016 697 KernelVersion: v4.8 698 Contact: linux-rdma@vger.kernel.org 699 Description: 700 sdma<N>/ contains one director 701 702 =============== ============== 703 cpu_list: (RW) List of c 704 engine assignm 705 706 vl: (RO) Displays 707 engine maps to 708 =============== ============== 709 710 This interface gives the user 711 for the device. As an example, 712 affinity and thread affinity o 713 sdma engine, which is "near" i 714 physical cpu location, the use 715 716 echo "3" > /proc/irq/<N>/smp 717 echo "4-7" > /sys/devices/.. 718 cat /sys/devices/.../sdma3/v 719 0 720 echo "8" > /proc/irq/<M>/smp 721 echo "9-12" > /sys/devices/. 722 cat /sys/devices/.../sdma4/v 723 1 724 725 to make sure that when a proce 726 uses vl=0, then sdma engine 3 727 also the interrupt of the sdma 728 Similarly, when a process runs 729 vl=1, then engine 4 will be se 730 engine 4 is steered to cpu 8. 731 is the irq number of "sdma3", 732 the /proc/interrupts file. 733 734 sysfs interface for QLogic qedr NIC Driver 735 ------------------------------------------ 736 737 What: /sys/class/infiniband/qedrX/hw 738 What: /sys/class/infiniband/qedrX/hc 739 Date: Oct, 2016 740 KernelVersion: v4.10 741 Contact: linux-rdma@vger.kernel.org 742 Description: 743 744 =============== ==== ========= 745 hw_rev: (RO) Hardware 746 747 hca_type: (RO) Display H 748 =============== ==== ========= 749 750 751 sysfs interface for VMware Paravirtual RDMA dr 752 ---------------------------------------------- 753 754 What: /sys/class/infiniband/vmw_pvrd 755 What: /sys/class/infiniband/vmw_pvrd 756 What: /sys/class/infiniband/vmw_pvrd 757 Date: Oct, 2016 758 KernelVersion: v4.10 759 Contact: linux-rdma@vger.kernel.org 760 Description: 761 762 =============== ==== ========= 763 hw_rev: (RO) Hardware 764 765 hca_type: (RO) Host chan 766 767 board_id: (RO) Display P 768 =============== ==== ========= 769 770 771 sysfs interface for Broadcom NetXtreme-E RoCE 772 ---------------------------------------------- 773 774 What: /sys/class/infiniband/bnxt_reX 775 What: /sys/class/infiniband/bnxt_reX 776 Date: Feb, 2017 777 KernelVersion: v4.11 778 Contact: linux-rdma@vger.kernel.org 779 Description: 780 =============== ==== ========= 781 hw_rev: (RO) Hardware 782 783 hca_type: (RO) Host chan 784 =============== ==== =========
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.