aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_sli4.h
diff options
context:
space:
mode:
authorJames Smart <james.smart@emulex.com>2011-05-24 11:42:11 -0400
committerJames Bottomley <jbottomley@parallels.com>2011-05-26 23:49:36 -0400
commit912e3acde60b3b9ebf46c5ec5ae6bd01b80132c8 (patch)
tree2ca2593ff23e61580879e1deb405b2dfc8d92f83 /drivers/scsi/lpfc/lpfc_sli4.h
parentc0c1151276aae83dffbe3f2837a3b1d893894115 (diff)
[SCSI] lpfc 8.3.24: Add SR-IOV control
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com> 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 1a3cbf88f2ce..03d25a9d3bf6 100644
--- a/drivers/scsi/lpfc/lpfc_sli4.h
+++ b/drivers/scsi/lpfc/lpfc_sli4.h
@@ -365,6 +365,11 @@ struct lpfc_pc_sli4_params {
365 uint8_t rqv; 365 uint8_t rqv;
366}; 366};
367 367
368struct lpfc_iov {
369 uint32_t pf_number;
370 uint32_t vf_number;
371};
372
368/* SLI4 HBA data structure entries */ 373/* SLI4 HBA data structure entries */
369struct lpfc_sli4_hba { 374struct lpfc_sli4_hba {
370 void __iomem *conf_regs_memmap_p; /* Kernel memory mapped address for 375 void __iomem *conf_regs_memmap_p; /* Kernel memory mapped address for
@@ -467,6 +472,7 @@ struct lpfc_sli4_hba {
467 struct list_head sp_els_xri_aborted_work_queue; 472 struct list_head sp_els_xri_aborted_work_queue;
468 struct list_head sp_unsol_work_queue; 473 struct list_head sp_unsol_work_queue;
469 struct lpfc_sli4_link link_state; 474 struct lpfc_sli4_link link_state;
475 struct lpfc_iov iov;
470 spinlock_t abts_scsi_buf_list_lock; /* list of aborted SCSI IOs */ 476 spinlock_t abts_scsi_buf_list_lock; /* list of aborted SCSI IOs */
471 spinlock_t abts_sgl_list_lock; /* list of aborted els IOs */ 477 spinlock_t abts_sgl_list_lock; /* list of aborted els IOs */
472}; 478};