1. 09 2月, 2010 1 次提交
  2. 05 12月, 2009 5 次提交
    • J
      [SCSI] lpfc 8.3.6 : Hardware related fixes and changes · a747c9ce
      James Smart 提交于
      Hardware related Fixes and Changes.
       - Added new Adapter IDs and update default Adapter names.
       - Added PCI read after EQarm doorbell PCI write to flush the write
         and avoid spurrious interrupts when in INTx mode.
       - Phase out use of ONLINE registers.
       - Fix for lost MSI interrupt
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
      a747c9ce
    • J
      [SCSI] lpfc 8.3.6 : FC Protocol Fixes · 5ffc266e
      James Smart 提交于
      FC protocol fixes.
       - Fix send sequence logic to handle multi SGL IOCBs.
       - Fix FDISC completion always setting VPORT state to failed.
       - Ported the fix on reporting of max_vpi to uppper layer.
       - Fix incorrect number of Vports allowed to be created.
       - Fixed Dead FCoE port after creating vports.
       - Added handling of ELS request for Reinstate Recovery Qualifier (RRQ)
       - Handle unsolicited CT exchange initiator receiving CT exchange ABTS
       - Migrate LUN queue depth ramp up code to scsi mid-layer.
       - Made ABTS WQE go to the same WQ as the WQE to be aborted.
       - Fix Vport does not rediscover after FCF goes away.
       - Fixed lpfc_unreg_vfi failure after devloss timeout.
       - Fixed RPI bit leak.
       - Fix hbq pointer corruption during target discovery.
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
      5ffc266e
    • J
      [SCSI] lpfc 8.3.6 : FCoE Protocol Fixes · c868595d
      James Smart 提交于
      FCoE Protocol fixes.
       - Fixed FIP frame designation for ELS commands.
       - Fix CVL received on Port 1 not processed by driver.
       - Fix Zeroed frame on wire after FLOGI
       - Fix vport keep-alive does not contain the correct WWN.
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
      c868595d
    • J
      [SCSI] lpfc 8.3.5: fix sysfs parameters, vport creation and other bugs and update logging · 6a9c52cf
      James Smart 提交于
      This patch include the following fixes and changes:
      - Fix crash when "error" is echoed to board_mode sysfs parameter
      - Fix FCoE Parameter parsing in regions 23
      - Fix driver crash when creating vport with large number of targets on SLI4
      - Fix bug with npiv message being logged when it is not supported by the adapter
      - Fix a potential dereferencing mailbox structure after free bug
      - Fix firmware crash after vport create with high target count
      - Error out requests to set board_mode to warm restart via sysfs on SLI4 HBAs
      - Fix Block guard logging
      - Fix a memory corruption issue during GID_FT IO prep
      - Fix crash while processing unsolicited FC frames
      - Fix failed to allocate XRI message is not a critical failure
      - Update and fix formatting in some log messages
      - Fix missing new line characters in log messages
      - Removed the use of the locally defined FC transport layer related macros
      - Check the rsplen in lpfc_handle_fcp_err function before using rsplen
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
      6a9c52cf
    • J
      [SCSI] lpfc 8.3.5: fix VPI registration, error clean up and add support for vlink events · 6669f9bb
      James Smart 提交于
      This patch includes the following fixes and new features:
      - Fix mask size for CT field in WQE
      - Fix VPI base not used when unregistering VPI on port 1.
      - Fix UNREG_VPI mailbox command to unreg the correct VPI
      - Fixed Check for aborted els command
      - Fix error when trying to load driver with wrong firmware on FCoE HBA.
      - Fix bug with probe_one routines not putting the Scsi_Host back upon error
      - Add support for Clear Virtual Link Async Events
      - Add support for unsolicited CT exchange sequence abort
      - Add 0x0714 OCeXXXXX PCI ID
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
      6669f9bb
  3. 23 8月, 2009 1 次提交
  4. 15 6月, 2009 1 次提交
    • J
      [SCSI] lpfc 8.3.3 : Fix various SLI-3 vs SLI-4 differences · f1126688
      James Smart 提交于
      Contains the following changes
      - Set the CT field of FDISC to 3
      - Fixed over allocation of SCSI buffers on SLI4
      - Removed unused jump table entries
      - Increase LPFC_WQE_DEF_COUNT to 256
      - Updated FDISC context to VPI
      - Fixed immediate SCSI command for LUN reset translation to WQE
      - Extended mailbox handling to allow MBX_POLL commands in between async
        MBQ commands
      - Fixed SID used for FDISC
      - Fix crash when accessing ctlregs from sysfs for SLI4 HBAs
      - Fix SLI4 firmware version not being saved or displayed correctly
      - Expand CQID field in WQE structure to 16 bits
      - Fix post header template mailbox command timing out
      - Removed FCoE PCI device ID 0x0705
      Signed-off-by: NJames Smart <James.Smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      f1126688
  5. 09 6月, 2009 2 次提交
  6. 30 12月, 2008 4 次提交
  7. 13 10月, 2008 4 次提交
  8. 12 2月, 2008 2 次提交
  9. 24 1月, 2008 2 次提交
    • J
      [SCSI] lpfc 8.2.4 : Fix Unsolicited Data items · 9c2face6
      James Smart 提交于
      Fix Drivers Unsolicited CT command handling - we did not handle multiframe
        sequences well.
      Fix error due to delay in replenishing buffers for unsolicited data.
      Signed-off-by: NJames Smart <James.Smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      9c2face6
    • J
      [SCSI] lpfc 8.2.4 : Miscellaneous Fixes · 09372820
      James Smart 提交于
      Miscellaneous Fixes:
      - Fix a couple of sparse complaints
      - Reset the FCP recovery flag when the node is not a FCP2 device.
      - Speed up offline prep delays
      - Fixed a memory leak in lpfc_mem_alloc failure path
      - Fixed external loopback test.
      - Fixed error code returned from the driver when HBA is over heated.
      - Correct Max NPIV vport to limits read from adapter
      - Add missing locks around fc_flag and FC_NEEDS_REG_VPI
      - Add missing hba ids for device identification
      - Added support for SET_VARIABLE and MBX_WRITE_WWN mailbox commands
      - Changed all temperature event messages from warning to error
      - Fix reporting of link speed when link is down
      - Added support for MBX_WRITE_WWN mailbox command
      - Change del_timer_sync() in ISR to del_timer() in interrupt handler
      - Correct instances of beXX_to_cpu() that should be cpu_to_beXX()
      - Perform target flush before releasing node references on module unload
      - Avoid bogus devloss_tmo messages when driver unloads
      - Fix panic when HBA generates ERATT interupt
      - Fix mbox race condition and a workaround on back-to-back mailbox commands
      - Force NPIV off for pt2pt mode between 2 NPorts
      - Stop worker thread before removing fc_host.
      - Fix up discovery timeout error case due to missing clear_la
      - Tighten mailbox polling code to speed up detection of fast completions
      - Only allow DUMP_MEMORY if adapter offline due to overtemp errors
      - Added extended error information to the log messages in chip init.
      Signed-off-by: NJames Smart <James.Smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      09372820
  10. 12 1月, 2008 4 次提交
  11. 02 8月, 2007 2 次提交
    • J
      [SCSI] lpfc 8.2.2 : Style cleanups · 311464ec
      James Smart 提交于
      - Clean up all instances of mixed tab-space indentation
      - Clean up sparse build errors
      - Add appropriate static's
      Signed-off-by: NJames Smart <James.Smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      311464ec
    • J
      [SCSI] lpfc 8.2.2 : Miscellaneous Bug Fixes · 51ef4c26
      James Smart 提交于
      - Fix vport ndlp ref counting errors
      - Fix use after free of ndlp structure
      - Use the correct flag to check for LOADING setting.
      - Fix driver unload bugs (related to shost references) after link down or rscn
      - Fix up HBQ initialization
      - Fix port_list locking around driver unload.
      - Fix references to hostdata as a phba
      - Fix GFFID type offset to work correctly with big endian structure.
      - Only call pci_disable_msi if the pci_enable_msi succeeded
      - Fix vport_delete wait/fail if in discovery
      - Put a reference on the nameservers ndlp when performing CT traffic.
      - Remove unbalanced hba unlock.
      - Fix up HBQ processing
      - Fix lpfc debugfs discovery trace output for ELS rsp cmpl
      - Send ADISC when rpi is 0
      - Stop FDISC retrying forever
      - Unable to retrieve correct config parameter for vport
      - Fix sli_validate_fcp_iocb, sli_sum_iocb, sli_abort_iocb to be vport-aware.
      - Fix index-out-of-range error in iocb. Spotted by Coverity.
      Signed-off-by: NJames Smart <James.Smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      51ef4c26
  12. 18 6月, 2007 4 次提交
    • J
      [SCSI] lpfc: bug fixes · 858c9f6c
      James Smart 提交于
       Following the NPIV support, the following changes have been accumulated
       in the testing and qualification of the driver:
      
       - Fix affinity of ELS ring to slow/deferred event processing
       - Fix Ring attention masks
       - Defer dev_loss_tmo timeout handling to worker thread
       - Consolidate link down error classification for better error checking
       - Remove unused/deprecated nlp_initiator_tmr timer
       - Fix for async scan - move adapter init code back into pci_probe_one
         context. Fix async scan interfaces.
       - Expand validation of ability to create vports
       - Extract VPI resource cnt from firmware
       - Tuning of Login/Reject policies to better deal with overwhelmned targets
       - Misc ELS and discovery fixes
       - Export the npiv_enable attribute to sysfs
       - Mailbox handling fix
       - Add debugfs support
       - A few other small misc fixes:
          - wrong return values, double-frees, bad locking
       - Added adapter failure heartbeat
      Signed-off-by: NJames Smart <James.Smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      858c9f6c
    • J
      [SCSI] lpfc: NPIV: add NPIV support on top of SLI-3 · 92d7f7b0
      James Smart 提交于
      NPIV support is added to the driver.  It utilizes the interfaces of
      the fc transport for the creation and deletion of vports. Within the
      driver, a new Scsi_Host is created for each NPIV instance, and is
      paired with a new instance of a FC port.  This allows N FC Port
      elements to share a single Adapter.
      Signed-off-by: NJames Smart <James.Smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      92d7f7b0
    • J
      [SCSI] lpfc: NPIV: add SLI-3 interface · ed957684
      James Smart 提交于
      NPIV support is only available via new adapter interface extensions,
      termed SLI-3. This interface changes some of the basic behaviors such
      as command and response ring element sizes and data structures, as
      well as a change in buffer posting.  Note: the new firmware extensions
      are found only on our mid-range and enterprise 4Gig adapters - so NPIV
      support is available only on these newer adapters. The latest firmware
      can be downloaded from the Emulex support page.
      Signed-off-by: NJames Smart <James.Smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      ed957684
    • J
      [SCSI] lpfc: NPIV: split ports · 2e0fef85
      James Smart 提交于
      The driver is reorganized to separate the handling of the adapter from
      the handling of the FC port. Adapter handling includes submissions of
      command requests, receiving responses, and managing adapter resources.
      The FC port includes the discovery engine, login handling, and the
      mapping of a Scsi_Host on the "port".  Although not a large functional
      change, as it touches core structures and functions, resulting in a
      large text delta.
      Signed-off-by: NJames Smart <James.Smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      2e0fef85
  13. 06 5月, 2007 2 次提交
  14. 03 12月, 2006 4 次提交
  15. 20 4月, 2006 2 次提交