From 69ff2ed9289616a134c13f96b517d44508d01c8b Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 28 Jul 2015 15:40:12 +0000 Subject: [PATCH] ib_srpt: Clarify RoCE documentation This is a modified version of a patch supplied by Hiroyuki Sato git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6433 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/README | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/srpt/README b/srpt/README index 85f9b91c3..5f33a5a82 100644 --- a/srpt/README +++ b/srpt/README @@ -85,12 +85,11 @@ The ib_srpt kernel module supports the following parameters: Configuring the SRP Target System --------------------------------- -The first step is to choose whether access control will be controlled per -HCA or per HCA port and to create a modprobe configuration file that reflects -this choice. An example: +When using RoCE or iWARP the first step is to enable support for these +protocols in the target driver by setting the rdma_cm_port kernel module +parameter to a non-zero value. An example: - # cat /etc/modprobe.d/ib_srpt.conf - options ib_srpt one_target_per_port=1 + echo options ib_srpt rdma_cm_port=5000 > /etc/modprobe.d/ib_srpt.conf Next, create the file /etc/scst.conf. You can create this file with the scstadmin tool as follows: