summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_hw4.h
diff options
context:
space:
mode:
authorJames Smart <james.smart@emulex.com>2012-08-03 12:36:42 -0400
committerJames Bottomley <JBottomley@Parallels.com>2012-09-14 14:43:46 +0100
commit49aa143da98cac07f56096de0d099cb00ccd1582 (patch)
treedef5e5c8db4554a6f6e7064366a21e4013d30ef0 /drivers/scsi/lpfc/lpfc_hw4.h
parent4305f183c03fbcf7fd4102de4422862fc76567d2 (diff)
downloadlinux-49aa143da98cac07f56096de0d099cb00ccd1582.tar.gz
linux-49aa143da98cac07f56096de0d099cb00ccd1582.tar.xz
[SCSI] lpfc 8.3.33: Make I/O to hw queue distribution algorithm a module parameter
Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hw4.h')
-rw-r--r--drivers/scsi/lpfc/lpfc_hw4.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hw4.h b/drivers/scsi/lpfc/lpfc_hw4.h
index 821262d2cf76..45fbfb623ad9 100644
--- a/drivers/scsi/lpfc/lpfc_hw4.h
+++ b/drivers/scsi/lpfc/lpfc_hw4.h
@@ -187,6 +187,10 @@ struct lpfc_sli_intf {
/* Active interrupt test count */
#define LPFC_ACT_INTR_CNT 4
+/* Algrithmns for scheduling FCP commands to WQs */
+#define LPFC_FCP_SCHED_ROUND_ROBIN 0
+#define LPFC_FCP_SCHED_BY_CPU 1
+
/* Delay Multiplier constant */
#define LPFC_DMULT_CONST 651042