Back to home page

OSCL-LXR

 
 

    


0001 sysfs interface common for all infiniband devices
0002 -------------------------------------------------
0003 
0004 What:           /sys/class/infiniband/<device>/node_type
0005 What:           /sys/class/infiniband/<device>/node_guid
0006 What:           /sys/class/infiniband/<device>/sys_image_guid
0007 Date:           Apr, 2005
0008 KernelVersion:  v2.6.12
0009 Contact:        linux-rdma@vger.kernel.org
0010 Description:
0011                 =============== ===========================================
0012                 node_type:      (RO) Node type (CA, RNIC, usNIC, usNIC UDP,
0013                                 switch or router)
0014 
0015                 node_guid:      (RO) Node GUID
0016 
0017                 sys_image_guid: (RO) System image GUID
0018                 =============== ===========================================
0019 
0020 
0021 What:           /sys/class/infiniband/<device>/node_desc
0022 Date:           Feb, 2006
0023 KernelVersion:  v2.6.17
0024 Contact:        linux-rdma@vger.kernel.org
0025 Description:
0026                 (RW) Update the node description with information such as the
0027                 node's hostname, so that IB network management software can tie
0028                 its view to the real world.
0029 
0030 
0031 What:           /sys/class/infiniband/<device>/fw_ver
0032 Date:           Jun, 2016
0033 KernelVersion:  v4.10
0034 Contact:        linux-rdma@vger.kernel.org
0035 Description:
0036                 (RO) Display firmware version
0037 
0038 
0039 What:           /sys/class/infiniband/<device>/ports/<port-num>/lid
0040 What:           /sys/class/infiniband/<device>/ports/<port-num>/rate
0041 What:           /sys/class/infiniband/<device>/ports/<port-num>/lid_mask_count
0042 What:           /sys/class/infiniband/<device>/ports/<port-num>/sm_sl
0043 What:           /sys/class/infiniband/<device>/ports/<port-num>/sm_lid
0044 What:           /sys/class/infiniband/<device>/ports/<port-num>/state
0045 What:           /sys/class/infiniband/<device>/ports/<port-num>/phys_state
0046 What:           /sys/class/infiniband/<device>/ports/<port-num>/cap_mask
0047 Date:           Apr, 2005
0048 KernelVersion:  v2.6.12
0049 Contact:        linux-rdma@vger.kernel.org
0050 Description:
0051 
0052                 =============== ===============================================
0053                 lid:            (RO) Port LID
0054 
0055                 rate:           (RO) Port data rate (active width * active
0056                                 speed)
0057 
0058                 lid_mask_count: (RO) Port LID mask count
0059 
0060                 sm_sl:          (RO) Subnet manager SL for port's subnet
0061 
0062                 sm_lid:         (RO) Subnet manager LID for port's subnet
0063 
0064                 state:          (RO) Port state (DOWN, INIT, ARMED, ACTIVE or
0065                                 ACTIVE_DEFER)
0066 
0067                 phys_state:     (RO) Port physical state (Sleep, Polling,
0068                                 LinkUp, etc)
0069 
0070                 cap_mask:       (RO) Port capability mask. 2 bits here are
0071                                 settable- IsCommunicationManagementSupported
0072                                 (set when CM module is loaded) and IsSM (set
0073                                 via open of issmN file).
0074                 =============== ===============================================
0075 
0076 
0077 What:           /sys/class/infiniband/<device>/ports/<port-num>/link_layer
0078 Date:           Oct, 2010
0079 KernelVersion:  v2.6.37
0080 Contact:        linux-rdma@vger.kernel.org
0081 Description:
0082                 (RO) Link layer type information (Infiniband or Ethernet type)
0083 
0084 
0085 What:           /sys/class/infiniband/<device>/ports/<port-num>/counters/symbol_error
0086 What:           /sys/class/infiniband/<device>/ports/<port-num>/counters/port_rcv_errors
0087 What:           /sys/class/infiniband/<device>/ports/<port-num>/counters/port_rcv_remote_physical_errors
0088 What:           /sys/class/infiniband/<device>/ports/<port-num>/counters/port_rcv_switch_relay_errors
0089 What:           /sys/class/infiniband/<device>/ports/<port-num>/counters/link_error_recovery
0090 What:           /sys/class/infiniband/<device>/ports/<port-num>/counters/port_xmit_constraint_errors
0091 What:           /sys/class/infiniband/<device>/ports/<port-num>/counters/port_rcv_contraint_errors
0092 What:           /sys/class/infiniband/<device>/ports/<port-num>/counters/local_link_integrity_errors
0093 What:           /sys/class/infiniband/<device>/ports/<port-num>/counters/excessive_buffer_overrun_errors
0094 What:           /sys/class/infiniband/<device>/ports/<port-num>/counters/port_xmit_data
0095 What:           /sys/class/infiniband/<device>/ports/<port-num>/counters/port_rcv_data
0096 What:           /sys/class/infiniband/<device>/ports/<port-num>/counters/port_xmit_packets
0097 What:           /sys/class/infiniband/<device>/ports/<port-num>/counters/port_rcv_packets
0098 What:           /sys/class/infiniband/<device>/ports/<port-num>/counters/unicast_rcv_packets
0099 What:           /sys/class/infiniband/<device>/ports/<port-num>/counters/unicast_xmit_packets
0100 What:           /sys/class/infiniband/<device>/ports/<port-num>/counters/multicast_rcv_packets
0101 What:           /sys/class/infiniband/<device>/ports/<port-num>/counters/multicast_xmit_packets
0102 What:           /sys/class/infiniband/<device>/ports/<port-num>/counters/link_downed
0103 What:           /sys/class/infiniband/<device>/ports/<port-num>/counters/port_xmit_discards
0104 What:           /sys/class/infiniband/<device>/ports/<port-num>/counters/VL15_dropped
0105 What:           /sys/class/infiniband/<device>/ports/<port-num>/counters/port_xmit_wait
0106 Date:           Apr, 2005
0107 KernelVersion:  v2.6.12
0108 Contact:        linux-rdma@vger.kernel.org
0109 Description:
0110                 **Errors info**:
0111 
0112                 symbol_error: (RO) Total number of minor link errors detected on
0113                 one or more physical lanes.
0114 
0115                 port_rcv_errors : (RO) Total number of packets containing an
0116                 error that were received on the port.
0117 
0118                 port_rcv_remote_physical_errors : (RO) Total number of packets
0119                 marked with the EBP delimiter received on the port.
0120 
0121                 port_rcv_switch_relay_errors : (RO) Total number of packets
0122                 received on the port that were discarded because they could not
0123                 be forwarded by the switch relay.
0124 
0125                 link_error_recovery: (RO) Total number of times the Port
0126                 Training state machine has successfully completed the link error
0127                 recovery process.
0128 
0129                 port_xmit_constraint_errors: (RO) Total number of packets not
0130                 transmitted from the switch physical port due to outbound raw
0131                 filtering or failing outbound partition or IP version check.
0132 
0133                 port_rcv_constraint_errors: (RO) Total number of packets
0134                 received on the switch physical port that are discarded due to
0135                 inbound raw filtering or failing inbound partition or IP version
0136                 check.
0137 
0138                 local_link_integrity_errors: (RO) The number of times that the
0139                 count of local physical errors exceeded the threshold specified
0140                 by LocalPhyErrors
0141 
0142                 excessive_buffer_overrun_errors: (RO) This counter, indicates an
0143                 input buffer overrun. It indicates possible misconfiguration of
0144                 a port, either by the Subnet Manager (SM) or by user
0145                 intervention. It can also indicate hardware issues or extremely
0146                 poor link signal integrity
0147 
0148                 **Data info**:
0149 
0150                 port_xmit_data: (RO) Total number of data octets, divided by 4
0151                 (lanes), transmitted on all VLs. This is 64 bit counter
0152 
0153                 port_rcv_data: (RO) Total number of data octets, divided by 4
0154                 (lanes), received on all VLs. This is 64 bit counter.
0155 
0156                 port_xmit_packets: (RO) Total number of packets transmitted on
0157                 all VLs from this port. This may include packets with errors.
0158                 This is 64 bit counter.
0159 
0160                 port_rcv_packets: (RO) Total number of packets (this may include
0161                 packets containing Errors. This is 64 bit counter.
0162 
0163                 link_downed: (RO) Total number of times the Port Training state
0164                 machine has failed the link error recovery process and downed
0165                 the link.
0166 
0167                 unicast_rcv_packets: (RO) Total number of unicast packets,
0168                 including unicast packets containing errors.
0169 
0170                 unicast_xmit_packets: (RO) Total number of unicast packets
0171                 transmitted on all VLs from the port. This may include unicast
0172                 packets with errors.
0173 
0174                 multicast_rcv_packets: (RO) Total number of multicast packets,
0175                 including multicast packets containing errors.
0176 
0177                 multicast_xmit_packets: (RO) Total number of multicast packets
0178                 transmitted on all VLs from the port. This may include multicast
0179                 packets with errors.
0180 
0181                 **Misc info**:
0182 
0183                 port_xmit_discards: (RO) Total number of outbound packets
0184                 discarded by the port because the port is down or congested.
0185 
0186                 VL15_dropped: (RO) Number of incoming VL15 packets dropped due
0187                 to resource limitations (e.g., lack of buffers) of the port.
0188 
0189                 port_xmit_wait: (RO) The number of ticks during which the port
0190                 had data to transmit but no data was sent during the entire tick
0191                 (either because of insufficient credits or because of lack of
0192                 arbitration).
0193 
0194                 Each of these files contains the corresponding value from the
0195                 port's Performance Management PortCounters attribute, as
0196                 described in the InfiniBand Architecture Specification.
0197 
0198 
0199 What:           /sys/class/infiniband/<device-name>/hw_counters/lifespan
0200 What:           /sys/class/infiniband/<device-name>/ports/<port-num>/hw_counters/lifespan
0201 Date:           May, 2016
0202 KernelVersion:  4.6
0203 Contact:        linux-rdma@vger.kernel.org
0204 Description:
0205                 The optional "hw_counters" subdirectory can be under either the
0206                 parent device or the port subdirectories or both. If present,
0207                 there are a list of counters provided by the hardware. They may
0208                 match some of the counters in the counters directory, but they
0209                 often include many other counters. In addition to the various
0210                 counters, there will be a file named "lifespan" that configures
0211                 how frequently the core should update the counters when they are
0212                 being accessed (counters are not updated if they are not being
0213                 accessed). The lifespan is in milliseconds and defaults to 10
0214                 unless set to something else by the driver. Users may echo a
0215                 value between 0-10000 to the lifespan file to set the length
0216                 of time between updates in milliseconds.
0217 
0218 
0219 What:           /sys/class/infiniband/<hca>/ports/<port-number>/gid_attrs/ndevs/<gid-index>
0220 Date:           November 29, 2015
0221 KernelVersion:  4.4.0
0222 Contact:        linux-rdma@vger.kernel.org
0223 Description:    The net-device's name associated with the GID resides
0224                 at index <gid-index>.
0225 
0226 What:           /sys/class/infiniband/<hca>/ports/<port-number>/gid_attrs/types/<gid-index>
0227 Date:           November 29, 2015
0228 KernelVersion:  4.4.0
0229 Contact:        linux-rdma@vger.kernel.org
0230 Description:    The RoCE type of the associated GID resides at index <gid-index>.
0231                 This could either be "IB/RoCE v1" for IB and RoCE v1 based GIDs
0232                 or "RoCE v2" for RoCE v2 based GIDs.
0233 
0234 
0235 What:           /sys/class/infiniband_mad/umad<N>/ibdev
0236 What:           /sys/class/infiniband_mad/umad<N>/port
0237 What:           /sys/class/infiniband_mad/issm<N>/ibdev
0238 What:           /sys/class/infiniband_mad/issm<N>/port
0239 Date:           Apr, 2005
0240 KernelVersion:  v2.6.12
0241 Contact:        linux-rdma@vger.kernel.org
0242 Description:
0243                 Each port of each InfiniBand device has a "umad" device and an
0244                 "issm" device attached. For example, a two-port HCA will have
0245                 two umad devices and two issm devices, while a switch will have
0246                 one device of each type (for switch port 0).
0247 
0248                 ======= =====================================
0249                 ibdev:  (RO) Show Infiniband (IB) device name
0250 
0251                 port:   (RO) Display port number
0252                 ======= =====================================
0253 
0254 
0255 What:           /sys/class/infiniband_mad/abi_version
0256 Date:           Apr, 2005
0257 KernelVersion:  v2.6.12
0258 Contact:        linux-rdma@vger.kernel.org
0259 Description:
0260                 (RO) Value is incremented if any changes are made that break
0261                 userspace ABI compatibility of umad & issm devices.
0262 
0263 
0264 What:           /sys/class/infiniband_verbs/uverbs<N>/ibdev
0265 What:           /sys/class/infiniband_verbs/uverbs<N>/abi_version
0266 Date:           Sept, 2005
0267 KernelVersion:  v2.6.14
0268 Contact:        linux-rdma@vger.kernel.org
0269 Description:
0270                 =============== ===========================================
0271                 ibdev:          (RO) Display Infiniband (IB) device name
0272 
0273                 abi_version:    (RO) Show ABI version of IB device specific
0274                                 interfaces.
0275                 =============== ===========================================
0276 
0277 
0278 What:           /sys/class/infiniband_verbs/abi_version
0279 Date:           Sep, 2005
0280 KernelVersion:  v2.6.14
0281 Contact:        linux-rdma@vger.kernel.org
0282 Description:
0283                 (RO) Value is incremented if any changes are made that break
0284                 userspace ABI compatibility of uverbs devices.
0285 
0286 
0287 sysfs interface for Mellanox IB HCA low-level driver (mthca)
0288 ------------------------------------------------------------
0289 
0290 What:           /sys/class/infiniband/mthcaX/hw_rev
0291 What:           /sys/class/infiniband/mthcaX/hca_type
0292 What:           /sys/class/infiniband/mthcaX/board_id
0293 Date:           Apr, 2005
0294 KernelVersion:  v2.6.12
0295 Contact:        linux-rdma@vger.kernel.org
0296 Description:
0297                 =============== ================================================
0298                 hw_rev:         (RO) Hardware revision number
0299 
0300                 hca_type:       (RO) Host Channel Adapter type: MT23108, MT25208
0301                                 (MT23108 compat mode), MT25208 or MT25204
0302 
0303                 board_id:       (RO) Manufacturing board ID
0304                 =============== ================================================
0305 
0306 
0307 sysfs interface for Mellanox ConnectX HCA IB driver (mlx4)
0308 ----------------------------------------------------------
0309 
0310 What:           /sys/class/infiniband/mlx4_X/hw_rev
0311 What:           /sys/class/infiniband/mlx4_X/hca_type
0312 What:           /sys/class/infiniband/mlx4_X/board_id
0313 Date:           Sep, 2007
0314 KernelVersion:  v2.6.24
0315 Contact:        linux-rdma@vger.kernel.org
0316 Description:
0317                 =============== ===============================
0318                 hw_rev:         (RO) Hardware revision number
0319 
0320                 hca_type:       (RO) Host channel adapter type
0321 
0322                 board_id:       (RO) Manufacturing board ID
0323                 =============== ===============================
0324 
0325 
0326 What:           /sys/class/infiniband/mlx4_X/iov/ports/<port-num>/gids/<n>
0327 What:           /sys/class/infiniband/mlx4_X/iov/ports/<port-num>/admin_guids/<n>
0328 What:           /sys/class/infiniband/mlx4_X/iov/ports/<port-num>/pkeys/<n>
0329 What:           /sys/class/infiniband/mlx4_X/iov/ports/<port-num>/mcgs/
0330 What:           /sys/class/infiniband/mlx4_X/iov/ports/<pci-slot-num>/ports/<m>/gid_idx/0
0331 What:           /sys/class/infiniband/mlx4_X/iov/ports/<pci-slot-num>/ports/<m>/pkey_idx/<n>
0332 Date:           Aug, 2012
0333 KernelVersion:  v3.6.15
0334 Contact:        linux-rdma@vger.kernel.org
0335 Description:
0336                 The sysfs iov directory is used to manage and examine the port
0337                 P_Key and guid paravirtualization. This directory is added only
0338                 for the master -- slaves do not have it.
0339 
0340                 Under iov/ports, the administrator may examine the gid and P_Key
0341                 tables as they are present in the device (and as are seen in the
0342                 "network view" presented to the SM).
0343 
0344                 The "pkeys" and "gids" subdirectories contain one file for each
0345                 entry in the port's P_Key or GID table respectively. For
0346                 example, ports/1/pkeys/10 contains the value at index 10 in port
0347                 1's P_Key table.
0348 
0349                 ======================= ==========================================
0350                 gids/<n>:               (RO) The physical port gids n = 0..127
0351 
0352                 admin_guids/<n>:        (RW) Allows examining or changing the
0353                                         administrative state of a given GUID
0354                                         n = 0..127
0355 
0356                 pkeys/<n>:              (RO) Displays the contents of the physical
0357                                         key table n = 0..126
0358 
0359                 mcgs/:                  (RO) Muticast group table
0360 
0361                 <m>/gid_idx/0:          (RO) Display the GID mapping m = 1..2
0362 
0363                 <m>/pkey_idx/<n>:       (RW) Writable except for RoCE pkeys.
0364                                         m = 1..2, n = 0..126
0365 
0366                                         Under the iov/<pci slot number>
0367                                         directories, the admin may map the index
0368                                         numbers in the physical tables (as under
0369                                         iov/ports) to the paravirtualized index
0370                                         numbers that guests see.
0371 
0372                                         For example, if the administrator, for
0373                                         port 1 on guest 2 maps physical pkey
0374                                         index 10 to virtual index 1, then that
0375                                         guest, whenever it uses its pkey index
0376                                         1, will actually be using the real pkey
0377                                         index 10.
0378                 ======================= ==========================================
0379 
0380 
0381 What:           /sys/class/infiniband/mlx4_X/iov/<pci-slot-num>/ports/<m>/smi_enabled
0382 What:           /sys/class/infiniband/mlx4_X/iov/<pci-slot-num>/ports/<m>/enable_smi_admin
0383 Date:           May, 2014
0384 KernelVersion:  v3.15.7
0385 Contact:        linux-rdma@vger.kernel.org
0386 Description:
0387                 Enabling QP0 on VFs for selected VF/port. By default, no VFs are
0388                 enabled for QP0 operation.
0389 
0390                 ================= ==== ===========================================
0391                 smi_enabled:      (RO) Indicates whether smi is currently enabled
0392                                        for the indicated VF/port
0393 
0394                 enable_smi_admin: (RW) Used by the admin to request that smi
0395                                        capability be enabled or disabled for the
0396                                        indicated VF/port. 0 = disable, 1 = enable.
0397                 ================= ==== ===========================================
0398 
0399                 The requested enablement will occur at the next reset of the VF
0400                 (e.g. driver restart on the VM which owns the VF).
0401 
0402 
0403 sysfs interface for Chelsio T4/T5 RDMA driver (cxgb4)
0404 -----------------------------------------------------
0405 
0406 What:           /sys/class/infiniband/cxgb4_X/hw_rev
0407 What:           /sys/class/infiniband/cxgb4_X/hca_type
0408 What:           /sys/class/infiniband/cxgb4_X/board_id
0409 Date:           Apr, 2010
0410 KernelVersion:  v2.6.35
0411 Contact:        linux-rdma@vger.kernel.org
0412 Description:
0413 
0414                 =============== =============================================
0415                 hw_rev:         (RO) Hardware revision number
0416 
0417                 hca_type:       (RO) Driver short name. Should normally match
0418                                 the name in its bus driver structure (e.g.
0419                                 pci_driver::name)
0420 
0421                 board_id:       (RO) Manufacturing board id. (Vendor + device
0422                                 information)
0423                 =============== =============================================
0424 
0425 
0426 sysfs interface for Intel IB driver qib
0427 ---------------------------------------
0428 
0429 What:           /sys/class/infiniband/qibX/version
0430 What:           /sys/class/infiniband/qibX/hw_rev
0431 What:           /sys/class/infiniband/qibX/hca_type
0432 What:           /sys/class/infiniband/qibX/board_id
0433 What:           /sys/class/infiniband/qibX/boardversion
0434 What:           /sys/class/infiniband/qibX/nctxts
0435 What:           /sys/class/infiniband/qibX/localbus_info
0436 What:           /sys/class/infiniband/qibX/tempsense
0437 What:           /sys/class/infiniband/qibX/serial
0438 What:           /sys/class/infiniband/qibX/nfreectxts
0439 What:           /sys/class/infiniband/qibX/chip_reset
0440 Date:           May, 2010
0441 KernelVersion:  v2.6.35
0442 Contact:        linux-rdma@vger.kernel.org
0443 Description:
0444                 =============== ======================================================
0445                 version:        (RO) Display version information of installed software
0446                                 and drivers.
0447 
0448                 hw_rev:         (RO) Hardware revision number
0449 
0450                 hca_type:       (RO) Host channel adapter type
0451 
0452                 board_id:       (RO) Manufacturing board id
0453 
0454                 boardversion:   (RO) Current version of the chip architecture
0455 
0456                 nctxts:         (RO) Return the number of user ports (contexts)
0457                                 available
0458 
0459                 localbus_info:  (RO) Human readable localbus info
0460 
0461                 tempsense:      (RO) Display temp sense registers in decimal
0462 
0463                 serial:         (RO) Serial number of the HCA
0464 
0465                 nfreectxts:     (RO) The number of free user ports (contexts)
0466                                 available.
0467 
0468                 chip_reset:     (WO) Reset the chip if possible by writing
0469                                 "reset" to this file. Only allowed if no user
0470                                 contexts are open that use chip resources.
0471                 =============== ======================================================
0472 
0473 
0474 What:           /sys/class/infiniband/qibX/ports/<N>/sl2vl/[0-15]
0475 Date:           May, 2010
0476 KernelVersion:  v2.6.35
0477 Contact:        linux-rdma@vger.kernel.org
0478 Description:
0479                 (RO) The directory contains 16 files numbered 0-15 that specify
0480                 the Service Level (SL). Listing the SL files returns the Virtual
0481                 Lane (VL) as programmed by the SL.
0482 
0483 What:           /sys/class/infiniband/qibX/ports/<N>/CCMgtA/cc_settings_bin
0484 What:           /sys/class/infiniband/qibX/ports/<N>/CCMgtA/cc_table_bin
0485 Date:           May, 2010
0486 KernelVersion:  v2.6.35
0487 Contact:        linux-rdma@vger.kernel.org
0488 Description:
0489                 Per-port congestion control. Both are binary attributes.
0490 
0491                 =============== ================================================
0492                 cc_table_bin    (RO) Congestion control table size followed by
0493                                 table entries.
0494 
0495                 cc_settings_bin (RO) Congestion settings: port control, control
0496                                 map and an array of 16 entries for the
0497                                 congestion entries - increase, timer, event log
0498                                 trigger threshold and the minimum injection rate
0499                                 delay.
0500                 =============== ================================================
0501 
0502 What:           /sys/class/infiniband/qibX/ports/<N>/linkstate/loopback
0503 What:           /sys/class/infiniband/qibX/ports/<N>/linkstate/led_override
0504 What:           /sys/class/infiniband/qibX/ports/<N>/linkstate/hrtbt_enable
0505 What:           /sys/class/infiniband/qibX/ports/<N>/linkstate/status
0506 What:           /sys/class/infiniband/qibX/ports/<N>/linkstate/status_str
0507 Date:           May, 2010
0508 KernelVersion:  v2.6.35
0509 Contact:        linux-rdma@vger.kernel.org
0510 Description:
0511                 [to be documented]
0512 
0513                 =============== ===============================================
0514                 loopback:       (WO)
0515                 led_override:   (WO)
0516                 hrtbt_enable:   (RW)
0517                 status:         (RO)
0518 
0519                 status_str:     (RO) Displays information about the link state,
0520                                 possible cable/switch problems, and hardware
0521                                 errors. Possible states are- "Initted",
0522                                 "Present", "IB_link_up", "IB_configured" or
0523                                 "Fatal_Hardware_Error".
0524                 =============== ===============================================
0525 
0526 What:           /sys/class/infiniband/qibX/ports/<N>/diag_counters/rc_resends
0527 What:           /sys/class/infiniband/qibX/ports/<N>/diag_counters/seq_naks
0528 What:           /sys/class/infiniband/qibX/ports/<N>/diag_counters/rdma_seq
0529 What:           /sys/class/infiniband/qibX/ports/<N>/diag_counters/rnr_naks
0530 What:           /sys/class/infiniband/qibX/ports/<N>/diag_counters/other_naks
0531 What:           /sys/class/infiniband/qibX/ports/<N>/diag_counters/rc_timeouts
0532 What:           /sys/class/infiniband/qibX/ports/<N>/diag_counters/look_pkts
0533 What:           /sys/class/infiniband/qibX/ports/<N>/diag_counters/pkt_drops
0534 What:           /sys/class/infiniband/qibX/ports/<N>/diag_counters/dma_wait
0535 What:           /sys/class/infiniband/qibX/ports/<N>/diag_counters/unaligned
0536 Date:           May, 2010
0537 KernelVersion:  v2.6.35
0538 Contact:        linux-rdma@vger.kernel.org
0539 Description:
0540                 [to be documented]
0541 
0542 
0543 sysfs interface for Mellanox Connect-IB HCA driver mlx5
0544 -------------------------------------------------------
0545 
0546 What:           /sys/class/infiniband/mlx5_X/hw_rev
0547 What:           /sys/class/infiniband/mlx5_X/hca_type
0548 What:           /sys/class/infiniband/mlx5_X/reg_pages
0549 What:           /sys/class/infiniband/mlx5_X/fw_pages
0550 Date:           Jul, 2013
0551 KernelVersion:  v3.11
0552 Contact:        linux-rdma@vger.kernel.org
0553 Description:
0554                 [to be documented]
0555 
0556 
0557 sysfs interface for Cisco VIC (usNIC) Verbs Driver
0558 --------------------------------------------------
0559 
0560 What:           /sys/class/infiniband/usnic_X/board_id
0561 What:           /sys/class/infiniband/usnic_X/config
0562 What:           /sys/class/infiniband/usnic_X/qp_per_vf
0563 What:           /sys/class/infiniband/usnic_X/max_vf
0564 What:           /sys/class/infiniband/usnic_X/cq_per_vf
0565 What:           /sys/class/infiniband/usnic_X/iface
0566 Date:           Sep, 2013
0567 KernelVersion:  v3.14
0568 Contact:        Christian Benvenuti <benve@cisco.com>,
0569                 Dave Goodell <dgoodell@cisco.com>,
0570                 linux-rdma@vger.kernel.org
0571 Description:
0572 
0573                 =============== ===============================================
0574                 board_id:       (RO) Manufacturing board id
0575 
0576                 config:         (RO) Report the configuration for this PF
0577 
0578                 qp_per_vf:      (RO) Queue pairs per virtual function.
0579 
0580                 max_vf:         (RO) Max virtual functions
0581 
0582                 cq_per_vf:      (RO) Completion queue per virtual function
0583 
0584                 iface:          (RO) Shows which network interface this usNIC
0585                                 entry is associated to (visible with ifconfig).
0586                 =============== ===============================================
0587 
0588 What:           /sys/class/infiniband/usnic_X/qpn/summary
0589 What:           /sys/class/infiniband/usnic_X/qpn/context
0590 Date:           Sep, 2013
0591 KernelVersion:  v3.14
0592 Contact:        Christian Benvenuti <benve@cisco.com>,
0593                 Dave Goodell <dgoodell@cisco.com>,
0594                 linux-rdma@vger.kernel.org
0595 Description:
0596                 [to be documented]
0597 
0598 
0599 sysfs interface for Emulex RoCE HCA Driver
0600 ------------------------------------------
0601 
0602 What:           /sys/class/infiniband/ocrdmaX/hw_rev
0603 Date:           Feb, 2014
0604 KernelVersion:  v3.14
0605 Description:
0606                 hw_rev:         (RO) Hardware revision number
0607 
0608 What:           /sys/class/infiniband/ocrdmaX/hca_type
0609 Date:           Jun, 2014
0610 KernelVersion:  v3.16
0611 Contact:        linux-rdma@vger.kernel.org
0612 Description:
0613                 hca_type:       (RO) Display FW version
0614 
0615 
0616 sysfs interface for Intel Omni-Path driver (HFI1)
0617 -------------------------------------------------
0618 
0619 What:           /sys/class/infiniband/hfi1_X/hw_rev
0620 What:           /sys/class/infiniband/hfi1_X/board_id
0621 What:           /sys/class/infiniband/hfi1_X/nctxts
0622 What:           /sys/class/infiniband/hfi1_X/serial
0623 What:           /sys/class/infiniband/hfi1_X/chip_reset
0624 What:           /sys/class/infiniband/hfi1_X/boardversion
0625 What:           /sys/class/infiniband/hfi1_X/nfreectxts
0626 What:           /sys/class/infiniband/hfi1_X/tempsense
0627 Date:           May, 2016
0628 KernelVersion:  v4.6
0629 Contact:        linux-rdma@vger.kernel.org
0630 Description:
0631                 =============== =============================================
0632                 hw_rev:         (RO) Hardware revision number
0633 
0634                 board_id:       (RO) Manufacturing board id
0635 
0636                 nctxts:         (RO) Total contexts available.
0637 
0638                 serial:         (RO) Board serial number
0639 
0640                 chip_reset:     (WO) Write "reset" to this file to reset the
0641                                 chip if possible. Only allowed if no user
0642                                 contexts are open that use chip resources.
0643 
0644                 boardversion:   (RO) Human readable board info
0645 
0646                 nfreectxts:     (RO) The number of free user ports (contexts)
0647                                 available.
0648 
0649                 tempsense:      (RO) Thermal sense information
0650                 =============== =============================================
0651 
0652 
0653 What:           /sys/class/infiniband/hfi1_X/ports/<N>/CCMgtA/cc_settings_bin
0654 What:           /sys/class/infiniband/hfi1_X/ports/<N>/CCMgtA/cc_table_bin
0655 What:           /sys/class/infiniband/hfi1_X/ports/<N>/CCMgtA/cc_prescan
0656 Date:           May, 2016
0657 KernelVersion:  v4.6
0658 Contact:        linux-rdma@vger.kernel.org
0659 Description:
0660                 Per-port congestion control.
0661 
0662                 =============== ================================================
0663                 cc_table_bin    (RO) CCA tables used by PSM2 Congestion control
0664                                 table size followed by table entries. Binary
0665                                 attribute.
0666 
0667                 cc_settings_bin (RO) Congestion settings: port control, control
0668                                 map and an array of 16 entries for the
0669                                 congestion entries - increase, timer, event log
0670                                 trigger threshold and the minimum injection rate
0671                                 delay. Binary attribute.
0672 
0673                 cc_prescan      (RW) enable prescanning for faster BECN
0674                                 response. Write "on" to enable and "off" to
0675                                 disable.
0676                 =============== ================================================
0677 
0678 What:           /sys/class/infiniband/hfi1_X/ports/<N>/sc2vl/[0-31]
0679 What:           /sys/class/infiniband/hfi1_X/ports/<N>/sl2sc/[0-31]
0680 What:           /sys/class/infiniband/hfi1_X/ports/<N>/vl2mtu/[0-15]
0681 Date:           May, 2016
0682 KernelVersion:  v4.6
0683 Contact:        linux-rdma@vger.kernel.org
0684 Description:
0685                 =============== ===================================================
0686                 sc2vl/:         (RO) 32 files (0 - 31) used to translate sl->vl
0687 
0688                 sl2sc/:         (RO) 32 files (0 - 31) used to translate sl->sc
0689 
0690                 vl2mtu/:        (RO) 16 files (0 - 15) used to determine MTU for vl
0691                 =============== ===================================================
0692 
0693 
0694 What:           /sys/class/infiniband/hfi1_X/sdma_<N>/cpu_list
0695 What:           /sys/class/infiniband/hfi1_X/sdma_<N>/vl
0696 Date:           Sept, 2016
0697 KernelVersion:  v4.8
0698 Contact:        linux-rdma@vger.kernel.org
0699 Description:
0700                 sdma<N>/ contains one directory per sdma engine (0 - 15)
0701 
0702                 =============== ==============================================
0703                 cpu_list:       (RW) List of cpus for user-process to sdma
0704                                 engine assignment.
0705 
0706                 vl:             (RO) Displays the virtual lane (vl) the sdma
0707                                 engine maps to.
0708                 =============== ==============================================
0709 
0710                 This interface gives the user control on the affinity settings
0711                 for the device. As an example, to set an sdma engine irq
0712                 affinity and thread affinity of a user processes to use the
0713                 sdma engine, which is "near" in terms of NUMA configuration, or
0714                 physical cpu location, the user will do::
0715 
0716                   echo "3" > /proc/irq/<N>/smp_affinity_list
0717                   echo "4-7" > /sys/devices/.../sdma3/cpu_list
0718                   cat /sys/devices/.../sdma3/vl
0719                   0
0720                   echo "8" > /proc/irq/<M>/smp_affinity_list
0721                   echo "9-12" > /sys/devices/.../sdma4/cpu_list
0722                   cat /sys/devices/.../sdma4/vl
0723                   1
0724 
0725                 to make sure that when a process runs on cpus 4,5,6, or 7, and
0726                 uses vl=0, then sdma engine 3 is selected by the driver, and
0727                 also the interrupt of the sdma engine 3 is steered to cpu 3.
0728                 Similarly, when a process runs on cpus 9,10,11, or 12 and sets
0729                 vl=1, then engine 4 will be selected and the irq of the sdma
0730                 engine 4 is steered to cpu 8.  This assumes that in the above N
0731                 is the irq number of "sdma3", and M is irq number of "sdma4" in
0732                 the /proc/interrupts file.
0733 
0734 sysfs interface for QLogic qedr NIC Driver
0735 ------------------------------------------
0736 
0737 What:           /sys/class/infiniband/qedrX/hw_rev
0738 What:           /sys/class/infiniband/qedrX/hca_type
0739 Date:           Oct, 2016
0740 KernelVersion:  v4.10
0741 Contact:        linux-rdma@vger.kernel.org
0742 Description:
0743 
0744                 =============== ==== ========================
0745                 hw_rev:         (RO) Hardware revision number
0746 
0747                 hca_type:       (RO) Display HCA type
0748                 =============== ==== ========================
0749 
0750 
0751 sysfs interface for VMware Paravirtual RDMA driver
0752 --------------------------------------------------
0753 
0754 What:           /sys/class/infiniband/vmw_pvrdmaX/hw_rev
0755 What:           /sys/class/infiniband/vmw_pvrdmaX/hca_type
0756 What:           /sys/class/infiniband/vmw_pvrdmaX/board_id
0757 Date:           Oct, 2016
0758 KernelVersion:  v4.10
0759 Contact:        linux-rdma@vger.kernel.org
0760 Description:
0761 
0762                 =============== ==== =====================================
0763                 hw_rev:         (RO) Hardware revision number
0764 
0765                 hca_type:       (RO) Host channel adapter type
0766 
0767                 board_id:       (RO) Display PVRDMA manufacturing board ID
0768                 =============== ==== =====================================
0769 
0770 
0771 sysfs interface for Broadcom NetXtreme-E RoCE driver
0772 ----------------------------------------------------
0773 
0774 What:           /sys/class/infiniband/bnxt_reX/hw_rev
0775 What:           /sys/class/infiniband/bnxt_reX/hca_type
0776 Date:           Feb, 2017
0777 KernelVersion:  v4.11
0778 Contact:        linux-rdma@vger.kernel.org
0779 Description:
0780                 =============== ==== =========================
0781                 hw_rev:         (RO) Hardware revision number
0782 
0783                 hca_type:       (RO) Host channel adapter type
0784                 =============== ==== =========================