1. 17 10月, 2011 5 次提交
  2. 29 8月, 2011 1 次提交
  3. 27 7月, 2011 5 次提交
    • J
      [SCSI] lpfc 8.3.25: Add FCF priority failover functionality · 7d791df7
      James Smart 提交于
      This patch implements a new FCF failover policy for the lpfc driver. It
      allows the driver to choose which FCF to failover to based on the FCF
      priority. This patch also introduces a new sysfs parameter
      (fcf_failover_policy) to allow the user to choose which FCF failover policy
      to use.
      Signed-off-by: NAlex Iannicelli <alex.iannicelli@emulex.com>
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      7d791df7
    • J
      [SCSI] lpfc 8.3.25: Enhancements to Debug infrastructure · b76f2dc9
      James Smart 提交于
      Enhancements to Debug infrastructure
      
      - debugfs additions for new hardware.
      - Correct stack overflow in lpfc_debugfs_dumpHBASlim_data()
      - Correct warning on uninitialized reg_val in lpfc_idiag_drbacc_write()
      - Separated the iDiag command for capturing mailbox commands for generic
        issue mailbox command entry point and for BSG multi-buffer handling.
      - Added capturing dumping capabiliy of mailbox command and external buffer
        for the completion of the mailbox command so that the outcome can be
        examined.
      - Changed all the iDiag command structure data array indexing introduced so
        far with properly defined macros.
      - Added SLI4 device PCI BAR memory mapped register read/browse, write-by-
        value, set-bit, and clear-bit methods for both interface type 0 and
        interface type 2.
      - Corrected warnings on mbxstatus being uninitialized in error paths in
        lpfc_bsg.c
      Signed-off-by: NAlex Iannicelli <alex.iannicelli@emulex.com>
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      b76f2dc9
    • J
      [SCSI] lpfc 8.3.25: PCI and SR-IOV Fixes · 0a96e975
      James Smart 提交于
      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: NAlex Iannicelli <alex.iannicelli@emulex.com>
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      0a96e975
    • J
      [SCSI] lpfc 8.3.25: Adapter Interface fixes and changes · 7851fe2c
      James Smart 提交于
      Adapter Interface fixes and changes
      
      - Modify the macro field from lpfc_init_vpi_vpi to lpfc_init_vfi_vpi
      - Add the new CQE_CODE_RECEIVE_V1 CQE Code, add code in the driver to handle
        the new Code the same as the CQE_CODE_RECEIVE code except that there are
        two new checks for this code that will cause the driver to use the new V1
        macros for rq_id and fcf_id.
      - Fix a bug in lpfc_prep_seq() where the size out of the first CQE was
        ONLY being used, even though multiple dmabufs make up the sequence,
        each have their own CQE with potentially different sizes.
      - Fix bug in lpfc_bsg_ct_unsol_event() where the ulpContext and ulpWord[3]
        fields of the XMIT_SEQUENCE64_CX IOCB were being calculated incorrectly.
      - Do physical to logical translation before indexing into the active
        XRI array.
      - Populate physical vpi in the iocb data structure.
      - Put the current accumulated total in each IOCB in the chain as we are
        walking thru then. The last IOCB in the chain should have the total
        length of the sequence.
      Signed-off-by: NAlex Iannicelli <alex.iannicelli@emulex.com>
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      7851fe2c
    • J
      [SCSI] lpfc 8.3.25: Miscellaneous Bug fixes and code cleanup · 88a2cfbb
      James Smart 提交于
      Miscellaneous Bug fixes and code cleanup
      
      - Fix 16G link speed reporting by adding check for 16G check.
      - Change the check and enforcement of MAILBOX_EXT_SIZE (2048B)
        to the check and enforcement of BSG_MBOX_SIZE - sizeof(MAILBOX_t) (3840B).
      - Instead of waiting for a fixed amount of time after performing firmware
        reset, the driver shall wait for the Lancer SLIPORT_STATUS register for the
        readiness of the firmware for bring up.
      - Add logging to indicate when dynamic parameters are changed.
      - Add revision and date to the firmware image format.
      - Use revision instead of rev_name to check firmware image version.
      - Update temporary offset after memcopy is complete for firmware update.
      - Consolidated the use of the macros to get rid of duplicated register
        offset definitions.
      - Removed the unused second parameter in routine lpfc_bsg_diag_mode_enter()
      - Enable debugfs when debugfs is enabled.
      - Update function comments for lpfc_sli4_alloc_xri and lpfc_sli4_init_rpi_hdrs.
      Signed-off-by: NAlex Iannicelli <alex.iannicelli@emulex.com>
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      88a2cfbb
  4. 27 5月, 2011 3 次提交
  5. 10 5月, 2011 1 次提交
  6. 02 5月, 2011 2 次提交
  7. 31 3月, 2011 1 次提交
  8. 24 3月, 2011 4 次提交
  9. 19 2月, 2011 3 次提交
  10. 04 1月, 2011 1 次提交
  11. 22 12月, 2010 7 次提交
  12. 02 11月, 2010 1 次提交
  13. 26 10月, 2010 3 次提交
  14. 08 10月, 2010 3 次提交