aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_hw4.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hw4.h')
-rw-r--r--drivers/scsi/lpfc/lpfc_hw4.h30
1 files changed, 25 insertions, 5 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hw4.h b/drivers/scsi/lpfc/lpfc_hw4.h
index 086c3f28caa6..5464b116d328 100644
--- a/drivers/scsi/lpfc/lpfc_hw4.h
+++ b/drivers/scsi/lpfc/lpfc_hw4.h
@@ -3439,7 +3439,8 @@ struct els_request64_wqe {
3439#define els_req64_hopcnt_SHIFT 24 3439#define els_req64_hopcnt_SHIFT 24
3440#define els_req64_hopcnt_MASK 0x000000ff 3440#define els_req64_hopcnt_MASK 0x000000ff
3441#define els_req64_hopcnt_WORD word13 3441#define els_req64_hopcnt_WORD word13
3442 uint32_t reserved[2]; 3442 uint32_t word14;
3443 uint32_t max_response_payload_len;
3443}; 3444};
3444 3445
3445struct xmit_els_rsp64_wqe { 3446struct xmit_els_rsp64_wqe {
@@ -3554,7 +3555,8 @@ struct gen_req64_wqe {
3554 uint32_t relative_offset; 3555 uint32_t relative_offset;
3555 struct wqe_rctl_dfctl wge_ctl; /* word 5 */ 3556 struct wqe_rctl_dfctl wge_ctl; /* word 5 */
3556 struct wqe_common wqe_com; /* words 6-11 */ 3557 struct wqe_common wqe_com; /* words 6-11 */
3557 uint32_t rsvd_12_15[4]; 3558 uint32_t rsvd_12_14[3];
3559 uint32_t max_response_payload_len;
3558}; 3560};
3559 3561
3560struct create_xri_wqe { 3562struct create_xri_wqe {
@@ -3584,7 +3586,13 @@ struct abort_cmd_wqe {
3584 3586
3585struct fcp_iwrite64_wqe { 3587struct fcp_iwrite64_wqe {
3586 struct ulp_bde64 bde; 3588 struct ulp_bde64 bde;
3587 uint32_t payload_offset_len; 3589 uint32_t word3;
3590#define cmd_buff_len_SHIFT 16
3591#define cmd_buff_len_MASK 0x00000ffff
3592#define cmd_buff_len_WORD word3
3593#define payload_offset_len_SHIFT 0
3594#define payload_offset_len_MASK 0x0000ffff
3595#define payload_offset_len_WORD word3
3588 uint32_t total_xfer_len; 3596 uint32_t total_xfer_len;
3589 uint32_t initial_xfer_len; 3597 uint32_t initial_xfer_len;
3590 struct wqe_common wqe_com; /* words 6-11 */ 3598 struct wqe_common wqe_com; /* words 6-11 */
@@ -3594,7 +3602,13 @@ struct fcp_iwrite64_wqe {
3594 3602
3595struct fcp_iread64_wqe { 3603struct fcp_iread64_wqe {
3596 struct ulp_bde64 bde; 3604 struct ulp_bde64 bde;
3597 uint32_t payload_offset_len; /* word 3 */ 3605 uint32_t word3;
3606#define cmd_buff_len_SHIFT 16
3607#define cmd_buff_len_MASK 0x00000ffff
3608#define cmd_buff_len_WORD word3
3609#define payload_offset_len_SHIFT 0
3610#define payload_offset_len_MASK 0x0000ffff
3611#define payload_offset_len_WORD word3
3598 uint32_t total_xfer_len; /* word 4 */ 3612 uint32_t total_xfer_len; /* word 4 */
3599 uint32_t rsrvd5; /* word 5 */ 3613 uint32_t rsrvd5; /* word 5 */
3600 struct wqe_common wqe_com; /* words 6-11 */ 3614 struct wqe_common wqe_com; /* words 6-11 */
@@ -3604,7 +3618,13 @@ struct fcp_iread64_wqe {
3604 3618
3605struct fcp_icmnd64_wqe { 3619struct fcp_icmnd64_wqe {
3606 struct ulp_bde64 bde; /* words 0-2 */ 3620 struct ulp_bde64 bde; /* words 0-2 */
3607 uint32_t rsrvd3; /* word 3 */ 3621 uint32_t word3;
3622#define cmd_buff_len_SHIFT 16
3623#define cmd_buff_len_MASK 0x00000ffff
3624#define cmd_buff_len_WORD word3
3625#define payload_offset_len_SHIFT 0
3626#define payload_offset_len_MASK 0x0000ffff
3627#define payload_offset_len_WORD word3
3608 uint32_t rsrvd4; /* word 4 */ 3628 uint32_t rsrvd4; /* word 4 */
3609 uint32_t rsrvd5; /* word 5 */ 3629 uint32_t rsrvd5; /* word 5 */
3610 struct wqe_common wqe_com; /* words 6-11 */ 3630 struct wqe_common wqe_com; /* words 6-11 */