aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuinn Tran <quinn.tran@cavium.com>2016-12-23 21:06:14 -0500
committerBart Van Assche <bart.vanassche@sandisk.com>2017-01-17 14:26:58 -0500
commit300af14bdb28157090f0c6f89d244fda940082da (patch)
tree75162cff9c3283438299e5fff5461bfcc25fe997
parent4f060736f29a960aba8e781a88837464756200a8 (diff)
qla2xxx: Disable out-of-order processing by default in firmware
Out of order(OOO) processing requires initiator, switch and target to support OOO. In today's environment, none of the switches support OOO. OOO requires extra buffer space which affect performance. By turning ON this feature in QLogic's FW, it delays error recovery because dropped frame is treated as out of order frame. We're turning OFF this option of speed up error recovery. Signed-off-by: Quinn Tran <quinn.tran@cavium.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com> Reviewed-by: Christoph Hellwig <hch@lst.de> [ bvanassche: Fixed spelling in patch description ] Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
-rw-r--r--drivers/scsi/qla2xxx/qla_target.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/scsi/qla2xxx/qla_target.c b/drivers/scsi/qla2xxx/qla_target.c
index 73ec6b764951..e4fda84b959e 100644
--- a/drivers/scsi/qla2xxx/qla_target.c
+++ b/drivers/scsi/qla2xxx/qla_target.c
@@ -6581,9 +6581,6 @@ qlt_24xx_config_nvram_stage1(struct scsi_qla_host *vha, struct nvram_24xx *nv)
6581 return; 6581 return;
6582 } 6582 }
6583 6583
6584 /* out-of-order frames reassembly */
6585 nv->firmware_options_3 |= BIT_6|BIT_9;
6586
6587 if (ha->tgt.enable_class_2) { 6584 if (ha->tgt.enable_class_2) {
6588 if (vha->flags.init_done) 6585 if (vha->flags.init_done)
6589 fc_host_supported_classes(vha->host) = 6586 fc_host_supported_classes(vha->host) =
@@ -6685,9 +6682,6 @@ qlt_81xx_config_nvram_stage1(struct scsi_qla_host *vha, struct nvram_81xx *nv)
6685 return; 6682 return;
6686 } 6683 }
6687 6684
6688 /* out-of-order frames reassembly */
6689 nv->firmware_options_3 |= BIT_6|BIT_9;
6690
6691 if (ha->tgt.enable_class_2) { 6685 if (ha->tgt.enable_class_2) {
6692 if (vha->flags.init_done) 6686 if (vha->flags.init_done)
6693 fc_host_supported_classes(vha->host) = 6687 fc_host_supported_classes(vha->host) =