diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_sli4.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_sli4.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli4.h b/drivers/scsi/lpfc/lpfc_sli4.h index 19bb87ae8597..7888964d5b7a 100644 --- a/drivers/scsi/lpfc/lpfc_sli4.h +++ b/drivers/scsi/lpfc/lpfc_sli4.h | |||
@@ -23,7 +23,6 @@ | |||
23 | #define LPFC_XRI_EXCH_BUSY_WAIT_T1 10 | 23 | #define LPFC_XRI_EXCH_BUSY_WAIT_T1 10 |
24 | #define LPFC_XRI_EXCH_BUSY_WAIT_T2 30000 | 24 | #define LPFC_XRI_EXCH_BUSY_WAIT_T2 30000 |
25 | #define LPFC_RELEASE_NOTIFICATION_INTERVAL 32 | 25 | #define LPFC_RELEASE_NOTIFICATION_INTERVAL 32 |
26 | #define LPFC_GET_QE_REL_INT 32 | ||
27 | #define LPFC_RPI_LOW_WATER_MARK 10 | 26 | #define LPFC_RPI_LOW_WATER_MARK 10 |
28 | 27 | ||
29 | #define LPFC_UNREG_FCF 1 | 28 | #define LPFC_UNREG_FCF 1 |
@@ -126,6 +125,8 @@ struct lpfc_queue { | |||
126 | struct list_head child_list; | 125 | struct list_head child_list; |
127 | uint32_t entry_count; /* Number of entries to support on the queue */ | 126 | uint32_t entry_count; /* Number of entries to support on the queue */ |
128 | uint32_t entry_size; /* Size of each queue entry. */ | 127 | uint32_t entry_size; /* Size of each queue entry. */ |
128 | uint32_t entry_repost; /* Count of entries before doorbell is rung */ | ||
129 | #define LPFC_QUEUE_MIN_REPOST 8 | ||
129 | uint32_t queue_id; /* Queue ID assigned by the hardware */ | 130 | uint32_t queue_id; /* Queue ID assigned by the hardware */ |
130 | uint32_t assoc_qid; /* Queue ID associated with, for CQ/WQ/MQ */ | 131 | uint32_t assoc_qid; /* Queue ID associated with, for CQ/WQ/MQ */ |
131 | struct list_head page_list; | 132 | struct list_head page_list; |
@@ -553,6 +554,7 @@ struct lpfc_rsrc_blks { | |||
553 | * SLI4 specific function prototypes | 554 | * SLI4 specific function prototypes |
554 | */ | 555 | */ |
555 | int lpfc_pci_function_reset(struct lpfc_hba *); | 556 | int lpfc_pci_function_reset(struct lpfc_hba *); |
557 | int lpfc_sli4_pdev_status_reg_wait(struct lpfc_hba *); | ||
556 | int lpfc_sli4_hba_setup(struct lpfc_hba *); | 558 | int lpfc_sli4_hba_setup(struct lpfc_hba *); |
557 | int lpfc_sli4_config(struct lpfc_hba *, struct lpfcMboxq *, uint8_t, | 559 | int lpfc_sli4_config(struct lpfc_hba *, struct lpfcMboxq *, uint8_t, |
558 | uint8_t, uint32_t, bool); | 560 | uint8_t, uint32_t, bool); |
@@ -576,6 +578,7 @@ uint32_t lpfc_wq_create(struct lpfc_hba *, struct lpfc_queue *, | |||
576 | struct lpfc_queue *, uint32_t); | 578 | struct lpfc_queue *, uint32_t); |
577 | uint32_t lpfc_rq_create(struct lpfc_hba *, struct lpfc_queue *, | 579 | uint32_t lpfc_rq_create(struct lpfc_hba *, struct lpfc_queue *, |
578 | struct lpfc_queue *, struct lpfc_queue *, uint32_t); | 580 | struct lpfc_queue *, struct lpfc_queue *, uint32_t); |
581 | void lpfc_rq_adjust_repost(struct lpfc_hba *, struct lpfc_queue *, int); | ||
579 | uint32_t lpfc_eq_destroy(struct lpfc_hba *, struct lpfc_queue *); | 582 | uint32_t lpfc_eq_destroy(struct lpfc_hba *, struct lpfc_queue *); |
580 | uint32_t lpfc_cq_destroy(struct lpfc_hba *, struct lpfc_queue *); | 583 | uint32_t lpfc_cq_destroy(struct lpfc_hba *, struct lpfc_queue *); |
581 | uint32_t lpfc_mq_destroy(struct lpfc_hba *, struct lpfc_queue *); | 584 | uint32_t lpfc_mq_destroy(struct lpfc_hba *, struct lpfc_queue *); |