diff options
author | James Smart <james.smart@emulex.com> | 2011-05-24 17:42:11 +0200 |
---|---|---|
committer | James Bottomley <jbottomley@parallels.com> | 2011-05-27 05:49:36 +0200 |
commit | 912e3acde60b3b9ebf46c5ec5ae6bd01b80132c8 (patch) | |
tree | 2ca2593ff23e61580879e1deb405b2dfc8d92f83 /drivers/scsi/lpfc/lpfc_sli4.h | |
parent | [SCSI] lpfc 8.3.24: Extended hardware support and support dump images (diff) | |
download | linux-912e3acde60b3b9ebf46c5ec5ae6bd01b80132c8.tar.xz linux-912e3acde60b3b9ebf46c5ec5ae6bd01b80132c8.zip |
[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.h | 6 |
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 { uint8_t rqv; }; +struct lpfc_iov { + uint32_t pf_number; + uint32_t vf_number; +}; + /* SLI4 HBA data structure entries */ struct lpfc_sli4_hba { void __iomem *conf_regs_memmap_p; /* Kernel memory mapped address for @@ -467,6 +472,7 @@ struct lpfc_sli4_hba { struct list_head sp_els_xri_aborted_work_queue; struct list_head sp_unsol_work_queue; struct lpfc_sli4_link link_state; + 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 */ }; |