1. 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
  2. 26 10月, 2010 2 次提交
  3. 28 7月, 2010 3 次提交
  4. 12 4月, 2010 1 次提交
  5. 03 3月, 2010 3 次提交
  6. 18 2月, 2010 2 次提交
  7. 09 2月, 2010 3 次提交
  8. 05 12月, 2009 3 次提交
  9. 23 8月, 2009 4 次提交
  10. 09 6月, 2009 3 次提交
  11. 27 4月, 2009 1 次提交
    • J
      [SCSI] lpfc 8.3.1: misc fixes/changes · a257bf90
      James Smart 提交于
      8.3.1 Fixes/Changes :
      
      - Fix incorrect byte-swapping on word 4 of IOCB (data length) which
        caused LUNs to not be discovered on big-endian (e.g. PPC)
      
      - Remove a bad cast of MBslimaddr which loses the __iomem (sparse)
      
      - Make lpfc_debugfs_mask_disc_trc static (sparse)
      
      - Correct misspelled word BlockGuard in lpfc_logmsg.h comment
      
      - Replaced repeated code segment for canceling IOCBs from a list with
        a function call, lpfc_sli_cancel_iocbs().
      
      - Increased HBQ buffers to support 40KB SSC sequences.
      
      - Added sysfs interface to update speed and topology parameter without
        link bounce.
      
      - Fixed bug with sysfs fc_host WWNs not being updated after changing
        the WWNs.
      
      - Check if the active mailbox is NULL in the beginning of the mailbox
        timeout handler - fixes panic in the mailbox timeout handler while
        running IO stress test
      
      - Fixed system panic in lpfc_pci_remove_one() due to ndlp indirect
        reference to phba through vport
      
      - Removed de-reference of scsi device after call to scsi_done() to fix
        panic in scsi completion path while accessing scsi device after
        scsi_done is called.
      
      - Fixed "Nodelist not empty" message when unloading the driver after
        target reboot test
      
      - Added LP2105 HBA model description
      
      - Added code to print all 16 words of unrecognized ASYNC events
      
      - Fixed memory leak in vport create + delete loop
      
      - Added support for handling dual error bit from HBA
      
      - Fixed a driver NULL pointer dereference in lpfc_sli_process_sol_iocb
      
      - Fixed a discovery bug with FC switch reboot in lpfc_setup_disc_node
      
      - Take NULL termintator into account when calculating available buffer space
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      a257bf90
  12. 30 12月, 2008 3 次提交
  13. 13 10月, 2008 4 次提交
  14. 12 7月, 2008 1 次提交
    • J
      [SCSI] lpfc 8.2.7 : Miscellaneous Fixes · 495a714c
      James Smart 提交于
      Miscellaneous Fixes:
      - Fix bug in mbox sysfs interface that locked in EAGAIN if discovery stalled.
      - Fix missing error message when npiv and loop are true when link up occurs.
      - Fix panic in lpfc_scsi_cmd_iocb_cmpl: scsi_buf was NULL, but created
        race conditions with other code paths.
      - Fix error in sysfs mailbox structure that didn't rezero on next use.
      - Add missing mempool_free() to attachment failure path
      - Fix missing put of ndlp structure during driver unload.
      - Fix applications unable to send mailbox commands during discovery.
      - Remove unused argument (type) from function lpfc_post_buffer() API
      - Fix vport name is not shown after hbacmd vportcreate.
      - Remove repeated code statements.
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      495a714c
  15. 20 4月, 2008 1 次提交
  16. 22 2月, 2008 1 次提交
  17. 12 2月, 2008 1 次提交
  18. 24 1月, 2008 1 次提交
  19. 12 1月, 2008 1 次提交
    • A
      [SCSI] lpfc: minor cleanups · a6ababd2
      Adrian Bunk 提交于
      This patch contains the following minor cleanups:
      - make the following needlessly global functions static:
        - lpfc_els.c: lpfc_register_new_vport()
        - lpfc_els.c: lpfc_issue_els_fdisc()
        - lpfc_els.c: lpfc_issue_fabric_iocb()
        - lpfc_els.c: lpfc_fabric_abort_vport()
        - lpfc_hbadisc.c: lpfc_dev_loss_tmo_handler()
        - lpfc_hbadisc.c: lpfc_mbx_cmpl_clear_la()
        - lpfc_hbadisc.c: lpfc_disc_flush_list()
        - lpfc_hbadisc.c: __lpfc_find_node()
        - lpfc_init.c: lpfc_hb_timeout()
        - lpfc_init.c: lpfc_block_mgmt_io()
        - lpfc_sli.c: __lpfc_sli_release_iocbq()
        - lpfc_sli.c: lpfc_sli_next_hbq_slot()
        - lpfc_sli.c: lpfc_sli_hbqbuf_init_hbqs()
        - lpfc_sli.c: lpfc_sli_hbqbuf_find()
        - lpfc_sli.c: __lpfc_sli_issue_iocb()
      - #if 0 the following unused global functions:
        - lpfc_els.c: lpfc_fabric_abort_flogi()
        - lpfc_hbadisc.c: lpfc_find_node()
        - lpfc_hbadisc.c: lpfc_findnode_rpi()
      - remove the unused exports
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Acked-by: NJames Smart <James.Smart@Emulex.Com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      a6ababd2