scsi: qedi: Set firmware tcp msl timer value.
authormanish.rangankar@cavium.com <manish.rangankar@cavium.com>
Fri, 19 May 2017 08:33:19 +0000 (01:33 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 24 May 2017 02:16:43 +0000 (22:16 -0400)
Signed-off-by: Manish Rangankar <manish.rangankar@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qedi/qedi_main.c

index 997e3052a7062c72f45bee4f8f4a94b6ec4c7d1d..62ba0550b68c0f3f1778cc3f869aab6301614b76 100644 (file)
@@ -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)