1What: /config/rdma_cm 2Date: November 29, 2015 3KernelVersion: 4.4.0 4Description: 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 Note: configfs has no network namespace support, so this 16 interface cannot represent two devices that share a name in 17 different network namespaces (possible in exclusive netns mode). 18 19 20What: /config/rdma_cm/<hca>/ports/<port-num>/default_roce_mode 21Date: November 29, 2015 22KernelVersion: 4.4.0 23Description: RDMA-CM based connections from HCA <hca> at port <port-num> 24 will be initiated with this RoCE type as default. 25 The possible RoCE types are either "IB/RoCE v1" or "RoCE v2". 26 This parameter has RW access. 27 28What: /config/rdma_cm/<hca>/ports/<port-num>/default_roce_tos 29Date: February 7, 2017 30KernelVersion: 4.11.0 31Description: RDMA-CM QPs from HCA <hca> at port <port-num> 32 will be created with this TOS as default. 33 This can be overridden by using the rdma_set_option API. 34 The possible RoCE TOS values are 0-255. 35