mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 02:31:27 +00:00
ib_srpt: Increase default value of srp_max_req_size from 2116 to 4148 bytes
(merge r3939 from trunk). git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@3994 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -68,7 +68,7 @@ The ib_srpt kernel module supports the following parameters:
|
||||
The larger this parameter, the more scatter/gather list elements can be
|
||||
sent at once. Use the following formula to compute an appropriate value
|
||||
for this parameter: 68 + 16 * (sg_tablesize). The default value of
|
||||
this parameter is 2116, which corresponds to an sg table size of 128.
|
||||
this parameter is 4148, which corresponds to an sg table size of 255.
|
||||
* srp_max_rsp_size (number)
|
||||
Maximum size of an SRP response message in bytes. Sense data is sent back
|
||||
via these messages towards the initiator. The default size is 256 bytes.
|
||||
|
||||
@@ -124,7 +124,7 @@ enum {
|
||||
DEFAULT_MAX_REQ_SIZE
|
||||
= sizeof(struct srp_cmd)/*48*/
|
||||
+ sizeof(struct srp_indirect_buf)/*20*/
|
||||
+ 128 * sizeof(struct srp_direct_buf)/*16*/,
|
||||
+ 255 * sizeof(struct srp_direct_buf)/*16*/,
|
||||
|
||||
MIN_MAX_RSP_SIZE = sizeof(struct srp_rsp)/*36*/ + 4,
|
||||
DEFAULT_MAX_RSP_SIZE = 256, /* leaves 220 bytes for sense data */
|
||||
|
||||
Reference in New Issue
Block a user