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