2 Date: November 29, 2015
4 Description: Interface is used to configure RDMA-cable HCAs in respect to
7 Attributes are visible only when configfs is mounted. To mount
8 configfs in /config directory use:
9 # mount -t configfs none /config/
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>
16 What: /config/rdma_cm/<hca>/ports/<port-num>/default_roce_mode
17 Date: November 29, 2015
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.
24 What: /config/rdma_cm/<hca>/ports/<port-num>/default_roce_tos
25 Date: February 7, 2017
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.