.. | .. |
---|
8 | 8 | KernelVersion: v2.6.12 |
---|
9 | 9 | Contact: linux-rdma@vger.kernel.org |
---|
10 | 10 | Description: |
---|
| 11 | + =============== =========================================== |
---|
11 | 12 | node_type: (RO) Node type (CA, RNIC, usNIC, usNIC UDP, |
---|
12 | 13 | switch or router) |
---|
13 | 14 | |
---|
14 | 15 | node_guid: (RO) Node GUID |
---|
15 | 16 | |
---|
16 | 17 | sys_image_guid: (RO) System image GUID |
---|
| 18 | + =============== =========================================== |
---|
17 | 19 | |
---|
18 | 20 | |
---|
19 | 21 | What: /sys/class/infiniband/<device>/node_desc |
---|
.. | .. |
---|
47 | 49 | Contact: linux-rdma@vger.kernel.org |
---|
48 | 50 | Description: |
---|
49 | 51 | |
---|
| 52 | + =============== =============================================== |
---|
50 | 53 | lid: (RO) Port LID |
---|
51 | 54 | |
---|
52 | 55 | rate: (RO) Port data rate (active width * active |
---|
.. | .. |
---|
66 | 69 | |
---|
67 | 70 | cap_mask: (RO) Port capability mask. 2 bits here are |
---|
68 | 71 | settable- IsCommunicationManagementSupported |
---|
69 | | - (set when CM module is loaded) and IsSM (set via |
---|
70 | | - open of issmN file). |
---|
| 72 | + (set when CM module is loaded) and IsSM (set |
---|
| 73 | + via open of issmN file). |
---|
| 74 | + =============== =============================================== |
---|
71 | 75 | |
---|
72 | 76 | |
---|
73 | 77 | What: /sys/class/infiniband/<device>/ports/<port-num>/link_layer |
---|
.. | .. |
---|
103 | 107 | KernelVersion: v2.6.12 |
---|
104 | 108 | Contact: linux-rdma@vger.kernel.org |
---|
105 | 109 | Description: |
---|
106 | | - Errors info: |
---|
107 | | - ----------- |
---|
| 110 | + **Errors info**: |
---|
108 | 111 | |
---|
109 | 112 | symbol_error: (RO) Total number of minor link errors detected on |
---|
110 | 113 | one or more physical lanes. |
---|
.. | .. |
---|
142 | 145 | intervention. It can also indicate hardware issues or extremely |
---|
143 | 146 | poor link signal integrity |
---|
144 | 147 | |
---|
145 | | - Data info: |
---|
146 | | - --------- |
---|
| 148 | + **Data info**: |
---|
147 | 149 | |
---|
148 | 150 | port_xmit_data: (RO) Total number of data octets, divided by 4 |
---|
149 | 151 | (lanes), transmitted on all VLs. This is 64 bit counter |
---|
.. | .. |
---|
176 | 178 | transmitted on all VLs from the port. This may include multicast |
---|
177 | 179 | packets with errors. |
---|
178 | 180 | |
---|
179 | | - Misc info: |
---|
180 | | - --------- |
---|
| 181 | + **Misc info**: |
---|
181 | 182 | |
---|
182 | 183 | port_xmit_discards: (RO) Total number of outbound packets |
---|
183 | 184 | discarded by the port because the port is down or congested. |
---|
.. | .. |
---|
244 | 245 | two umad devices and two issm devices, while a switch will have |
---|
245 | 246 | one device of each type (for switch port 0). |
---|
246 | 247 | |
---|
| 248 | + ======= ===================================== |
---|
247 | 249 | ibdev: (RO) Show Infiniband (IB) device name |
---|
248 | 250 | |
---|
249 | 251 | port: (RO) Display port number |
---|
| 252 | + ======= ===================================== |
---|
250 | 253 | |
---|
251 | 254 | |
---|
252 | 255 | What: /sys/class/infiniband_mad/abi_version |
---|
.. | .. |
---|
258 | 261 | userspace ABI compatibility of umad & issm devices. |
---|
259 | 262 | |
---|
260 | 263 | |
---|
261 | | -What: /sys/class/infiniband_cm/ucmN/ibdev |
---|
262 | | -Date: Oct, 2005 |
---|
263 | | -KernelVersion: v2.6.14 |
---|
264 | | -Contact: linux-rdma@vger.kernel.org |
---|
265 | | -Description: |
---|
266 | | - (RO) Display Infiniband (IB) device name |
---|
267 | | - |
---|
268 | | - |
---|
269 | | -What: /sys/class/infiniband_cm/abi_version |
---|
270 | | -Date: Oct, 2005 |
---|
271 | | -KernelVersion: v2.6.14 |
---|
272 | | -Contact: linux-rdma@vger.kernel.org |
---|
273 | | -Description: |
---|
274 | | - (RO) Value is incremented if any changes are made that break |
---|
275 | | - userspace ABI compatibility of ucm devices. |
---|
276 | | - |
---|
277 | | - |
---|
278 | 264 | What: /sys/class/infiniband_verbs/uverbsN/ibdev |
---|
279 | 265 | What: /sys/class/infiniband_verbs/uverbsN/abi_version |
---|
280 | 266 | Date: Sept, 2005 |
---|
281 | 267 | KernelVersion: v2.6.14 |
---|
282 | 268 | Contact: linux-rdma@vger.kernel.org |
---|
283 | 269 | Description: |
---|
| 270 | + =============== =========================================== |
---|
284 | 271 | ibdev: (RO) Display Infiniband (IB) device name |
---|
285 | 272 | |
---|
286 | 273 | abi_version: (RO) Show ABI version of IB device specific |
---|
287 | 274 | interfaces. |
---|
| 275 | + =============== =========================================== |
---|
288 | 276 | |
---|
289 | 277 | |
---|
290 | 278 | What: /sys/class/infiniband_verbs/abi_version |
---|
.. | .. |
---|
306 | 294 | KernelVersion: v2.6.12 |
---|
307 | 295 | Contact: linux-rdma@vger.kernel.org |
---|
308 | 296 | Description: |
---|
| 297 | + =============== ================================================ |
---|
309 | 298 | hw_rev: (RO) Hardware revision number |
---|
310 | 299 | |
---|
311 | 300 | hca_type: (RO) Host Channel Adapter type: MT23108, MT25208 |
---|
312 | 301 | (MT23108 compat mode), MT25208 or MT25204 |
---|
313 | 302 | |
---|
314 | 303 | board_id: (RO) Manufacturing board ID |
---|
315 | | - |
---|
316 | | - |
---|
317 | | -sysfs interface for Chelsio T3 RDMA Driver (cxgb3) |
---|
318 | | --------------------------------------------------- |
---|
319 | | - |
---|
320 | | -What: /sys/class/infiniband/cxgb3_X/hw_rev |
---|
321 | | -What: /sys/class/infiniband/cxgb3_X/hca_type |
---|
322 | | -What: /sys/class/infiniband/cxgb3_X/board_id |
---|
323 | | -Date: Feb, 2007 |
---|
324 | | -KernelVersion: v2.6.21 |
---|
325 | | -Contact: linux-rdma@vger.kernel.org |
---|
326 | | -Description: |
---|
327 | | - hw_rev: (RO) Hardware revision number |
---|
328 | | - |
---|
329 | | - hca_type: (RO) HCA type. Here it is a driver short name. |
---|
330 | | - It should normally match the name in its bus |
---|
331 | | - driver structure (e.g. pci_driver::name). |
---|
332 | | - |
---|
333 | | - board_id: (RO) Manufacturing board id |
---|
| 304 | + =============== ================================================ |
---|
334 | 305 | |
---|
335 | 306 | |
---|
336 | 307 | sysfs interface for Mellanox ConnectX HCA IB driver (mlx4) |
---|
.. | .. |
---|
343 | 314 | KernelVersion: v2.6.24 |
---|
344 | 315 | Contact: linux-rdma@vger.kernel.org |
---|
345 | 316 | Description: |
---|
| 317 | + =============== =============================== |
---|
346 | 318 | hw_rev: (RO) Hardware revision number |
---|
347 | 319 | |
---|
348 | 320 | hca_type: (RO) Host channel adapter type |
---|
349 | 321 | |
---|
350 | 322 | board_id: (RO) Manufacturing board ID |
---|
| 323 | + =============== =============================== |
---|
351 | 324 | |
---|
352 | 325 | |
---|
353 | 326 | What: /sys/class/infiniband/mlx4_X/iov/ports/<port-num>/gids/<n> |
---|
.. | .. |
---|
373 | 346 | example, ports/1/pkeys/10 contains the value at index 10 in port |
---|
374 | 347 | 1's P_Key table. |
---|
375 | 348 | |
---|
| 349 | + ======================= ========================================== |
---|
376 | 350 | gids/<n>: (RO) The physical port gids n = 0..127 |
---|
377 | 351 | |
---|
378 | 352 | admin_guids/<n>: (RW) Allows examining or changing the |
---|
.. | .. |
---|
401 | 375 | guest, whenever it uses its pkey index |
---|
402 | 376 | 1, will actually be using the real pkey |
---|
403 | 377 | index 10. |
---|
| 378 | + ======================= ========================================== |
---|
404 | 379 | |
---|
405 | 380 | |
---|
406 | 381 | What: /sys/class/infiniband/mlx4_X/iov/<pci-slot-num>/ports/<m>/smi_enabled |
---|
.. | .. |
---|
412 | 387 | Enabling QP0 on VFs for selected VF/port. By default, no VFs are |
---|
413 | 388 | enabled for QP0 operation. |
---|
414 | 389 | |
---|
415 | | - smi_enabled: (RO) Indicates whether smi is currently enabled |
---|
416 | | - for the indicated VF/port |
---|
| 390 | + ================= ==== =========================================== |
---|
| 391 | + smi_enabled: (RO) Indicates whether smi is currently enabled |
---|
| 392 | + for the indicated VF/port |
---|
417 | 393 | |
---|
418 | | - enable_smi_admin:(RW) Used by the admin to request that smi |
---|
419 | | - capability be enabled or disabled for the |
---|
420 | | - indicated VF/port. 0 = disable, 1 = enable. |
---|
| 394 | + enable_smi_admin: (RW) Used by the admin to request that smi |
---|
| 395 | + capability be enabled or disabled for the |
---|
| 396 | + indicated VF/port. 0 = disable, 1 = enable. |
---|
| 397 | + ================= ==== =========================================== |
---|
421 | 398 | |
---|
422 | 399 | The requested enablement will occur at the next reset of the VF |
---|
423 | 400 | (e.g. driver restart on the VM which owns the VF). |
---|
424 | | - |
---|
425 | | - |
---|
426 | | -sysfs interface for NetEffect RNIC Low-Level iWARP driver (nes) |
---|
427 | | ---------------------------------------------------------------- |
---|
428 | | - |
---|
429 | | -What: /sys/class/infiniband/nesX/hw_rev |
---|
430 | | -What: /sys/class/infiniband/nesX/hca_type |
---|
431 | | -What: /sys/class/infiniband/nesX/board_id |
---|
432 | | -Date: Feb, 2008 |
---|
433 | | -KernelVersion: v2.6.25 |
---|
434 | | -Contact: linux-rdma@vger.kernel.org |
---|
435 | | -Description: |
---|
436 | | - hw_rev: (RO) Hardware revision number |
---|
437 | | - |
---|
438 | | - hca_type: (RO) Host Channel Adapter type (NEX020) |
---|
439 | | - |
---|
440 | | - board_id: (RO) Manufacturing board id |
---|
441 | 401 | |
---|
442 | 402 | |
---|
443 | 403 | sysfs interface for Chelsio T4/T5 RDMA driver (cxgb4) |
---|
.. | .. |
---|
451 | 411 | Contact: linux-rdma@vger.kernel.org |
---|
452 | 412 | Description: |
---|
453 | 413 | |
---|
| 414 | + =============== ============================================= |
---|
454 | 415 | hw_rev: (RO) Hardware revision number |
---|
455 | 416 | |
---|
456 | 417 | hca_type: (RO) Driver short name. Should normally match |
---|
.. | .. |
---|
459 | 420 | |
---|
460 | 421 | board_id: (RO) Manufacturing board id. (Vendor + device |
---|
461 | 422 | information) |
---|
| 423 | + =============== ============================================= |
---|
462 | 424 | |
---|
463 | 425 | |
---|
464 | 426 | sysfs interface for Intel IB driver qib |
---|
.. | .. |
---|
479 | 441 | KernelVersion: v2.6.35 |
---|
480 | 442 | Contact: linux-rdma@vger.kernel.org |
---|
481 | 443 | Description: |
---|
| 444 | + =============== ====================================================== |
---|
482 | 445 | version: (RO) Display version information of installed software |
---|
483 | 446 | and drivers. |
---|
484 | 447 | |
---|
.. | .. |
---|
505 | 468 | chip_reset: (WO) Reset the chip if possible by writing |
---|
506 | 469 | "reset" to this file. Only allowed if no user |
---|
507 | 470 | contexts are open that use chip resources. |
---|
| 471 | + =============== ====================================================== |
---|
508 | 472 | |
---|
509 | 473 | |
---|
510 | 474 | What: /sys/class/infiniband/qibX/ports/N/sl2vl/[0-15] |
---|
.. | .. |
---|
524 | 488 | Description: |
---|
525 | 489 | Per-port congestion control. Both are binary attributes. |
---|
526 | 490 | |
---|
527 | | - cc_table_bin: (RO) Congestion control table size followed by |
---|
| 491 | + =============== ================================================ |
---|
| 492 | + cc_table_bin (RO) Congestion control table size followed by |
---|
528 | 493 | table entries. |
---|
529 | 494 | |
---|
530 | | - cc_settings_bin:(RO) Congestion settings: port control, control |
---|
| 495 | + cc_settings_bin (RO) Congestion settings: port control, control |
---|
531 | 496 | map and an array of 16 entries for the |
---|
532 | 497 | congestion entries - increase, timer, event log |
---|
533 | 498 | trigger threshold and the minimum injection rate |
---|
534 | 499 | delay. |
---|
| 500 | + =============== ================================================ |
---|
535 | 501 | |
---|
536 | 502 | What: /sys/class/infiniband/qibX/ports/N/linkstate/loopback |
---|
537 | 503 | What: /sys/class/infiniband/qibX/ports/N/linkstate/led_override |
---|
.. | .. |
---|
544 | 510 | Description: |
---|
545 | 511 | [to be documented] |
---|
546 | 512 | |
---|
| 513 | + =============== =============================================== |
---|
547 | 514 | loopback: (WO) |
---|
548 | 515 | led_override: (WO) |
---|
549 | 516 | hrtbt_enable: (RW) |
---|
.. | .. |
---|
554 | 521 | errors. Possible states are- "Initted", |
---|
555 | 522 | "Present", "IB_link_up", "IB_configured" or |
---|
556 | 523 | "Fatal_Hardware_Error". |
---|
| 524 | + =============== =============================================== |
---|
557 | 525 | |
---|
558 | 526 | What: /sys/class/infiniband/qibX/ports/N/diag_counters/rc_resends |
---|
559 | 527 | What: /sys/class/infiniband/qibX/ports/N/diag_counters/seq_naks |
---|
.. | .. |
---|
602 | 570 | linux-rdma@vger.kernel.org |
---|
603 | 571 | Description: |
---|
604 | 572 | |
---|
| 573 | + =============== =============================================== |
---|
605 | 574 | board_id: (RO) Manufacturing board id |
---|
606 | 575 | |
---|
607 | 576 | config: (RO) Report the configuration for this PF |
---|
.. | .. |
---|
614 | 583 | |
---|
615 | 584 | iface: (RO) Shows which network interface this usNIC |
---|
616 | 585 | entry is associated to (visible with ifconfig). |
---|
| 586 | + =============== =============================================== |
---|
617 | 587 | |
---|
618 | 588 | What: /sys/class/infiniband/usnic_X/qpn/summary |
---|
619 | 589 | What: /sys/class/infiniband/usnic_X/qpn/context |
---|
.. | .. |
---|
658 | 628 | KernelVersion: v4.6 |
---|
659 | 629 | Contact: linux-rdma@vger.kernel.org |
---|
660 | 630 | Description: |
---|
| 631 | + =============== ============================================= |
---|
661 | 632 | hw_rev: (RO) Hardware revision number |
---|
662 | 633 | |
---|
663 | 634 | board_id: (RO) Manufacturing board id |
---|
.. | .. |
---|
676 | 647 | available. |
---|
677 | 648 | |
---|
678 | 649 | tempsense: (RO) Thermal sense information |
---|
| 650 | + =============== ============================================= |
---|
679 | 651 | |
---|
680 | 652 | |
---|
681 | 653 | What: /sys/class/infiniband/hfi1_X/ports/N/CCMgtA/cc_settings_bin |
---|
.. | .. |
---|
687 | 659 | Description: |
---|
688 | 660 | Per-port congestion control. |
---|
689 | 661 | |
---|
690 | | - cc_table_bin: (RO) CCA tables used by PSM2 Congestion control |
---|
| 662 | + =============== ================================================ |
---|
| 663 | + cc_table_bin (RO) CCA tables used by PSM2 Congestion control |
---|
691 | 664 | table size followed by table entries. Binary |
---|
692 | 665 | attribute. |
---|
693 | 666 | |
---|
694 | | - cc_settings_bin:(RO) Congestion settings: port control, control |
---|
| 667 | + cc_settings_bin (RO) Congestion settings: port control, control |
---|
695 | 668 | map and an array of 16 entries for the |
---|
696 | 669 | congestion entries - increase, timer, event log |
---|
697 | 670 | trigger threshold and the minimum injection rate |
---|
698 | 671 | delay. Binary attribute. |
---|
699 | 672 | |
---|
700 | | - cc_prescan: (RW) enable prescanning for faster BECN |
---|
| 673 | + cc_prescan (RW) enable prescanning for faster BECN |
---|
701 | 674 | response. Write "on" to enable and "off" to |
---|
702 | 675 | disable. |
---|
| 676 | + =============== ================================================ |
---|
703 | 677 | |
---|
704 | 678 | What: /sys/class/infiniband/hfi1_X/ports/N/sc2vl/[0-31] |
---|
705 | 679 | What: /sys/class/infiniband/hfi1_X/ports/N/sl2sc/[0-31] |
---|
.. | .. |
---|
708 | 682 | KernelVersion: v4.6 |
---|
709 | 683 | Contact: linux-rdma@vger.kernel.org |
---|
710 | 684 | Description: |
---|
| 685 | + =============== =================================================== |
---|
711 | 686 | sc2vl/: (RO) 32 files (0 - 31) used to translate sl->vl |
---|
712 | 687 | |
---|
713 | 688 | sl2sc/: (RO) 32 files (0 - 31) used to translate sl->sc |
---|
714 | 689 | |
---|
715 | 690 | vl2mtu/: (RO) 16 files (0 - 15) used to determine MTU for vl |
---|
| 691 | + =============== =================================================== |
---|
716 | 692 | |
---|
717 | 693 | |
---|
718 | 694 | What: /sys/class/infiniband/hfi1_X/sdma_N/cpu_list |
---|
.. | .. |
---|
723 | 699 | Description: |
---|
724 | 700 | sdma<N>/ contains one directory per sdma engine (0 - 15) |
---|
725 | 701 | |
---|
| 702 | + =============== ============================================== |
---|
726 | 703 | cpu_list: (RW) List of cpus for user-process to sdma |
---|
727 | 704 | engine assignment. |
---|
728 | 705 | |
---|
729 | 706 | vl: (RO) Displays the virtual lane (vl) the sdma |
---|
730 | 707 | engine maps to. |
---|
| 708 | + =============== ============================================== |
---|
731 | 709 | |
---|
732 | 710 | This interface gives the user control on the affinity settings |
---|
733 | 711 | for the device. As an example, to set an sdma engine irq |
---|
734 | 712 | affinity and thread affinity of a user processes to use the |
---|
735 | 713 | sdma engine, which is "near" in terms of NUMA configuration, or |
---|
736 | | - physical cpu location, the user will do: |
---|
| 714 | + physical cpu location, the user will do:: |
---|
737 | 715 | |
---|
738 | | - echo "3" > /proc/irq/<N>/smp_affinity_list |
---|
739 | | - echo "4-7" > /sys/devices/.../sdma3/cpu_list |
---|
740 | | - cat /sys/devices/.../sdma3/vl |
---|
741 | | - 0 |
---|
742 | | - echo "8" > /proc/irq/<M>/smp_affinity_list |
---|
743 | | - echo "9-12" > /sys/devices/.../sdma4/cpu_list |
---|
744 | | - cat /sys/devices/.../sdma4/vl |
---|
745 | | - 1 |
---|
| 716 | + echo "3" > /proc/irq/<N>/smp_affinity_list |
---|
| 717 | + echo "4-7" > /sys/devices/.../sdma3/cpu_list |
---|
| 718 | + cat /sys/devices/.../sdma3/vl |
---|
| 719 | + 0 |
---|
| 720 | + echo "8" > /proc/irq/<M>/smp_affinity_list |
---|
| 721 | + echo "9-12" > /sys/devices/.../sdma4/cpu_list |
---|
| 722 | + cat /sys/devices/.../sdma4/vl |
---|
| 723 | + 1 |
---|
746 | 724 | |
---|
747 | 725 | to make sure that when a process runs on cpus 4,5,6, or 7, and |
---|
748 | 726 | uses vl=0, then sdma engine 3 is selected by the driver, and |
---|
.. | .. |
---|
764 | 742 | KernelVersion: v4.10 |
---|
765 | 743 | Contact: linux-rdma@vger.kernel.org |
---|
766 | 744 | Description: |
---|
| 745 | + =============== ==== ======================== |
---|
767 | 746 | hw_rev: (RO) Hardware revision number |
---|
768 | 747 | |
---|
769 | 748 | hca_type: (RO) Show HCA type (I40IW) |
---|
770 | 749 | |
---|
771 | 750 | board_id: (RO) I40IW board ID |
---|
| 751 | + =============== ==== ======================== |
---|
772 | 752 | |
---|
773 | 753 | |
---|
774 | 754 | sysfs interface for QLogic qedr NIC Driver |
---|
.. | .. |
---|
781 | 761 | Contact: linux-rdma@vger.kernel.org |
---|
782 | 762 | Description: |
---|
783 | 763 | |
---|
| 764 | + =============== ==== ======================== |
---|
784 | 765 | hw_rev: (RO) Hardware revision number |
---|
785 | 766 | |
---|
786 | 767 | hca_type: (RO) Display HCA type |
---|
| 768 | + =============== ==== ======================== |
---|
787 | 769 | |
---|
788 | 770 | |
---|
789 | 771 | sysfs interface for VMware Paravirtual RDMA driver |
---|
.. | .. |
---|
797 | 779 | Contact: linux-rdma@vger.kernel.org |
---|
798 | 780 | Description: |
---|
799 | 781 | |
---|
| 782 | + =============== ==== ===================================== |
---|
800 | 783 | hw_rev: (RO) Hardware revision number |
---|
801 | 784 | |
---|
802 | 785 | hca_type: (RO) Host channel adapter type |
---|
803 | 786 | |
---|
804 | 787 | board_id: (RO) Display PVRDMA manufacturing board ID |
---|
| 788 | + =============== ==== ===================================== |
---|
805 | 789 | |
---|
806 | 790 | |
---|
807 | 791 | sysfs interface for Broadcom NetXtreme-E RoCE driver |
---|
.. | .. |
---|
813 | 797 | KernelVersion: v4.11 |
---|
814 | 798 | Contact: linux-rdma@vger.kernel.org |
---|
815 | 799 | Description: |
---|
| 800 | + =============== ==== ========================= |
---|
816 | 801 | hw_rev: (RO) Hardware revision number |
---|
817 | 802 | |
---|
818 | 803 | hca_type: (RO) Host channel adapter type |
---|
| 804 | + =============== ==== ========================= |
---|