18c2ecf20Sopenharmony_ciWhat: /config/rdma_cm 28c2ecf20Sopenharmony_ciDate: November 29, 2015 38c2ecf20Sopenharmony_ciKernelVersion: 4.4.0 48c2ecf20Sopenharmony_ciDescription: Interface is used to configure RDMA-cable HCAs in respect to 58c2ecf20Sopenharmony_ci RDMA-CM attributes. 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci Attributes are visible only when configfs is mounted. To mount 88c2ecf20Sopenharmony_ci configfs in /config directory use: 98c2ecf20Sopenharmony_ci # mount -t configfs none /config/ 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci In order to set parameters related to a specific HCA, a directory 128c2ecf20Sopenharmony_ci for this HCA has to be created: 138c2ecf20Sopenharmony_ci mkdir -p /config/rdma_cm/<hca> 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ciWhat: /config/rdma_cm/<hca>/ports/<port-num>/default_roce_mode 178c2ecf20Sopenharmony_ciDate: November 29, 2015 188c2ecf20Sopenharmony_ciKernelVersion: 4.4.0 198c2ecf20Sopenharmony_ciDescription: RDMA-CM based connections from HCA <hca> at port <port-num> 208c2ecf20Sopenharmony_ci will be initiated with this RoCE type as default. 218c2ecf20Sopenharmony_ci The possible RoCE types are either "IB/RoCE v1" or "RoCE v2". 228c2ecf20Sopenharmony_ci This parameter has RW access. 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ciWhat: /config/rdma_cm/<hca>/ports/<port-num>/default_roce_tos 258c2ecf20Sopenharmony_ciDate: February 7, 2017 268c2ecf20Sopenharmony_ciKernelVersion: 4.11.0 278c2ecf20Sopenharmony_ciDescription: RDMA-CM QPs from HCA <hca> at port <port-num> 288c2ecf20Sopenharmony_ci will be created with this TOS as default. 298c2ecf20Sopenharmony_ci This can be overridden by using the rdma_set_option API. 308c2ecf20Sopenharmony_ci The possible RoCE TOS values are 0-255. 31