These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / scsi / lpfc / lpfc_sli4.h
index 6eca3b8..1e916e1 100644 (file)
@@ -454,7 +454,6 @@ struct lpfc_vector_map_info {
        uint16_t        core_id;
        uint16_t        irq;
        uint16_t        channel_id;
-       struct cpumask  maskbits;
 };
 #define LPFC_VECTOR_MAP_EMPTY  0xffff
 
@@ -602,6 +601,7 @@ struct lpfc_sli4_hba {
        struct lpfc_iov iov;
        spinlock_t abts_scsi_buf_list_lock; /* list of aborted SCSI IOs */
        spinlock_t abts_sgl_list_lock; /* list of aborted els IOs */
+       uint32_t physical_port;
 
        /* CPU to vector mapping information */
        struct lpfc_vector_map_info *cpu_map;
@@ -651,6 +651,26 @@ struct lpfc_rsrc_blks {
        uint16_t rsrc_used;
 };
 
+struct lpfc_rdp_context {
+       struct lpfc_nodelist *ndlp;
+       uint16_t ox_id;
+       uint16_t rx_id;
+       READ_LNK_VAR link_stat;
+       uint8_t page_a0[DMP_SFF_PAGE_A0_SIZE];
+       uint8_t page_a2[DMP_SFF_PAGE_A2_SIZE];
+       void (*cmpl)(struct lpfc_hba *, struct lpfc_rdp_context*, int);
+};
+
+struct lpfc_lcb_context {
+       uint8_t  sub_command;
+       uint8_t  type;
+       uint8_t  frequency;
+       uint16_t ox_id;
+       uint16_t rx_id;
+       struct lpfc_nodelist *ndlp;
+};
+
+
 /*
  * SLI4 specific function prototypes
  */