From 8d3a9f440ad906b396f4ae72f270d5f987e1a480 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Fri, 19 May 2017 02:58:23 +0000 Subject: [PATCH] qla2x00t: Disable Out-of-order processing by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Quinn Tran 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 Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani Merge of mainline commit 300af14bdb28157090f0c6f89d244fda940082da EXPERIMENTAL! git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7188 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla2x00t/qla_init.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/qla2x00t/qla_init.c b/qla2x00t/qla_init.c index 76c946f7b..69bdaa297 100644 --- a/qla2x00t/qla_init.c +++ b/qla2x00t/qla_init.c @@ -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 */