mirror of
https://github.com/SCST-project/scst.git
synced 2026-07-19 22:42:38 +00:00
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:
+2
-1
@@ -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
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user