diff options
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/ulp/iser/iscsi_iser.c | 4 | ||||
-rw-r--r-- | drivers/infiniband/ulp/iser/iscsi_iser.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.c b/drivers/infiniband/ulp/iser/iscsi_iser.c index 4338f54c41fa..5f79c0a5faf3 100644 --- a/drivers/infiniband/ulp/iser/iscsi_iser.c +++ b/drivers/infiniband/ulp/iser/iscsi_iser.c | |||
@@ -404,7 +404,7 @@ iscsi_iser_session_create(struct iscsi_endpoint *ep, | |||
404 | struct Scsi_Host *shost; | 404 | struct Scsi_Host *shost; |
405 | struct iser_conn *ib_conn; | 405 | struct iser_conn *ib_conn; |
406 | 406 | ||
407 | shost = iscsi_host_alloc(&iscsi_iser_sht, 0, ISCSI_MAX_CMD_PER_LUN); | 407 | shost = iscsi_host_alloc(&iscsi_iser_sht, 0, ISER_DEF_CMD_PER_LUN); |
408 | if (!shost) | 408 | if (!shost) |
409 | return NULL; | 409 | return NULL; |
410 | shost->transportt = iscsi_iser_scsi_transport; | 410 | shost->transportt = iscsi_iser_scsi_transport; |
@@ -596,7 +596,7 @@ static struct scsi_host_template iscsi_iser_sht = { | |||
596 | .change_queue_depth = iscsi_change_queue_depth, | 596 | .change_queue_depth = iscsi_change_queue_depth, |
597 | .sg_tablesize = ISCSI_ISER_SG_TABLESIZE, | 597 | .sg_tablesize = ISCSI_ISER_SG_TABLESIZE, |
598 | .max_sectors = 1024, | 598 | .max_sectors = 1024, |
599 | .cmd_per_lun = ISCSI_MAX_CMD_PER_LUN, | 599 | .cmd_per_lun = ISER_DEF_CMD_PER_LUN, |
600 | .eh_abort_handler = iscsi_eh_abort, | 600 | .eh_abort_handler = iscsi_eh_abort, |
601 | .eh_device_reset_handler= iscsi_eh_device_reset, | 601 | .eh_device_reset_handler= iscsi_eh_device_reset, |
602 | .eh_target_reset_handler= iscsi_eh_target_reset, | 602 | .eh_target_reset_handler= iscsi_eh_target_reset, |
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.h b/drivers/infiniband/ulp/iser/iscsi_iser.h index 861119593f2b..9d529cae1f0d 100644 --- a/drivers/infiniband/ulp/iser/iscsi_iser.h +++ b/drivers/infiniband/ulp/iser/iscsi_iser.h | |||
@@ -93,7 +93,7 @@ | |||
93 | 93 | ||
94 | /* support upto 512KB in one RDMA */ | 94 | /* support upto 512KB in one RDMA */ |
95 | #define ISCSI_ISER_SG_TABLESIZE (0x80000 >> SHIFT_4K) | 95 | #define ISCSI_ISER_SG_TABLESIZE (0x80000 >> SHIFT_4K) |
96 | #define ISCSI_ISER_MAX_LUN 256 | 96 | #define ISER_DEF_CMD_PER_LUN 128 |
97 | 97 | ||
98 | /* QP settings */ | 98 | /* QP settings */ |
99 | /* Maximal bounds on received asynchronous PDUs */ | 99 | /* Maximal bounds on received asynchronous PDUs */ |