remarkable-linux/drivers/scsi/lpfc
James Smart 0a96e9754d [SCSI] lpfc 8.3.25: PCI and SR-IOV Fixes
PCI and SR-IOV Fixes

- Call pci_save_state after the pci_restore_state completes.
- After calling pci_enable_pcie_error_reporting() and checking the return
  value for logging messages from rc, reset rc to 0 to it will not later be
  interpreted for error.
- Read PCI config space SR-IOV capability to get the number of VFs supported.
- Check for the PF's supported number of VFs before invoking PCI enable sriov
  API call and log error message that user requested number of VFs is beyond
  the PF capability if such request is passed in.
- Added check for Physical function with Virtual Functions attached. If so,
  first disable all the VFs before proceeding to device reset.

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>
2011-07-27 15:12:47 +04:00
..
lpfc.h [SCSI] lpfc 8.3.25: Adapter Interface fixes and changes 2011-07-27 15:11:02 +04:00
lpfc_attr.c [SCSI] lpfc 8.3.25: PCI and SR-IOV Fixes 2011-07-27 15:12:47 +04:00
lpfc_bsg.c [SCSI] lpfc 8.3.25: Adapter Interface fixes and changes 2011-07-27 15:11:02 +04:00
lpfc_bsg.h [SCSI] lpfc 8.3.24: Extend BSG infrastructure and add link diagnostics 2011-05-26 22:49:39 -05:00
lpfc_compat.h
lpfc_crtn.h [SCSI] lpfc 8.3.25: PCI and SR-IOV Fixes 2011-07-27 15:12:47 +04:00
lpfc_ct.c [SCSI] lpfc 8.3.24: Add resource extent support 2011-05-26 22:49:38 -05:00
lpfc_debugfs.c [SCSI] lpfc: Silence DEBUG_STRICT_USER_COPY_CHECKS=y warning 2011-06-29 10:40:35 -05:00
lpfc_debugfs.h [SCSI] lpfc 8.3.23: Debugfs enhancements 2011-05-01 11:01:52 -05:00
lpfc_disc.h
lpfc_els.c [SCSI] lpfc 8.3.25: Fabric and Target Discovery Fixes 2011-07-27 15:12:19 +04:00
lpfc_hbadisc.c [SCSI] lpfc 8.3.25: Fabric and Target Discovery Fixes 2011-07-27 15:12:19 +04:00
lpfc_hw.h [SCSI] lpfc 8.3.25: Adapter Interface fixes and changes 2011-07-27 15:11:02 +04:00
lpfc_hw4.h [SCSI] lpfc 8.3.25: Adapter Interface fixes and changes 2011-07-27 15:11:02 +04:00
lpfc_init.c [SCSI] lpfc 8.3.25: PCI and SR-IOV Fixes 2011-07-27 15:12:47 +04:00
lpfc_logmsg.h
lpfc_mbox.c [SCSI] lpfc 8.3.25: Adapter Interface fixes and changes 2011-07-27 15:11:02 +04:00
lpfc_mem.c [SCSI] lpfc 8.3.24: Add resource extent support 2011-05-26 22:49:38 -05:00
lpfc_nl.h Fix common misspellings 2011-03-31 11:26:23 -03:00
lpfc_nportdisc.c [SCSI] lpfc 8.3.24: Add resource extent support 2011-05-26 22:49:38 -05:00
lpfc_scsi.c [SCSI] lpfc 8.3.25: T10 DIF Fixes 2011-07-27 15:06:29 +04:00
lpfc_scsi.h Fix common misspellings 2011-03-31 11:26:23 -03:00
lpfc_sli.c [SCSI] lpfc 8.3.25: PCI and SR-IOV Fixes 2011-07-27 15:12:47 +04:00
lpfc_sli.h [SCSI] lpfc 8.3.24: Add resource extent support 2011-05-26 22:49:38 -05:00
lpfc_sli4.h [SCSI] lpfc 8.3.25: Miscellaneous Bug fixes and code cleanup 2011-07-27 15:09:14 +04:00
lpfc_version.h [SCSI] lpfc 8.3.23: Update driver version to 8.3.23 2011-05-01 11:11:09 -05:00
lpfc_vport.c [SCSI] lpfc 8.3.24: Add resource extent support 2011-05-26 22:49:38 -05:00
lpfc_vport.h
Makefile [SCSI] lpfc 8.3.22: Update Copyright Dates 2011-03-23 11:36:14 -05:00