1. 27 7月, 2011 3 次提交
    • 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: 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
  2. 27 5月, 2011 4 次提交
  3. 02 5月, 2011 1 次提交
  4. 24 3月, 2011 2 次提交
  5. 19 2月, 2011 4 次提交
  6. 22 12月, 2010 2 次提交
    • J
      [SCSI] lpfc 8.3.19: Added support for ELS RRQ command · 19ca7609
      James Smart 提交于
      Added support for ELS RRQ command
      
      - Add new routine lpfc_set_rrq_active() to track XRI qualifier state.
      - Add new module parameter lpfc_enable_rrq to control RRQ operation.
      - Add logic to ELS RRQ completion handler and xri qualifier timeout
        to clear XRI qualifier state.
      - Use OX_ID from XRI_ABORTED_CQE for RRQ payload.
      - Tie abort and XRI_ABORTED_CQE andler to RRQ generation.
      Signed-off-by: NAlex Iannicelli <alex.iannicelli@emulex.com>
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
      19ca7609
    • J
      [SCSI] lpfc 8.3.19: Add SLI4 FC Discovery support · 76a95d75
      James Smart 提交于
      Add SLI4 FC Discovery support
      
      - Replace READ_LA and READ_LA64 with READ_TOPOLOGY mailbox command.
      - Converted the old READ_LA structure to use bf_set/get instead of bit fields.
      - Rename HBA_FCOE_SUPPORT flag to HBA_FCOE_MODE. Flag now indicates function
        is running as SLI-4 FC or FCoE port. Make sure flag reset each time
        READ_REV completed as it can dynamically change.
      - Removed BDE union in the READ_TOPOLOGY mailbox command and added a define to
        define the ALPA MAP SIZE. Added FC Code for async events.
      - Added code to support new 16G link speed.
      - Define new set of values to keep track of valid user settable link speeds.
      - Used new link speed definitions to define link speed max and bitmap.
      - Redefined FDMI Port sppeds to be hax values and added the 16G value.
      - Added new CQE trailer code for FC Events.
      - Add lpfc_issue_init_vfi and lpfc_init_vfi_cmpl routines.
      - Replace many calls to the initial_flogi routine with lpfc_issue_init_vfi.
      - Add vp and vpi fields to the INIT_VFI mailbox command.
      - Addapt lpfc_hba_init_link routine for SLI4 use.
      - Use lpfc_hba_init_link call from lpfc_sli4_hba_setup.
      - Add a check for FC mode to register the FCFI before init link.
      - Convert lpfc_sli4_init_vpi to be called without a vpi (get it from vport).
      Signed-off-by: NAlex Iannicelli <alex.iannicelli@emulex.com>
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
      76a95d75
  7. 26 10月, 2010 2 次提交
  8. 07 8月, 2010 1 次提交
  9. 28 7月, 2010 4 次提交
  10. 11 4月, 2010 2 次提交
  11. 03 3月, 2010 3 次提交
  12. 18 2月, 2010 1 次提交
  13. 09 2月, 2010 2 次提交
  14. 05 12月, 2009 5 次提交
  15. 23 8月, 2009 4 次提交