summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormanish.rangankar@cavium.com <manish.rangankar@cavium.com>2017-05-19 01:33:19 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2017-05-23 22:16:43 -0400
commit962ea1c0df6c5a36f4477aa4a10f4acc0f5f56bd (patch)
tree5497e418d9a607d3ad10b04c5308631954383148
parent0ea9314f4e6c69f8d732e0a9310114c2de35ada8 (diff)
scsi: qedi: Set firmware tcp msl timer value.
Signed-off-by: Manish Rangankar <manish.rangankar@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r--drivers/scsi/qedi/qedi_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qedi/qedi_main.c b/drivers/scsi/qedi/qedi_main.c
index 997e3052a706..62ba0550b68c 100644
--- a/drivers/scsi/qedi/qedi_main.c
+++ b/drivers/scsi/qedi/qedi_main.c
@@ -827,6 +827,7 @@ static int qedi_set_iscsi_pf_param(struct qedi_ctx *qedi)
qedi->pf_params.iscsi_pf_params.num_uhq_pages_in_ring = num_sq_pages;
qedi->pf_params.iscsi_pf_params.num_queues = qedi->num_queues;
qedi->pf_params.iscsi_pf_params.debug_mode = qedi_fw_debug;
+ qedi->pf_params.iscsi_pf_params.two_msl_timer = 4000;
for (log_page_size = 0 ; log_page_size < 32 ; log_page_size++) {
if ((1 << log_page_size) == PAGE_SIZE)