mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-16 18:21:27 +00:00
SRP_CRED_REQ autodetection is now disabled by default.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2026 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -74,10 +74,11 @@ The ib_srpt kernel module supports the following parameters:
|
||||
to 65536 bytes, which is sufficient to use the full bandwidth of low-latency
|
||||
HCAs. Increasing this value may decrease latency for applications
|
||||
transferring large amounts of data at once.
|
||||
* srpt_autodetect_cred_req (y or n, default y)
|
||||
* srpt_autodetect_cred_req (y or n, default n)
|
||||
Whether or not to autodetect initiator support for SRP_CRED_REQ (initiators
|
||||
with Linux kernel 2.6.37 or later only). The use of SRP_CRED_REQ allows
|
||||
ib_srpt to process workloads with large I/O depths more efficiently.
|
||||
Note: enabling this mode causes the Windows SRP initiator to stop working.
|
||||
* srpt_srq_size (number, default 4095)
|
||||
ib_srpt uses a shared receive queue (SRQ) for processing incoming SRP
|
||||
requests. This number may have to be increased when a large number of
|
||||
|
||||
@@ -130,11 +130,12 @@ module_param(srpt_sq_size, int, 0444);
|
||||
MODULE_PARM_DESC(srpt_sq_size,
|
||||
"Per-channel send queue (SQ) size.");
|
||||
|
||||
#if defined(RHEL_MAJOR) && RHEL_MAJOR -0 <= 5
|
||||
static int srpt_autodetect_cred_req = true;
|
||||
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 27) \
|
||||
|| defined(RHEL_MAJOR) && RHEL_MAJOR -0 <= 5
|
||||
static int srpt_autodetect_cred_req;
|
||||
module_param(srpt_autodetect_cred_req, int, 0444);
|
||||
#else
|
||||
static bool srpt_autodetect_cred_req = true;
|
||||
static bool srpt_autodetect_cred_req;
|
||||
module_param(srpt_autodetect_cred_req, bool, 0444);
|
||||
#endif
|
||||
MODULE_PARM_DESC(srpt_autodetect_cred_req,
|
||||
|
||||
Reference in New Issue
Block a user