xref: /linux/Documentation/ABI/testing/configfs-rdma_cm (revision 0337966d121ebebf73a1c346123e8112796e684e)
1045959dbSMatan BarakWhat: 		/config/rdma_cm
2045959dbSMatan BarakDate: 		November 29, 2015
3045959dbSMatan BarakKernelVersion:  4.4.0
4045959dbSMatan BarakDescription: 	Interface is used to configure RDMA-cable HCAs in respect to
5045959dbSMatan Barak		RDMA-CM attributes.
6045959dbSMatan Barak
7045959dbSMatan Barak		Attributes are visible only when configfs is mounted. To mount
8045959dbSMatan Barak		configfs in /config directory use:
9045959dbSMatan Barak		# mount -t configfs none /config/
10045959dbSMatan Barak
11045959dbSMatan Barak		In order to set parameters related to a specific HCA, a directory
12045959dbSMatan Barak		for this HCA has to be created:
13045959dbSMatan Barak		mkdir -p /config/rdma_cm/<hca>
14045959dbSMatan Barak
15045959dbSMatan Barak
16045959dbSMatan BarakWhat: 		/config/rdma_cm/<hca>/ports/<port-num>/default_roce_mode
17045959dbSMatan BarakDate: 		November 29, 2015
18045959dbSMatan BarakKernelVersion:  4.4.0
19045959dbSMatan BarakDescription: 	RDMA-CM based connections from HCA <hca> at port <port-num>
20045959dbSMatan Barak		will be initiated with this RoCE type as default.
21045959dbSMatan Barak		The possible RoCE types are either "IB/RoCE v1" or "RoCE v2".
22045959dbSMatan Barak		This parameter has RW access.
23*89052d78SMajd Dibbiny
24*89052d78SMajd DibbinyWhat: 		/config/rdma_cm/<hca>/ports/<port-num>/default_roce_tos
25*89052d78SMajd DibbinyDate: 		February 7, 2017
26*89052d78SMajd DibbinyKernelVersion:  4.11.0
27*89052d78SMajd DibbinyDescription: 	RDMA-CM QPs from HCA <hca> at port <port-num>
28*89052d78SMajd Dibbiny		will be created with this TOS as default.
29*89052d78SMajd Dibbiny		This can be overridden by using the rdma_set_option API.
30*89052d78SMajd Dibbiny		The possible RoCE TOS values are 0-255.
31