sysfs-class-infiniband 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818
  1. sysfs interface common for all infiniband devices
  2. -------------------------------------------------
  3. What: /sys/class/infiniband/<device>/node_type
  4. What: /sys/class/infiniband/<device>/node_guid
  5. What: /sys/class/infiniband/<device>/sys_image_guid
  6. Date: Apr, 2005
  7. KernelVersion: v2.6.12
  8. Contact: linux-rdma@vger.kernel.org
  9. Description:
  10. node_type: (RO) Node type (CA, RNIC, usNIC, usNIC UDP,
  11. switch or router)
  12. node_guid: (RO) Node GUID
  13. sys_image_guid: (RO) System image GUID
  14. What: /sys/class/infiniband/<device>/node_desc
  15. Date: Feb, 2006
  16. KernelVersion: v2.6.17
  17. Contact: linux-rdma@vger.kernel.org
  18. Description:
  19. (RW) Update the node description with information such as the
  20. node's hostname, so that IB network management software can tie
  21. its view to the real world.
  22. What: /sys/class/infiniband/<device>/fw_ver
  23. Date: Jun, 2016
  24. KernelVersion: v4.10
  25. Contact: linux-rdma@vger.kernel.org
  26. Description:
  27. (RO) Display firmware version
  28. What: /sys/class/infiniband/<device>/ports/<port-num>/lid
  29. What: /sys/class/infiniband/<device>/ports/<port-num>/rate
  30. What: /sys/class/infiniband/<device>/ports/<port-num>/lid_mask_count
  31. What: /sys/class/infiniband/<device>/ports/<port-num>/sm_sl
  32. What: /sys/class/infiniband/<device>/ports/<port-num>/sm_lid
  33. What: /sys/class/infiniband/<device>/ports/<port-num>/state
  34. What: /sys/class/infiniband/<device>/ports/<port-num>/phys_state
  35. What: /sys/class/infiniband/<device>/ports/<port-num>/cap_mask
  36. Date: Apr, 2005
  37. KernelVersion: v2.6.12
  38. Contact: linux-rdma@vger.kernel.org
  39. Description:
  40. lid: (RO) Port LID
  41. rate: (RO) Port data rate (active width * active
  42. speed)
  43. lid_mask_count: (RO) Port LID mask count
  44. sm_sl: (RO) Subnet manager SL for port's subnet
  45. sm_lid: (RO) Subnet manager LID for port's subnet
  46. state: (RO) Port state (DOWN, INIT, ARMED, ACTIVE or
  47. ACTIVE_DEFER)
  48. phys_state: (RO) Port physical state (Sleep, Polling,
  49. LinkUp, etc)
  50. cap_mask: (RO) Port capability mask. 2 bits here are
  51. settable- IsCommunicationManagementSupported
  52. (set when CM module is loaded) and IsSM (set via
  53. open of issmN file).
  54. What: /sys/class/infiniband/<device>/ports/<port-num>/link_layer
  55. Date: Oct, 2010
  56. KernelVersion: v2.6.37
  57. Contact: linux-rdma@vger.kernel.org
  58. Description:
  59. (RO) Link layer type information (Infiniband or Ethernet type)
  60. What: /sys/class/infiniband/<device>/ports/<port-num>/counters/symbol_error
  61. What: /sys/class/infiniband/<device>/ports/<port-num>/counters/port_rcv_errors
  62. What: /sys/class/infiniband/<device>/ports/<port-num>/counters/port_rcv_remote_physical_errors
  63. What: /sys/class/infiniband/<device>/ports/<port-num>/counters/port_rcv_switch_relay_errors
  64. What: /sys/class/infiniband/<device>/ports/<port-num>/counters/link_error_recovery
  65. What: /sys/class/infiniband/<device>/ports/<port-num>/counters/port_xmit_constraint_errors
  66. What: /sys/class/infiniband/<device>/ports/<port-num>/counters/port_rcv_contraint_errors
  67. What: /sys/class/infiniband/<device>/ports/<port-num>/counters/local_link_integrity_errors
  68. What: /sys/class/infiniband/<device>/ports/<port-num>/counters/excessive_buffer_overrun_errors
  69. What: /sys/class/infiniband/<device>/ports/<port-num>/counters/port_xmit_data
  70. What: /sys/class/infiniband/<device>/ports/<port-num>/counters/port_rcv_data
  71. What: /sys/class/infiniband/<device>/ports/<port-num>/counters/port_xmit_packets
  72. What: /sys/class/infiniband/<device>/ports/<port-num>/counters/port_rcv_packets
  73. What: /sys/class/infiniband/<device>/ports/<port-num>/counters/unicast_rcv_packets
  74. What: /sys/class/infiniband/<device>/ports/<port-num>/counters/unicast_xmit_packets
  75. What: /sys/class/infiniband/<device>/ports/<port-num>/counters/multicast_rcv_packets
  76. What: /sys/class/infiniband/<device>/ports/<port-num>/counters/multicast_xmit_packets
  77. What: /sys/class/infiniband/<device>/ports/<port-num>/counters/link_downed
  78. What: /sys/class/infiniband/<device>/ports/<port-num>/counters/port_xmit_discards
  79. What: /sys/class/infiniband/<device>/ports/<port-num>/counters/VL15_dropped
  80. What: /sys/class/infiniband/<device>/ports/<port-num>/counters/port_xmit_wait
  81. Date: Apr, 2005
  82. KernelVersion: v2.6.12
  83. Contact: linux-rdma@vger.kernel.org
  84. Description:
  85. Errors info:
  86. -----------
  87. symbol_error: (RO) Total number of minor link errors detected on
  88. one or more physical lanes.
  89. port_rcv_errors : (RO) Total number of packets containing an
  90. error that were received on the port.
  91. port_rcv_remote_physical_errors : (RO) Total number of packets
  92. marked with the EBP delimiter received on the port.
  93. port_rcv_switch_relay_errors : (RO) Total number of packets
  94. received on the port that were discarded because they could not
  95. be forwarded by the switch relay.
  96. link_error_recovery: (RO) Total number of times the Port
  97. Training state machine has successfully completed the link error
  98. recovery process.
  99. port_xmit_constraint_errors: (RO) Total number of packets not
  100. transmitted from the switch physical port due to outbound raw
  101. filtering or failing outbound partition or IP version check.
  102. port_rcv_constraint_errors: (RO) Total number of packets
  103. received on the switch physical port that are discarded due to
  104. inbound raw filtering or failing inbound partition or IP version
  105. check.
  106. local_link_integrity_errors: (RO) The number of times that the
  107. count of local physical errors exceeded the threshold specified
  108. by LocalPhyErrors
  109. excessive_buffer_overrun_errors: (RO) This counter, indicates an
  110. input buffer overrun. It indicates possible misconfiguration of
  111. a port, either by the Subnet Manager (SM) or by user
  112. intervention. It can also indicate hardware issues or extremely
  113. poor link signal integrity
  114. Data info:
  115. ---------
  116. port_xmit_data: (RO) Total number of data octets, divided by 4
  117. (lanes), transmitted on all VLs. This is 64 bit counter
  118. port_rcv_data: (RO) Total number of data octets, divided by 4
  119. (lanes), received on all VLs. This is 64 bit counter.
  120. port_xmit_packets: (RO) Total number of packets transmitted on
  121. all VLs from this port. This may include packets with errors.
  122. This is 64 bit counter.
  123. port_rcv_packets: (RO) Total number of packets (this may include
  124. packets containing Errors. This is 64 bit counter.
  125. link_downed: (RO) Total number of times the Port Training state
  126. machine has failed the link error recovery process and downed
  127. the link.
  128. unicast_rcv_packets: (RO) Total number of unicast packets,
  129. including unicast packets containing errors.
  130. unicast_xmit_packets: (RO) Total number of unicast packets
  131. transmitted on all VLs from the port. This may include unicast
  132. packets with errors.
  133. multicast_rcv_packets: (RO) Total number of multicast packets,
  134. including multicast packets containing errors.
  135. multicast_xmit_packets: (RO) Total number of multicast packets
  136. transmitted on all VLs from the port. This may include multicast
  137. packets with errors.
  138. Misc info:
  139. ---------
  140. port_xmit_discards: (RO) Total number of outbound packets
  141. discarded by the port because the port is down or congested.
  142. VL15_dropped: (RO) Number of incoming VL15 packets dropped due
  143. to resource limitations (e.g., lack of buffers) of the port.
  144. port_xmit_wait: (RO) The number of ticks during which the port
  145. had data to transmit but no data was sent during the entire tick
  146. (either because of insufficient credits or because of lack of
  147. arbitration).
  148. Each of these files contains the corresponding value from the
  149. port's Performance Management PortCounters attribute, as
  150. described in the InfiniBand Architecture Specification.
  151. What: /sys/class/infiniband/<device-name>/hw_counters/lifespan
  152. What: /sys/class/infiniband/<device-name>/ports/<port-num>/hw_counters/lifespan
  153. Date: May, 2016
  154. KernelVersion: 4.6
  155. Contact: linux-rdma@vger.kernel.org
  156. Description:
  157. The optional "hw_counters" subdirectory can be under either the
  158. parent device or the port subdirectories or both. If present,
  159. there are a list of counters provided by the hardware. They may
  160. match some of the counters in the counters directory, but they
  161. often include many other counters. In addition to the various
  162. counters, there will be a file named "lifespan" that configures
  163. how frequently the core should update the counters when they are
  164. being accessed (counters are not updated if they are not being
  165. accessed). The lifespan is in milliseconds and defaults to 10
  166. unless set to something else by the driver. Users may echo a
  167. value between 0-10000 to the lifespan file to set the length
  168. of time between updates in milliseconds.
  169. What: /sys/class/infiniband/<hca>/ports/<port-number>/gid_attrs/ndevs/<gid-index>
  170. Date: November 29, 2015
  171. KernelVersion: 4.4.0
  172. Contact: linux-rdma@vger.kernel.org
  173. Description: The net-device's name associated with the GID resides
  174. at index <gid-index>.
  175. What: /sys/class/infiniband/<hca>/ports/<port-number>/gid_attrs/types/<gid-index>
  176. Date: November 29, 2015
  177. KernelVersion: 4.4.0
  178. Contact: linux-rdma@vger.kernel.org
  179. Description: The RoCE type of the associated GID resides at index <gid-index>.
  180. This could either be "IB/RoCE v1" for IB and RoCE v1 based GIDs
  181. or "RoCE v2" for RoCE v2 based GIDs.
  182. What: /sys/class/infiniband_mad/umadN/ibdev
  183. What: /sys/class/infiniband_mad/umadN/port
  184. What: /sys/class/infiniband_mad/issmN/ibdev
  185. What: /sys/class/infiniband_mad/issmN/port
  186. Date: Apr, 2005
  187. KernelVersion: v2.6.12
  188. Contact: linux-rdma@vger.kernel.org
  189. Description:
  190. Each port of each InfiniBand device has a "umad" device and an
  191. "issm" device attached. For example, a two-port HCA will have
  192. two umad devices and two issm devices, while a switch will have
  193. one device of each type (for switch port 0).
  194. ibdev: (RO) Show Infiniband (IB) device name
  195. port: (RO) Display port number
  196. What: /sys/class/infiniband_mad/abi_version
  197. Date: Apr, 2005
  198. KernelVersion: v2.6.12
  199. Contact: linux-rdma@vger.kernel.org
  200. Description:
  201. (RO) Value is incremented if any changes are made that break
  202. userspace ABI compatibility of umad & issm devices.
  203. What: /sys/class/infiniband_cm/ucmN/ibdev
  204. Date: Oct, 2005
  205. KernelVersion: v2.6.14
  206. Contact: linux-rdma@vger.kernel.org
  207. Description:
  208. (RO) Display Infiniband (IB) device name
  209. What: /sys/class/infiniband_cm/abi_version
  210. Date: Oct, 2005
  211. KernelVersion: v2.6.14
  212. Contact: linux-rdma@vger.kernel.org
  213. Description:
  214. (RO) Value is incremented if any changes are made that break
  215. userspace ABI compatibility of ucm devices.
  216. What: /sys/class/infiniband_verbs/uverbsN/ibdev
  217. What: /sys/class/infiniband_verbs/uverbsN/abi_version
  218. Date: Sept, 2005
  219. KernelVersion: v2.6.14
  220. Contact: linux-rdma@vger.kernel.org
  221. Description:
  222. ibdev: (RO) Display Infiniband (IB) device name
  223. abi_version: (RO) Show ABI version of IB device specific
  224. interfaces.
  225. What: /sys/class/infiniband_verbs/abi_version
  226. Date: Sep, 2005
  227. KernelVersion: v2.6.14
  228. Contact: linux-rdma@vger.kernel.org
  229. Description:
  230. (RO) Value is incremented if any changes are made that break
  231. userspace ABI compatibility of uverbs devices.
  232. sysfs interface for Mellanox IB HCA low-level driver (mthca)
  233. ------------------------------------------------------------
  234. What: /sys/class/infiniband/mthcaX/hw_rev
  235. What: /sys/class/infiniband/mthcaX/hca_type
  236. What: /sys/class/infiniband/mthcaX/board_id
  237. Date: Apr, 2005
  238. KernelVersion: v2.6.12
  239. Contact: linux-rdma@vger.kernel.org
  240. Description:
  241. hw_rev: (RO) Hardware revision number
  242. hca_type: (RO) Host Channel Adapter type: MT23108, MT25208
  243. (MT23108 compat mode), MT25208 or MT25204
  244. board_id: (RO) Manufacturing board ID
  245. sysfs interface for Chelsio T3 RDMA Driver (cxgb3)
  246. --------------------------------------------------
  247. What: /sys/class/infiniband/cxgb3_X/hw_rev
  248. What: /sys/class/infiniband/cxgb3_X/hca_type
  249. What: /sys/class/infiniband/cxgb3_X/board_id
  250. Date: Feb, 2007
  251. KernelVersion: v2.6.21
  252. Contact: linux-rdma@vger.kernel.org
  253. Description:
  254. hw_rev: (RO) Hardware revision number
  255. hca_type: (RO) HCA type. Here it is a driver short name.
  256. It should normally match the name in its bus
  257. driver structure (e.g. pci_driver::name).
  258. board_id: (RO) Manufacturing board id
  259. sysfs interface for Mellanox ConnectX HCA IB driver (mlx4)
  260. ----------------------------------------------------------
  261. What: /sys/class/infiniband/mlx4_X/hw_rev
  262. What: /sys/class/infiniband/mlx4_X/hca_type
  263. What: /sys/class/infiniband/mlx4_X/board_id
  264. Date: Sep, 2007
  265. KernelVersion: v2.6.24
  266. Contact: linux-rdma@vger.kernel.org
  267. Description:
  268. hw_rev: (RO) Hardware revision number
  269. hca_type: (RO) Host channel adapter type
  270. board_id: (RO) Manufacturing board ID
  271. What: /sys/class/infiniband/mlx4_X/iov/ports/<port-num>/gids/<n>
  272. What: /sys/class/infiniband/mlx4_X/iov/ports/<port-num>/admin_guids/<n>
  273. What: /sys/class/infiniband/mlx4_X/iov/ports/<port-num>/pkeys/<n>
  274. What: /sys/class/infiniband/mlx4_X/iov/ports/<port-num>/mcgs/
  275. What: /sys/class/infiniband/mlx4_X/iov/ports/<pci-slot-num>/ports/<m>/gid_idx/0
  276. What: /sys/class/infiniband/mlx4_X/iov/ports/<pci-slot-num>/ports/<m>/pkey_idx/<n>
  277. Date: Aug, 2012
  278. KernelVersion: v3.6.15
  279. Contact: linux-rdma@vger.kernel.org
  280. Description:
  281. The sysfs iov directory is used to manage and examine the port
  282. P_Key and guid paravirtualization. This directory is added only
  283. for the master -- slaves do not have it.
  284. Under iov/ports, the administrator may examine the gid and P_Key
  285. tables as they are present in the device (and as are seen in the
  286. "network view" presented to the SM).
  287. The "pkeys" and "gids" subdirectories contain one file for each
  288. entry in the port's P_Key or GID table respectively. For
  289. example, ports/1/pkeys/10 contains the value at index 10 in port
  290. 1's P_Key table.
  291. gids/<n>: (RO) The physical port gids n = 0..127
  292. admin_guids/<n>: (RW) Allows examining or changing the
  293. administrative state of a given GUID
  294. n = 0..127
  295. pkeys/<n>: (RO) Displays the contents of the physical
  296. key table n = 0..126
  297. mcgs/: (RO) Muticast group table
  298. <m>/gid_idx/0: (RO) Display the GID mapping m = 1..2
  299. <m>/pkey_idx/<n>: (RW) Writable except for RoCE pkeys.
  300. m = 1..2, n = 0..126
  301. Under the iov/<pci slot number>
  302. directories, the admin may map the index
  303. numbers in the physical tables (as under
  304. iov/ports) to the paravirtualized index
  305. numbers that guests see.
  306. For example, if the administrator, for
  307. port 1 on guest 2 maps physical pkey
  308. index 10 to virtual index 1, then that
  309. guest, whenever it uses its pkey index
  310. 1, will actually be using the real pkey
  311. index 10.
  312. What: /sys/class/infiniband/mlx4_X/iov/<pci-slot-num>/ports/<m>/smi_enabled
  313. What: /sys/class/infiniband/mlx4_X/iov/<pci-slot-num>/ports/<m>/enable_smi_admin
  314. Date: May, 2014
  315. KernelVersion: v3.15.7
  316. Contact: linux-rdma@vger.kernel.org
  317. Description:
  318. Enabling QP0 on VFs for selected VF/port. By default, no VFs are
  319. enabled for QP0 operation.
  320. smi_enabled: (RO) Indicates whether smi is currently enabled
  321. for the indicated VF/port
  322. enable_smi_admin:(RW) Used by the admin to request that smi
  323. capability be enabled or disabled for the
  324. indicated VF/port. 0 = disable, 1 = enable.
  325. The requested enablement will occur at the next reset of the VF
  326. (e.g. driver restart on the VM which owns the VF).
  327. sysfs interface for NetEffect RNIC Low-Level iWARP driver (nes)
  328. ---------------------------------------------------------------
  329. What: /sys/class/infiniband/nesX/hw_rev
  330. What: /sys/class/infiniband/nesX/hca_type
  331. What: /sys/class/infiniband/nesX/board_id
  332. Date: Feb, 2008
  333. KernelVersion: v2.6.25
  334. Contact: linux-rdma@vger.kernel.org
  335. Description:
  336. hw_rev: (RO) Hardware revision number
  337. hca_type: (RO) Host Channel Adapter type (NEX020)
  338. board_id: (RO) Manufacturing board id
  339. sysfs interface for Chelsio T4/T5 RDMA driver (cxgb4)
  340. -----------------------------------------------------
  341. What: /sys/class/infiniband/cxgb4_X/hw_rev
  342. What: /sys/class/infiniband/cxgb4_X/hca_type
  343. What: /sys/class/infiniband/cxgb4_X/board_id
  344. Date: Apr, 2010
  345. KernelVersion: v2.6.35
  346. Contact: linux-rdma@vger.kernel.org
  347. Description:
  348. hw_rev: (RO) Hardware revision number
  349. hca_type: (RO) Driver short name. Should normally match
  350. the name in its bus driver structure (e.g.
  351. pci_driver::name)
  352. board_id: (RO) Manufacturing board id. (Vendor + device
  353. information)
  354. sysfs interface for Intel IB driver qib
  355. ---------------------------------------
  356. What: /sys/class/infiniband/qibX/version
  357. What: /sys/class/infiniband/qibX/hw_rev
  358. What: /sys/class/infiniband/qibX/hca_type
  359. What: /sys/class/infiniband/qibX/board_id
  360. What: /sys/class/infiniband/qibX/boardversion
  361. What: /sys/class/infiniband/qibX/nctxts
  362. What: /sys/class/infiniband/qibX/localbus_info
  363. What: /sys/class/infiniband/qibX/tempsense
  364. What: /sys/class/infiniband/qibX/serial
  365. What: /sys/class/infiniband/qibX/nfreectxts
  366. What: /sys/class/infiniband/qibX/chip_reset
  367. Date: May, 2010
  368. KernelVersion: v2.6.35
  369. Contact: linux-rdma@vger.kernel.org
  370. Description:
  371. version: (RO) Display version information of installed software
  372. and drivers.
  373. hw_rev: (RO) Hardware revision number
  374. hca_type: (RO) Host channel adapter type
  375. board_id: (RO) Manufacturing board id
  376. boardversion: (RO) Current version of the chip architecture
  377. nctxts: (RO) Return the number of user ports (contexts)
  378. available
  379. localbus_info: (RO) Human readable localbus info
  380. tempsense: (RO) Display temp sense registers in decimal
  381. serial: (RO) Serial number of the HCA
  382. nfreectxts: (RO) The number of free user ports (contexts)
  383. available.
  384. chip_reset: (WO) Reset the chip if possible by writing
  385. "reset" to this file. Only allowed if no user
  386. contexts are open that use chip resources.
  387. What: /sys/class/infiniband/qibX/ports/N/sl2vl/[0-15]
  388. Date: May, 2010
  389. KernelVersion: v2.6.35
  390. Contact: linux-rdma@vger.kernel.org
  391. Description:
  392. (RO) The directory contains 16 files numbered 0-15 that specify
  393. the Service Level (SL). Listing the SL files returns the Virtual
  394. Lane (VL) as programmed by the SL.
  395. What: /sys/class/infiniband/qibX/ports/N/CCMgtA/cc_settings_bin
  396. What: /sys/class/infiniband/qibX/ports/N/CCMgtA/cc_table_bin
  397. Date: May, 2010
  398. KernelVersion: v2.6.35
  399. Contact: linux-rdma@vger.kernel.org
  400. Description:
  401. Per-port congestion control. Both are binary attributes.
  402. cc_table_bin: (RO) Congestion control table size followed by
  403. table entries.
  404. cc_settings_bin:(RO) Congestion settings: port control, control
  405. map and an array of 16 entries for the
  406. congestion entries - increase, timer, event log
  407. trigger threshold and the minimum injection rate
  408. delay.
  409. What: /sys/class/infiniband/qibX/ports/N/linkstate/loopback
  410. What: /sys/class/infiniband/qibX/ports/N/linkstate/led_override
  411. What: /sys/class/infiniband/qibX/ports/N/linkstate/hrtbt_enable
  412. What: /sys/class/infiniband/qibX/ports/N/linkstate/status
  413. What: /sys/class/infiniband/qibX/ports/N/linkstate/status_str
  414. Date: May, 2010
  415. KernelVersion: v2.6.35
  416. Contact: linux-rdma@vger.kernel.org
  417. Description:
  418. [to be documented]
  419. loopback: (WO)
  420. led_override: (WO)
  421. hrtbt_enable: (RW)
  422. status: (RO)
  423. status_str: (RO) Displays information about the link state,
  424. possible cable/switch problems, and hardware
  425. errors. Possible states are- "Initted",
  426. "Present", "IB_link_up", "IB_configured" or
  427. "Fatal_Hardware_Error".
  428. What: /sys/class/infiniband/qibX/ports/N/diag_counters/rc_resends
  429. What: /sys/class/infiniband/qibX/ports/N/diag_counters/seq_naks
  430. What: /sys/class/infiniband/qibX/ports/N/diag_counters/rdma_seq
  431. What: /sys/class/infiniband/qibX/ports/N/diag_counters/rnr_naks
  432. What: /sys/class/infiniband/qibX/ports/N/diag_counters/other_naks
  433. What: /sys/class/infiniband/qibX/ports/N/diag_counters/rc_timeouts
  434. What: /sys/class/infiniband/qibX/ports/N/diag_counters/look_pkts
  435. What: /sys/class/infiniband/qibX/ports/N/diag_counters/pkt_drops
  436. What: /sys/class/infiniband/qibX/ports/N/diag_counters/dma_wait
  437. What: /sys/class/infiniband/qibX/ports/N/diag_counters/unaligned
  438. Date: May, 2010
  439. KernelVersion: v2.6.35
  440. Contact: linux-rdma@vger.kernel.org
  441. Description:
  442. [to be documented]
  443. sysfs interface for Mellanox Connect-IB HCA driver mlx5
  444. -------------------------------------------------------
  445. What: /sys/class/infiniband/mlx5_X/hw_rev
  446. What: /sys/class/infiniband/mlx5_X/hca_type
  447. What: /sys/class/infiniband/mlx5_X/reg_pages
  448. What: /sys/class/infiniband/mlx5_X/fw_pages
  449. Date: Jul, 2013
  450. KernelVersion: v3.11
  451. Contact: linux-rdma@vger.kernel.org
  452. Description:
  453. [to be documented]
  454. sysfs interface for Cisco VIC (usNIC) Verbs Driver
  455. --------------------------------------------------
  456. What: /sys/class/infiniband/usnic_X/board_id
  457. What: /sys/class/infiniband/usnic_X/config
  458. What: /sys/class/infiniband/usnic_X/qp_per_vf
  459. What: /sys/class/infiniband/usnic_X/max_vf
  460. What: /sys/class/infiniband/usnic_X/cq_per_vf
  461. What: /sys/class/infiniband/usnic_X/iface
  462. Date: Sep, 2013
  463. KernelVersion: v3.14
  464. Contact: Christian Benvenuti <benve@cisco.com>,
  465. Dave Goodell <dgoodell@cisco.com>,
  466. linux-rdma@vger.kernel.org
  467. Description:
  468. board_id: (RO) Manufacturing board id
  469. config: (RO) Report the configuration for this PF
  470. qp_per_vf: (RO) Queue pairs per virtual function.
  471. max_vf: (RO) Max virtual functions
  472. cq_per_vf: (RO) Completion queue per virtual function
  473. iface: (RO) Shows which network interface this usNIC
  474. entry is associated to (visible with ifconfig).
  475. What: /sys/class/infiniband/usnic_X/qpn/summary
  476. What: /sys/class/infiniband/usnic_X/qpn/context
  477. Date: Sep, 2013
  478. KernelVersion: v3.14
  479. Contact: Christian Benvenuti <benve@cisco.com>,
  480. Dave Goodell <dgoodell@cisco.com>,
  481. linux-rdma@vger.kernel.org
  482. Description:
  483. [to be documented]
  484. sysfs interface for Emulex RoCE HCA Driver
  485. ------------------------------------------
  486. What: /sys/class/infiniband/ocrdmaX/hw_rev
  487. Date: Feb, 2014
  488. KernelVersion: v3.14
  489. Description:
  490. hw_rev: (RO) Hardware revision number
  491. What: /sys/class/infiniband/ocrdmaX/hca_type
  492. Date: Jun, 2014
  493. KernelVersion: v3.16
  494. Contact: linux-rdma@vger.kernel.org
  495. Description:
  496. hca_type: (RO) Display FW version
  497. sysfs interface for Intel Omni-Path driver (HFI1)
  498. -------------------------------------------------
  499. What: /sys/class/infiniband/hfi1_X/hw_rev
  500. What: /sys/class/infiniband/hfi1_X/board_id
  501. What: /sys/class/infiniband/hfi1_X/nctxts
  502. What: /sys/class/infiniband/hfi1_X/serial
  503. What: /sys/class/infiniband/hfi1_X/chip_reset
  504. What: /sys/class/infiniband/hfi1_X/boardversion
  505. What: /sys/class/infiniband/hfi1_X/nfreectxts
  506. What: /sys/class/infiniband/hfi1_X/tempsense
  507. Date: May, 2016
  508. KernelVersion: v4.6
  509. Contact: linux-rdma@vger.kernel.org
  510. Description:
  511. hw_rev: (RO) Hardware revision number
  512. board_id: (RO) Manufacturing board id
  513. nctxts: (RO) Total contexts available.
  514. serial: (RO) Board serial number
  515. chip_reset: (WO) Write "reset" to this file to reset the
  516. chip if possible. Only allowed if no user
  517. contexts are open that use chip resources.
  518. boardversion: (RO) Human readable board info
  519. nfreectxts: (RO) The number of free user ports (contexts)
  520. available.
  521. tempsense: (RO) Thermal sense information
  522. What: /sys/class/infiniband/hfi1_X/ports/N/CCMgtA/cc_settings_bin
  523. What: /sys/class/infiniband/hfi1_X/ports/N/CCMgtA/cc_table_bin
  524. What: /sys/class/infiniband/hfi1_X/ports/N/CCMgtA/cc_prescan
  525. Date: May, 2016
  526. KernelVersion: v4.6
  527. Contact: linux-rdma@vger.kernel.org
  528. Description:
  529. Per-port congestion control.
  530. cc_table_bin: (RO) CCA tables used by PSM2 Congestion control
  531. table size followed by table entries. Binary
  532. attribute.
  533. cc_settings_bin:(RO) Congestion settings: port control, control
  534. map and an array of 16 entries for the
  535. congestion entries - increase, timer, event log
  536. trigger threshold and the minimum injection rate
  537. delay. Binary attribute.
  538. cc_prescan: (RW) enable prescanning for faster BECN
  539. response. Write "on" to enable and "off" to
  540. disable.
  541. What: /sys/class/infiniband/hfi1_X/ports/N/sc2vl/[0-31]
  542. What: /sys/class/infiniband/hfi1_X/ports/N/sl2sc/[0-31]
  543. What: /sys/class/infiniband/hfi1_X/ports/N/vl2mtu/[0-15]
  544. Date: May, 2016
  545. KernelVersion: v4.6
  546. Contact: linux-rdma@vger.kernel.org
  547. Description:
  548. sc2vl/: (RO) 32 files (0 - 31) used to translate sl->vl
  549. sl2sc/: (RO) 32 files (0 - 31) used to translate sl->sc
  550. vl2mtu/: (RO) 16 files (0 - 15) used to determine MTU for vl
  551. What: /sys/class/infiniband/hfi1_X/sdma_N/cpu_list
  552. What: /sys/class/infiniband/hfi1_X/sdma_N/vl
  553. Date: Sept, 2016
  554. KernelVersion: v4.8
  555. Contact: linux-rdma@vger.kernel.org
  556. Description:
  557. sdma<N>/ contains one directory per sdma engine (0 - 15)
  558. cpu_list: (RW) List of cpus for user-process to sdma
  559. engine assignment.
  560. vl: (RO) Displays the virtual lane (vl) the sdma
  561. engine maps to.
  562. This interface gives the user control on the affinity settings
  563. for the device. As an example, to set an sdma engine irq
  564. affinity and thread affinity of a user processes to use the
  565. sdma engine, which is "near" in terms of NUMA configuration, or
  566. physical cpu location, the user will do:
  567. echo "3" > /proc/irq/<N>/smp_affinity_list
  568. echo "4-7" > /sys/devices/.../sdma3/cpu_list
  569. cat /sys/devices/.../sdma3/vl
  570. 0
  571. echo "8" > /proc/irq/<M>/smp_affinity_list
  572. echo "9-12" > /sys/devices/.../sdma4/cpu_list
  573. cat /sys/devices/.../sdma4/vl
  574. 1
  575. to make sure that when a process runs on cpus 4,5,6, or 7, and
  576. uses vl=0, then sdma engine 3 is selected by the driver, and
  577. also the interrupt of the sdma engine 3 is steered to cpu 3.
  578. Similarly, when a process runs on cpus 9,10,11, or 12 and sets
  579. vl=1, then engine 4 will be selected and the irq of the sdma
  580. engine 4 is steered to cpu 8. This assumes that in the above N
  581. is the irq number of "sdma3", and M is irq number of "sdma4" in
  582. the /proc/interrupts file.
  583. sysfs interface for Intel(R) X722 iWARP i40iw driver
  584. ----------------------------------------------------
  585. What: /sys/class/infiniband/i40iwX/hw_rev
  586. What: /sys/class/infiniband/i40iwX/hca_type
  587. What: /sys/class/infiniband/i40iwX/board_id
  588. Date: Jan, 2016
  589. KernelVersion: v4.10
  590. Contact: linux-rdma@vger.kernel.org
  591. Description:
  592. hw_rev: (RO) Hardware revision number
  593. hca_type: (RO) Show HCA type (I40IW)
  594. board_id: (RO) I40IW board ID
  595. sysfs interface for QLogic qedr NIC Driver
  596. ------------------------------------------
  597. What: /sys/class/infiniband/qedrX/hw_rev
  598. What: /sys/class/infiniband/qedrX/hca_type
  599. Date: Oct, 2016
  600. KernelVersion: v4.10
  601. Contact: linux-rdma@vger.kernel.org
  602. Description:
  603. hw_rev: (RO) Hardware revision number
  604. hca_type: (RO) Display HCA type
  605. sysfs interface for VMware Paravirtual RDMA driver
  606. --------------------------------------------------
  607. What: /sys/class/infiniband/vmw_pvrdmaX/hw_rev
  608. What: /sys/class/infiniband/vmw_pvrdmaX/hca_type
  609. What: /sys/class/infiniband/vmw_pvrdmaX/board_id
  610. Date: Oct, 2016
  611. KernelVersion: v4.10
  612. Contact: linux-rdma@vger.kernel.org
  613. Description:
  614. hw_rev: (RO) Hardware revision number
  615. hca_type: (RO) Host channel adapter type
  616. board_id: (RO) Display PVRDMA manufacturing board ID
  617. sysfs interface for Broadcom NetXtreme-E RoCE driver
  618. ----------------------------------------------------
  619. What: /sys/class/infiniband/bnxt_reX/hw_rev
  620. What: /sys/class/infiniband/bnxt_reX/hca_type
  621. Date: Feb, 2017
  622. KernelVersion: v4.11
  623. Contact: linux-rdma@vger.kernel.org
  624. Description:
  625. hw_rev: (RO) Hardware revision number
  626. hca_type: (RO) Host channel adapter type