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