Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
What: /config/rdma_cm
|
|
Date: November 29, 2015
|
|
KernelVersion: 4.4.0
|
|
Description: Interface is used to configure RDMA-cable HCAs in respect to
|
|
RDMA-CM attributes.
|
|
|
|
Attributes are visible only when configfs is mounted. To mount
|
|
configfs in /config directory use:
|
|
# mount -t configfs none /config/
|
|
|
|
In order to set parameters related to a specific HCA, a directory
|
|
for this HCA has to be created:
|
|
mkdir -p /config/rdma_cm/<hca>
|
|
|
|
|
|
What: /config/rdma_cm/<hca>/ports/<port-num>/default_roce_mode
|
|
Date: November 29, 2015
|
|
KernelVersion: 4.4.0
|
|
Description: RDMA-CM based connections from HCA <hca> at port <port-num>
|
|
will be initiated with this RoCE type as default.
|
|
The possible RoCE types are either "IB/RoCE v1" or "RoCE v2".
|
|
This parameter has RW access.
|
|
|
|
What: /config/rdma_cm/<hca>/ports/<port-num>/default_roce_tos
|
|
Date: February 7, 2017
|
|
KernelVersion: 4.11.0
|
|
Description: RDMA-CM QPs from HCA <hca> at port <port-num>
|
|
will be created with this TOS as default.
|
|
This can be overridden by using the rdma_set_option API.
|
|
The possible RoCE TOS values are 0-255.
|