From: andrew.vasquez@qlogic.com Date: Sat, 14 Jan 2006 01:05:42 +0000 (-0800) Subject: [SCSI] qla2xxx: Correct execution-throttle setting for ISP24xx. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bc8fb3cb9e208de0d69223f68058714b78f83833;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [SCSI] qla2xxx: Correct execution-throttle setting for ISP24xx. Similarly to other ISPs, set execution throttle to maximum allowed value since 'throttling' is done on a per-lun basis via queue-depth. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index b4fbef5bf409..8635bd1ae8a0 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c @@ -3407,6 +3407,8 @@ qla24xx_nvram_config(scsi_qla_host_t *ha) ha->node_name = icb->node_name; ha->port_name = icb->port_name; + icb->execution_throttle = __constant_cpu_to_le16(0xFFFF); + ha->retry_count = le16_to_cpu(nv->login_retry_count); /* Set minimum login_timeout to 4 seconds. */