configfs-rdma_cm 1.1 KB

123456789101112131415161718192021222324252627282930
  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. Attributes are visible only when configfs is mounted. To mount
  7. configfs in /config directory use:
  8. # mount -t configfs none /config/
  9. In order to set parameters related to a specific HCA, a directory
  10. for this HCA has to be created:
  11. mkdir -p /config/rdma_cm/<hca>
  12. What: /config/rdma_cm/<hca>/ports/<port-num>/default_roce_mode
  13. Date: November 29, 2015
  14. KernelVersion: 4.4.0
  15. Description: RDMA-CM based connections from HCA <hca> at port <port-num>
  16. will be initiated with this RoCE type as default.
  17. The possible RoCE types are either "IB/RoCE v1" or "RoCE v2".
  18. This parameter has RW access.
  19. What: /config/rdma_cm/<hca>/ports/<port-num>/default_roce_tos
  20. Date: February 7, 2017
  21. KernelVersion: 4.11.0
  22. Description: RDMA-CM QPs from HCA <hca> at port <port-num>
  23. will be created with this TOS as default.
  24. This can be overridden by using the rdma_set_option API.
  25. The possible RoCE TOS values are 0-255.