aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_sli4.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_sli4.h')
-rw-r--r--drivers/scsi/lpfc/lpfc_sli4.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli4.h b/drivers/scsi/lpfc/lpfc_sli4.h
index 6eca3b8124d3..d1a5b057c6f3 100644
--- a/drivers/scsi/lpfc/lpfc_sli4.h
+++ b/drivers/scsi/lpfc/lpfc_sli4.h
@@ -602,6 +602,7 @@ struct lpfc_sli4_hba {
602 struct lpfc_iov iov; 602 struct lpfc_iov iov;
603 spinlock_t abts_scsi_buf_list_lock; /* list of aborted SCSI IOs */ 603 spinlock_t abts_scsi_buf_list_lock; /* list of aborted SCSI IOs */
604 spinlock_t abts_sgl_list_lock; /* list of aborted els IOs */ 604 spinlock_t abts_sgl_list_lock; /* list of aborted els IOs */
605 uint32_t physical_port;
605 606
606 /* CPU to vector mapping information */ 607 /* CPU to vector mapping information */
607 struct lpfc_vector_map_info *cpu_map; 608 struct lpfc_vector_map_info *cpu_map;
@@ -651,6 +652,26 @@ struct lpfc_rsrc_blks {
651 uint16_t rsrc_used; 652 uint16_t rsrc_used;
652}; 653};
653 654
655struct lpfc_rdp_context {
656 struct lpfc_nodelist *ndlp;
657 uint16_t ox_id;
658 uint16_t rx_id;
659 READ_LNK_VAR link_stat;
660 uint8_t page_a0[DMP_SFF_PAGE_A0_SIZE];
661 uint8_t page_a2[DMP_SFF_PAGE_A2_SIZE];
662 void (*cmpl)(struct lpfc_hba *, struct lpfc_rdp_context*, int);
663};
664
665struct lpfc_lcb_context {
666 uint8_t sub_command;
667 uint8_t type;
668 uint8_t frequency;
669 uint16_t ox_id;
670 uint16_t rx_id;
671 struct lpfc_nodelist *ndlp;
672};
673
674
654/* 675/*
655 * SLI4 specific function prototypes 676 * SLI4 specific function prototypes
656 */ 677 */