mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 21:56:31 +00:00
qla2x00t: Disable Out-of-order processing by default
From: Quinn Tran <quinn.tran@cavium.com> 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 droped frame is treated as out of order frame. We¹re turning OFF this option of speed up error recovery. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Quinn Tran <quinn.tran@cavium.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com> Merge of mainline commit 300af14bdb28157090f0c6f89d244fda940082da EXPERIMENTAL! git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7188 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2440,8 +2440,10 @@ qla2x00_nvram_config(scsi_qla_host_t *vha)
|
||||
nv->add_firmware_options[1] |= BIT_5 | BIT_4;
|
||||
|
||||
#ifdef CONFIG_SCSI_QLA2XXX_TARGET
|
||||
#if 0
|
||||
/* out-of-order frames rassembly */
|
||||
nv->special_options[0] |= BIT_6;
|
||||
#endif
|
||||
#endif /* CONFIG_SCSI_QLA2XXX_TARGET */
|
||||
|
||||
if (IS_QLA2300(ha)) {
|
||||
@@ -4543,8 +4545,10 @@ qla24xx_nvram_config(scsi_qla_host_t *vha)
|
||||
nv->firmware_options_3 = ha->saved_firmware_options_3;
|
||||
}
|
||||
}
|
||||
#if 0
|
||||
/* out-of-order frames reassembly */
|
||||
nv->firmware_options_3 |= cpu_to_le32(BIT_6|BIT_9);
|
||||
#endif
|
||||
|
||||
#endif /* CONFIG_SCSI_QLA2XXX_TARGET */
|
||||
|
||||
@@ -5500,8 +5504,10 @@ qla81xx_nvram_config(scsi_qla_host_t *vha)
|
||||
nv->firmware_options_3 = ha->saved_firmware_options_3;
|
||||
}
|
||||
}
|
||||
#if 0
|
||||
/* out-of-order frames reassembly */
|
||||
nv->firmware_options_3 |= cpu_to_le32(BIT_6|BIT_9);
|
||||
#endif
|
||||
|
||||
#endif /* CONFIG_SCSI_QLA2XXX_TARGET */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user