diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2007-02-28 18:32:17 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-03-11 12:26:50 -0400 |
commit | bf32ed33e97ac7905fa5a2bf49a634c2eaf62457 (patch) | |
tree | 99ce6524b813393a612e6a1b9564c92ac30f74a9 /drivers/infiniband/ulp | |
parent | 05db888a46866fd4eae643792c162e1a5c1a8612 (diff) |
[SCSI] iscsi: rename DEFAULT_MAX_RECV_DATA_SEGMENT_LENGTH
This patch renames DEFAULT_MAX_RECV_DATA_SEGMENT_LENGTH to avoid
confusion with the drivers default values (DEFAULT_MAX_RECV_DATA_SEGMENT_LENGTH
is the iscsi RFC specific default).
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/infiniband/ulp')
-rw-r--r-- | drivers/infiniband/ulp/iser/iser_initiator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/iser/iser_initiator.c b/drivers/infiniband/ulp/iser/iser_initiator.c index 89e37283c836..3261bb327281 100644 --- a/drivers/infiniband/ulp/iser/iser_initiator.c +++ b/drivers/infiniband/ulp/iser/iser_initiator.c | |||
@@ -201,7 +201,7 @@ static int iser_post_receive_control(struct iscsi_conn *conn) | |||
201 | * what's common for both schemes is that the connection is not started | 201 | * what's common for both schemes is that the connection is not started |
202 | */ | 202 | */ |
203 | if (conn->c_stage != ISCSI_CONN_STARTED) | 203 | if (conn->c_stage != ISCSI_CONN_STARTED) |
204 | rx_data_size = DEFAULT_MAX_RECV_DATA_SEGMENT_LENGTH; | 204 | rx_data_size = ISCSI_DEF_MAX_RECV_SEG_LEN; |
205 | else /* FIXME till user space sets conn->max_recv_dlength correctly */ | 205 | else /* FIXME till user space sets conn->max_recv_dlength correctly */ |
206 | rx_data_size = 128; | 206 | rx_data_size = 128; |
207 | 207 | ||