aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_sli4.h
diff options
context:
space:
mode:
authorJames Smart <james.smart@emulex.com>2013-07-15 18:33:23 -0400
committerJames Bottomley <JBottomley@Parallels.com>2013-08-23 13:18:56 -0400
commit0c651878ba3018bb4bbfa2ccd0a876bebb618768 (patch)
tree26f9fa463388844b69ed0a856bb40f3ddba08205 /drivers/scsi/lpfc/lpfc_sli4.h
parent1d1c296ffbef872f39b85314ca1f6b5eaae6b61d (diff)
[SCSI] lpfc 8.3.41: Fixed support for 128 byte WQEs
Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_sli4.h')
-rw-r--r--drivers/scsi/lpfc/lpfc_sli4.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli4.h b/drivers/scsi/lpfc/lpfc_sli4.h
index d710b87a4417..5bcc38223ac9 100644
--- a/drivers/scsi/lpfc/lpfc_sli4.h
+++ b/drivers/scsi/lpfc/lpfc_sli4.h
@@ -117,6 +117,7 @@ union sli4_qe {
117 struct lpfc_rcqe_complete *rcqe_complete; 117 struct lpfc_rcqe_complete *rcqe_complete;
118 struct lpfc_mqe *mqe; 118 struct lpfc_mqe *mqe;
119 union lpfc_wqe *wqe; 119 union lpfc_wqe *wqe;
120 union lpfc_wqe128 *wqe128;
120 struct lpfc_rqe *rqe; 121 struct lpfc_rqe *rqe;
121}; 122};
122 123
@@ -325,12 +326,14 @@ struct lpfc_bmbx {
325#define LPFC_EQE_SIZE_16B 16 326#define LPFC_EQE_SIZE_16B 16
326#define LPFC_CQE_SIZE 16 327#define LPFC_CQE_SIZE 16
327#define LPFC_WQE_SIZE 64 328#define LPFC_WQE_SIZE 64
329#define LPFC_WQE128_SIZE 128
328#define LPFC_MQE_SIZE 256 330#define LPFC_MQE_SIZE 256
329#define LPFC_RQE_SIZE 8 331#define LPFC_RQE_SIZE 8
330 332
331#define LPFC_EQE_DEF_COUNT 1024 333#define LPFC_EQE_DEF_COUNT 1024
332#define LPFC_CQE_DEF_COUNT 1024 334#define LPFC_CQE_DEF_COUNT 1024
333#define LPFC_WQE_DEF_COUNT 256 335#define LPFC_WQE_DEF_COUNT 256
336#define LPFC_WQE128_DEF_COUNT 128
334#define LPFC_MQE_DEF_COUNT 16 337#define LPFC_MQE_DEF_COUNT 16
335#define LPFC_RQE_DEF_COUNT 512 338#define LPFC_RQE_DEF_COUNT 512
336 339
@@ -416,6 +419,9 @@ struct lpfc_pc_sli4_params {
416 uint8_t mqv; 419 uint8_t mqv;
417 uint8_t wqv; 420 uint8_t wqv;
418 uint8_t rqv; 421 uint8_t rqv;
422 uint8_t wqsize;
423#define LPFC_WQ_SZ64_SUPPORT 1
424#define LPFC_WQ_SZ128_SUPPORT 2
419}; 425};
420 426
421struct lpfc_iov { 427struct lpfc_iov {