aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid/megaraid_sas_fusion.h
diff options
context:
space:
mode:
authoradam radford <aradford@gmail.com>2011-10-08 21:15:13 -0400
committerJames Bottomley <JBottomley@Parallels.com>2011-10-16 12:21:36 -0400
commitc8e858fe72230dd2ad07abcbec7c9f201672a8b4 (patch)
tree27935fbc43a1be44b700a39743bc405cab1313c0 /drivers/scsi/megaraid/megaraid_sas_fusion.h
parent36807e6799dcd8f961137b74c7edce10c6fcb1d2 (diff)
[SCSI] megaraid_sas: Add multiple MSI-X vector/multiple reply queue support
Signed-off-by: Adam Radford <aradford@gmail.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_sas_fusion.h')
-rw-r--r--drivers/scsi/megaraid/megaraid_sas_fusion.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.h b/drivers/scsi/megaraid/megaraid_sas_fusion.h
index 9556c08490b2..088c9f91da95 100644
--- a/drivers/scsi/megaraid/megaraid_sas_fusion.h
+++ b/drivers/scsi/megaraid/megaraid_sas_fusion.h
@@ -43,6 +43,7 @@
43#define HOST_DIAG_WRITE_ENABLE 0x80 43#define HOST_DIAG_WRITE_ENABLE 0x80
44#define HOST_DIAG_RESET_ADAPTER 0x4 44#define HOST_DIAG_RESET_ADAPTER 0x4
45#define MEGASAS_FUSION_MAX_RESET_TRIES 3 45#define MEGASAS_FUSION_MAX_RESET_TRIES 3
46#define MAX_MSIX_QUEUES_FUSION 16
46 47
47/* Invader defines */ 48/* Invader defines */
48#define MPI2_TYPE_CUDA 0x2 49#define MPI2_TYPE_CUDA 0x2
@@ -673,7 +674,7 @@ struct fusion_context {
673 union MPI2_REPLY_DESCRIPTORS_UNION *reply_frames_desc; 674 union MPI2_REPLY_DESCRIPTORS_UNION *reply_frames_desc;
674 struct dma_pool *reply_frames_desc_pool; 675 struct dma_pool *reply_frames_desc_pool;
675 676
676 u16 last_reply_idx; 677 u16 last_reply_idx[MAX_MSIX_QUEUES_FUSION];
677 678
678 u32 reply_q_depth; 679 u32 reply_q_depth;
679 u32 request_alloc_sz; 680 u32 request_alloc_sz;