Matan Barak | 045959d | 2015-12-23 14:56:55 +0200 | [diff] [blame] | 1 | What: /config/rdma_cm |
| 2 | Date: November 29, 2015 |
| 3 | KernelVersion: 4.4.0 |
| 4 | Description: Interface is used to configure RDMA-cable HCAs in respect to |
| 5 | RDMA-CM attributes. |
| 6 | |
| 7 | Attributes are visible only when configfs is mounted. To mount |
| 8 | configfs in /config directory use: |
| 9 | # mount -t configfs none /config/ |
| 10 | |
| 11 | In order to set parameters related to a specific HCA, a directory |
| 12 | for this HCA has to be created: |
| 13 | mkdir -p /config/rdma_cm/<hca> |
| 14 | |
| 15 | |
| 16 | What: /config/rdma_cm/<hca>/ports/<port-num>/default_roce_mode |
| 17 | Date: November 29, 2015 |
| 18 | KernelVersion: 4.4.0 |
| 19 | Description: RDMA-CM based connections from HCA <hca> at port <port-num> |
| 20 | will be initiated with this RoCE type as default. |
| 21 | The possible RoCE types are either "IB/RoCE v1" or "RoCE v2". |
| 22 | This parameter has RW access. |
Majd Dibbiny | 89052d7 | 2017-02-14 07:21:52 +0200 | [diff] [blame] | 23 | |
| 24 | What: /config/rdma_cm/<hca>/ports/<port-num>/default_roce_tos |
| 25 | Date: February 7, 2017 |
| 26 | KernelVersion: 4.11.0 |
| 27 | Description: RDMA-CM QPs from HCA <hca> at port <port-num> |
| 28 | will be created with this TOS as default. |
| 29 | This can be overridden by using the rdma_set_option API. |
| 30 | The possible RoCE TOS values are 0-255. |