1. 19 2月, 2012 1 次提交
  2. 15 12月, 2011 1 次提交
    • 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 1 次提交
  4. 27 7月, 2011 4 次提交
    • J
      [SCSI] lpfc 8.3.25: Add FCF priority failover functionality · 7d791df7
      James Smart 提交于
      This patch implements a new FCF failover policy for the lpfc driver. It
      allows the driver to choose which FCF to failover to based on the FCF
      priority. This patch also introduces a new sysfs parameter
      (fcf_failover_policy) to allow the user to choose which FCF failover policy
      to use.
      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>
      7d791df7
    • J
      [SCSI] lpfc 8.3.25: Enhancements to Debug infrastructure · b76f2dc9
      James Smart 提交于
      Enhancements to Debug infrastructure
      
      - debugfs additions for new hardware.
      - Correct stack overflow in lpfc_debugfs_dumpHBASlim_data()
      - Correct warning on uninitialized reg_val in lpfc_idiag_drbacc_write()
      - Separated the iDiag command for capturing mailbox commands for generic
        issue mailbox command entry point and for BSG multi-buffer handling.
      - Added capturing dumping capabiliy of mailbox command and external buffer
        for the completion of the mailbox command so that the outcome can be
        examined.
      - Changed all the iDiag command structure data array indexing introduced so
        far with properly defined macros.
      - Added SLI4 device PCI BAR memory mapped register read/browse, write-by-
        value, set-bit, and clear-bit methods for both interface type 0 and
        interface type 2.
      - Corrected warnings on mbxstatus being uninitialized in error paths in
        lpfc_bsg.c
      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>
      b76f2dc9
    • 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
  5. 27 5月, 2011 4 次提交
  6. 02 5月, 2011 1 次提交
  7. 24 3月, 2011 2 次提交
  8. 19 2月, 2011 4 次提交
  9. 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
  10. 26 10月, 2010 2 次提交
  11. 07 8月, 2010 1 次提交
  12. 28 7月, 2010 4 次提交
  13. 11 4月, 2010 2 次提交
  14. 03 3月, 2010 3 次提交
  15. 18 2月, 2010 1 次提交
  16. 09 2月, 2010 2 次提交
  17. 05 12月, 2009 5 次提交