1. 22 12月, 2010 3 次提交
    • J
      [SCSI] lpfc 8.3.20: Implement the FC and SLI async event handlers · 70f3c073
      James Smart 提交于
      Implement the FC and SLI async event handlers:
      
      - Updated MQ_CREATE_EXT mailbox structure to include fc and SLI async events.
      - Added the SLI trailer code.
      - Split physical field into type and number to reflect latest SLI spec.
      - Changed lpfc_acqe_fcoe to lpfc_acqe_fip to reflect latest Spec changes.
      - Added lpfc_acqe_fc_la structure for FC link attention async events.
      - Added lpfc_acqe_sli structure for sli async events.
      - Added lpfc_sli4_async_fc_evt routine to handle fc la async events.
      - Added lpfc_sli4_async_sli routine to handle sli async events.
      - Moved LPFC_TRAILER_CODE_FC to be handled by its own handler function.
      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>
      70f3c073
    • 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
    • J
      [SCSI] lpfc 8.3.19: Add latest SLI4 Hardware initialization support · 085c647c
      James Smart 提交于
      - Add the Lancer FC and FCoE PCI IDs
      - Add new SLI4 INTF register definitions
      - Implement new SLI4 doorbell register
      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>
      085c647c
  2. 26 10月, 2010 1 次提交
  3. 12 4月, 2010 1 次提交
  4. 11 4月, 2010 1 次提交
  5. 18 2月, 2010 3 次提交
  6. 09 2月, 2010 1 次提交
  7. 18 1月, 2010 1 次提交
  8. 05 1月, 2010 2 次提交
  9. 05 12月, 2009 5 次提交
  10. 23 8月, 2009 1 次提交
    • J
      [SCSI] lpfc 8.3.4: Various SLI4 fixes · 8fa38513
      James Smart 提交于
      Various SLI4 fixes
      
      - Fix switch name not used in the FCF record for FCoE HBAs
      - Enabled HBA UE error polling error-condition action code
      - Rewrite lpfc_sli4_scmd_to_wqidx_distr() to handle counter rollover cleanly
      - Modify resume_rpi mailbox data structure to match current SLI4 spec
      - Do not issue mailbox command in MBX_POLL mode when LPFC_HBA_ERROR is set
      - Wait for HBA POST completion before checking Online and UE registers
      - Fix accumulated total length not being filled in on unsolicited IOCBs
      - Use PCI config space register to determine SLI rev of HBA
      - Turn on starting ELS tmo function timer during device initialization
      Signed-off-by: NJames Smart <James.Smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
      8fa38513
  11. 15 6月, 2009 2 次提交
    • J
      [SCSI] lpfc 8.3.3 : FC/FCOE discovery fixes · 0c287589
      James Smart 提交于
      Contains the following changes:
      - Force vport to send LOGO to fabric controller when deleting vport
      - Fixed driver failing to register login when a PLOGI is received
      - Fixes for FIP discovery
      - Added stricter checks for FCF addressing mode
      - Added code to send only FLOGI, FDISC and LOGO to Fabric controller as FIP
      - Fixed handling of LOGO from Fabric port
      - Fixed consecutive link up events skipped link_down processing
      Signed-off-by: NJames Smart <James.Smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      0c287589
    • 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
  12. 09 6月, 2009 1 次提交