diff options
author | Nilesh Javali <nilesh.javali@cavium.com> | 2017-05-19 01:33:20 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-05-23 22:16:43 -0400 |
commit | 3d61a3132212d6b1c8c6914700d5f6456712ac08 (patch) | |
tree | 7400dcc210f45f8d679dd003b239e28eca5be410 /drivers/scsi/qedi/qedi_main.c | |
parent | 962ea1c0df6c5a36f4477aa4a10f4acc0f5f56bd (diff) | |
download | op-kernel-dev-3d61a3132212d6b1c8c6914700d5f6456712ac08.zip op-kernel-dev-3d61a3132212d6b1c8c6914700d5f6456712ac08.tar.gz |
scsi: qedi: set max_fin_rt default value
max_fin_rt is the maximum re-transmission of FIN packets
as part of the termination flow. After reaching this value
the FW will send a single RESET.
Signed-off-by: Nilesh Javali <nilesh.javali@cavium.com>
Signed-off-by: Manish Rangankar <manish.rangankar@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qedi/qedi_main.c')
-rw-r--r-- | drivers/scsi/qedi/qedi_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qedi/qedi_main.c b/drivers/scsi/qedi/qedi_main.c index 62ba0550..09a2946 100644 --- a/drivers/scsi/qedi/qedi_main.c +++ b/drivers/scsi/qedi/qedi_main.c @@ -828,6 +828,7 @@ static int qedi_set_iscsi_pf_param(struct qedi_ctx *qedi) 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; + qedi->pf_params.iscsi_pf_params.max_fin_rt = 2; for (log_page_size = 0 ; log_page_size < 32 ; log_page_size++) { if ((1 << log_page_size) == PAGE_SIZE) |