1. 13 10月, 2008 2 次提交
  2. 27 7月, 2008 1 次提交
  3. 12 7月, 2008 3 次提交
  4. 10 4月, 2008 3 次提交
    • J
      [SCSI] lpfc 8.2.6 : Miscellaneous Fixes · 97eab634
      James Smart 提交于
      Miscellaneous Fixes
      - Allow WRITE_VPARAM command when the virtual port is in a stopped state
      - Fixed handling of our queue depth max that was unconditionally raising
        the depth on all vports, rather than just the vport affected.
      - Fix race in interrupt handler for mailbox processing that did not take
        out the host lock.
      - Removed unused functions: find_node, findnode_rpi, and fabric_abort_flogi
      - Correct misspelled word unsolicited in message 0146
      - Correct HW-error 5 handling - it should not reset the adapter
      - Correct handling of IOCBs, which did not null out our pCmd field before
        invoking the midlayer io done function.
      - Changed our maximum supported target id to 4096
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      97eab634
    • J
      [SCSI] lpfc 8.2.6 : PCI Parity and EEH handling fixes · 9b379605
      James Smart 提交于
      PCI Parity and EEH handling Fixes:
      - Under a PCI Data Parity Error, remove a completion routine callback that
        was on a command that we had already failed and released.
      - Under PCI parity error, we were not reinstalling the interrupt handler
        in the slot_reset callback, so we never became functional again.
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      9b379605
    • J
      [SCSI] lpfc 8.2.6 : Multiple discovery fixes · 58da1ffb
      James Smart 提交于
      Multiple Discovery Fixes:
      - Fix race on discovery due to link events coinciding with vport_delete.
      - Use NLP_FABRIC state to filter out switch-based pseudo initiators that
         reuse the same WWNs.
      - Correct erroneous setting of DID=0 in lpfc_matchdid()
      - Correct extra reference count that was in the lookup path for the
        remoteid from an unsolicited ELS.
      - Correct double-free bug in els abort path.
      - Correct FDMI server discovery logic for switch that return a WWN of 0.
      - Fix bugs in ndlp mgmt when a node changes address
      - Correct bug that did not delete RSCNs for vports upon link transitions
      - Fix "0216 Link event during NS query" error which pops up when vports
        are swapped to different switch ports.
      - Add sanity checks on ndlp structures
      - Fix devloss log message to dump WWN correctly
      - Hold off mgmt commands that were interferring with discovery mailbox cmds
      - Remove unnecessary FC_ESTABLISH_LINK logic.
      - Correct some race conditions in the worker thread, resulting in devloss:
        - Clear the work_port_events field before handling the work port events
        - Clear the deferred ring event before handling a deferred ring event
        - Hold the hba lock when waking up the work thread
        - Send an acc for the rscn even when we aren't going to handle it
      - Fix locking behavior that was not properly protecting the ACTIVE flag,
        thus allowing mailbox command order to shift.
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      58da1ffb
  5. 12 2月, 2008 5 次提交
  6. 03 2月, 2008 1 次提交
  7. 02 2月, 2008 1 次提交
  8. 24 1月, 2008 4 次提交
  9. 12 1月, 2008 8 次提交
  10. 13 10月, 2007 2 次提交
  11. 02 8月, 2007 5 次提交
  12. 20 7月, 2007 1 次提交
  13. 15 7月, 2007 1 次提交
    • J
      [SCSI] lpfc: Fix NPIV compile problem · a5785037
      James Bottomley 提交于
      drivers/scsi/lpfc/lpfc_init.c: In function 'lpfc_create_port':
      drivers/scsi/lpfc/lpfc_init.c:1573: error: 'struct kobject' has no member named 'dentry'
      
      Just remove the if check on this ... lpfc shouldn't be poking around
      in kobject structures.
      
      drivers/scsi/lpfc/lpfc_init.c: In function 'lpfc_pci_probe_one':
      drivers/scsi/lpfc/lpfc_init.c:1723: warning: unused variable 'retval'
      
      And remove the unused variable.
      
      Cc: James Smart <James.Smart@Emulex.Com>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      a5785037
  14. 12 7月, 2007 1 次提交
  15. 18 6月, 2007 2 次提交
    • 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