ib_srpt: Make one_target_per_port the default mode

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5598 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2014-06-13 06:55:23 +00:00
parent 523fe73096
commit facea4c337
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -50,7 +50,8 @@ The ib_srpt kernel module supports the following parameters:
Mode (1) is choosen if both one_target_per_port and
use_node_guid_in_target_name are false. Mode (2) is choosen if
one_target_per_port is false and use_node_guid_in_target_name is true. Mode
(3) is choosen if one_target_per_port is true.
(3) is choosen if one_target_per_port is true. This last mode is the
default mode.
* rdma_cm_port (number)
A 16-bit number that specifies the port number to be registered via the
RDMA/CM. Must be specified to make communication over RoCE or iWARP
+2 -2
View File
@@ -151,9 +151,9 @@ MODULE_PARM_DESC(use_node_guid_in_target_name,
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 31) \
|| defined(RHEL_MAJOR) && RHEL_MAJOR -0 <= 5
static int one_target_per_port;
static int one_target_per_port = true;
#else
static bool one_target_per_port;
static bool one_target_per_port = true;
#endif
module_param(one_target_per_port, bool, 0444);
MODULE_PARM_DESC(one_target_per_port,