1. 19 2月, 2012 1 次提交
    • J
      [SCSI] lpfc 8.3.29: SLI related fixes · 6b5151fd
      James Smart 提交于
      SLI related fixes:
      
      - Fix REG_RPI fails on SLI4 HBA putting NPort into NPR state (126230)
      - Fix ELS FDISC failing with local reject / invalid RPI. (126350)
      - Fix reset port when reset is needed during fw_dump (125807)
      - Fix unbounded firmware revision string from port cause panic (126560)
      - Fix driver behavior when receiving an ADISC (126654)
      - Fix driver not returning when bad ndlp found in abts error event
        handling (126209)
      - Add more driver logs in area of SLI4 port error attention and reset
        recovery (126813, 124466)
      - Fix failure in handling large CQ/EQ identifiers in an IOV
        environment (126856)
      - Fix for driver using duplicate RPIs after lancer port reset (126723)
      - Clear vport->fc_myDID in lpfc_els_issue_fdisc to guarentee a
        zero SID (126779, 126897)
      - Fix for SLI4 Port delivery for BLS ABORT ACC (126289)
      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>
      6b5151fd
  2. 15 12月, 2011 3 次提交
    • J
      [SCSI] lpfc 8.3.28: Add Loopback support for SLI4 adapters · 1b51197d
      James Smart 提交于
      - Add Basic support for SLI4 Loopback.
        (CR 124951, 125766, 124951, 125843, 125832, 125843)
      - Added missing protection in setting/clearing of phba->link_flag bit
        field (CR 125994)
      - Use link type and link number obtained from READ_CONFIG mailbox
        command. (CR 126264)
      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>
      1b51197d
    • J
      [SCSI] Lpfc 8.3.28: FC and SCSI Discovery Fixes · df9e1b59
      James Smart 提交于
      FC and SCSI Discovery Fixes:
      
      - Clear the virtual fabrics bit (word 1 bit 30) when sending the FLOGI
        and FDISC. (CR 124339)
      - Return a MLQUEUE_DEVICE_BUSY if the driver detects that an I/O is being
        retried too quickly (CR 124668)
      - Remove NDLP reference put in lpfc_cmpl_els_logo_acc for all but fabric
        nodes (CR 123924)
      - Only retry FDISCs every second and stop retrying after devloss number
        of retries (CR 13939)
      - Check to see if vports are unloading before adding them to the vport
        work array. (CR 124996)
      - Fixed illegal state transition during driver unload (CR 124191)
      - Added missing protection on setting/clearing of vport->fc_flag bit (CR 126002)
      - Set NPIV flag in lpfc_mbx_process_link_up for all ports sli3 and
        above. (CR 126094)
      - Clear FCP command bytes that are not used. (CR 126209)
      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>
      df9e1b59
    • J
      [SCSI] lpfc 8.3.28: Miscellaneous fixes in sysfs and mgmt interfaces · 026abb87
      James Smart 提交于
      Miscellaneous fixes in sysfs and mgmt interfaces:
      
      - Added SLI4 INTF_TYPE and SLI_FAMILY as sub-field to the fwrev sysfs
        attribute (CR 124103)
      - Added a sysfs attribute "protocol" to report SLI4 port link protocol
        type (CR 124102)
      - Increment mix-and-match minor number by 1 for added "protocol" sysfs
        attribute. (124102)
      - Move the link speed check into the generic sli3/sli4 code
        path. (CR 124185, 124122)
      - Deleted check for inExtWLen (CR 122523)
      - Add the word "offline" to message 2889 (CR 124385)
      - Conditionalize the firmware upgrade/downgrade so that it is only
        attempted for SLI4 type 2 boards (CR 124406)
      - Return an error if the mbox sysfs is called. (CR 124210)
      - When port_state is less than LPFC_VPORT_READY, report
        FC_PORTSTATE_BYPASSED (CR 120018)
      - Added driver support for performing persistent linkdown based on
        configure region 23 (CR 124534)
      - Added restore state and error log when sysfs board_mode attribute
        access failed (CR 124158)
      - Added support for SLI4_CONFIG non-embedded COMN_GET_CNTL_ADDL_ATTR
        pass-through (CR 124466)
      - Rejecting un-supported multi-buffer mailbox commands (CR 124771)
      - Byte swap the extended data request and response data for extended
        mailbox data (CR 125081)
      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>
      026abb87
  3. 17 10月, 2011 4 次提交
  4. 29 8月, 2011 1 次提交
    • J
      [SCSI] lpfc 8.3.26: Fix HBA initialization issues · 079b5c91
      James Smart 提交于
      Fix HBA initialization issues
      
      - Swap all values that come from the firmware image on little endian systems.
        Created a new bf_get_be macro that does the same as the bf_get_le macro but
        for big endian data instead of little endian data.
      - Moved the incrementing of temp_offset after the copy
        fixed the write object loop to use temp_offset to figure out where the end
        of the image is instead of offset.
      - Added the necessary codes for properly bringing the driver instance offline
        and then trying to bring the port back online with the PCI function IP reset.
        If it fails to bring the SLI port back online, it will fall through to
        bringing the SLI port to HBA error offline.
      - Add a call in the probe_one_s3 and probe_one_s4 routines to get the Modeldesc
      - Change OCe50100 to OCe15100
      - Made the error log also include the PCI BAR bitmap returned from kernel call
        pci_select_bars().
      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>
      079b5c91
  5. 27 7月, 2011 2 次提交
    • 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
  6. 27 5月, 2011 6 次提交
  7. 02 5月, 2011 2 次提交
  8. 24 3月, 2011 2 次提交
  9. 19 2月, 2011 1 次提交
  10. 22 12月, 2010 4 次提交
  11. 26 10月, 2010 1 次提交
  12. 12 4月, 2010 1 次提交
  13. 11 4月, 2010 1 次提交
  14. 18 2月, 2010 3 次提交
  15. 09 2月, 2010 1 次提交
  16. 18 1月, 2010 1 次提交
  17. 05 1月, 2010 2 次提交
  18. 05 12月, 2009 4 次提交