22 Dec, 2010

2 commits

  • Updated commands used for ELS to utilize VPI
    Allocate RPI at node creation time and pass in ELS commnads.

    Signed-off-by: Alex Iannicelli
    Signed-off-by: James Smart
    Signed-off-by: James Bottomley

    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: Alex Iannicelli
    Signed-off-by: James Smart
    Signed-off-by: James Bottomley

    James Smart
     

28 Jul, 2010

1 commit

  • - Retry PLOGI up to 48 times when LS_RJT reason is
    "Unable to supply requested data."
    - When dev loss timeout occures do not change state if there
    is an outstanding REG_LOGIN.
    - Add logic to ignore REG_LOGIN completion if discovery is
    restarted while waiting for REG_LOGIN.
    - Only change state on REG_LOGIN completion if still in
    state waiting for REG_LOGIN completion.
    - Only send ADISCs to FCP-2 Targets (not Initiators).

    Signed-off-by: Alex Iannicelli
    Signed-off-by: James Smart
    Signed-off-by: James Bottomley

    James Smart
     

12 Apr, 2010

1 commit

  • - Add code to prevent unreg_vpi mailbox command from failing.
    - Add code to reset the HBA if unreg_vpi mailbox fails with busy status.
    - Remove code that was clearing the nlp_type stored during rport discovery.

    Signed-off-by: Alex Iannicelli
    Signed-off-by: James Smart
    Signed-off-by: James Bottomley

    James Smart
     

05 Dec, 2009

2 commits

  • 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: James Smart
    Signed-off-by: James Bottomley

    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: James Smart
    Signed-off-by: James Bottomley

    James Smart
     

09 Jun, 2009

1 commit

  • Miscellaneous Changes:
    - Convert from SLI2_ACTIVE flag to more correct SLI_ACTIVE (generic) flag
    - Reposition log verbose messaging definitions
    - Update naming for vpi object name from vport slang name
    - Handle deferred error attention condition
    - Add 10G link support
    - Small bug fixup

    Signed-off-by: James Smart
    Signed-off-by: James Bottomley

    James Smart
     

27 Apr, 2009

1 commit

  • 8.3.1 Fixes/Changes :

    - Fix incorrect byte-swapping on word 4 of IOCB (data length) which
    caused LUNs to not be discovered on big-endian (e.g. PPC)

    - Remove a bad cast of MBslimaddr which loses the __iomem (sparse)

    - Make lpfc_debugfs_mask_disc_trc static (sparse)

    - Correct misspelled word BlockGuard in lpfc_logmsg.h comment

    - Replaced repeated code segment for canceling IOCBs from a list with
    a function call, lpfc_sli_cancel_iocbs().

    - Increased HBQ buffers to support 40KB SSC sequences.

    - Added sysfs interface to update speed and topology parameter without
    link bounce.

    - Fixed bug with sysfs fc_host WWNs not being updated after changing
    the WWNs.

    - Check if the active mailbox is NULL in the beginning of the mailbox
    timeout handler - fixes panic in the mailbox timeout handler while
    running IO stress test

    - Fixed system panic in lpfc_pci_remove_one() due to ndlp indirect
    reference to phba through vport

    - Removed de-reference of scsi device after call to scsi_done() to fix
    panic in scsi completion path while accessing scsi device after
    scsi_done is called.

    - Fixed "Nodelist not empty" message when unloading the driver after
    target reboot test

    - Added LP2105 HBA model description

    - Added code to print all 16 words of unrecognized ASYNC events

    - Fixed memory leak in vport create + delete loop

    - Added support for handling dual error bit from HBA

    - Fixed a driver NULL pointer dereference in lpfc_sli_process_sol_iocb

    - Fixed a discovery bug with FC switch reboot in lpfc_setup_disc_node

    - Take NULL termintator into account when calculating available buffer space

    Signed-off-by: James Smart
    Signed-off-by: James Bottomley

    James Smart
     

13 Oct, 2008

2 commits


12 Feb, 2008

2 commits

  • Miscellaneous discovery fixes:
    - Flush RSCN buffers on vports when reseting HBA.
    - Fix incorrect FLOGI after vport reg failed
    - Fix a potential fabric ELS race condition
    - Fix handling of failed PLOGI command under high lip rates
    - Fix FDISC handling
    - Fix debug logging for npiv handling

    Signed-off-by: James Smart
    Signed-off-by: James Bottomley

    James Smart
     
  • Correct ndlp referencing issues:
    - Fix ndlp kref issues due to race conditions between threads
    - Fix cancel els delay retry event which missed an ndlp reference count

    Signed-off-by: James Smart
    Signed-off-by: James Bottomley

    James Smart
     

12 Jan, 2008

3 commits

  • Miscellaneous Small Fixes - part 2

    - Fix ndlp left in PLOGI state after link up
    - Fix cannot rcv unsol ELS frames after running HBA resets for a few minutes
    - Fix HBQ buffer_count implemention
    - Fix RPI leak
    - Fix crash while deleting vports while HBA is reset
    - Revert the FCP Fbits offset back to 7
    - Fix panic when deleting vports
    - Remove unused code in switch statement outside of a case
    - Reject PLOGI from invalid PName or NName of 0
    - Ignore PLOGI responses from WWPName or WWNName of 0
    - Fix debugfs hbqinfo display for ppc
    - Added 8G to list of supported speeds for sysfs parameter
    - Defer ndlp cleanup to dev-loss timeout handler
    - Added support for WRITE_VPARMS mailbox command by applications

    Signed-off-by: James Smart
    Signed-off-by: James Bottomley

    James Smart
     
  • FC Discovery Fixes:
    - Fix up lpfc_drop_node() vs lpfc_nlp_not_used() usage
    - Clear ADISC flag when unregistering RPI and REMOVE ndlps if in recovery.
    - Fix usage of UNUSED list and ndlps
    - Fix PLOGI race conditions
    - Reset link if NameServer PLOGI errors occur
    - Synchronize GID_FT queries with PLOGI receptions

    Signed-off-by: James Smart
    Signed-off-by: James Bottomley

    James Smart
     
  • Miscellaneous Small Fixes - part 1
    - Fix typo kmzlloc -> kzalloc
    - Fix discovery ndlp use after free panic
    - Fix link event causing flood of 0108 messages
    - Relieve some mbox congestion on link up with 100 vports
    - Fix broken vport parameters
    - Prevent lock recursion in logo_reglogin_issue
    - Split uses of error variable in lpfc_pci_probe_one into retval and error
    - Remove completion code related to dev_loss_tmo
    - Remove unused LPFC_MAX_HBQ #define
    - Don't compare pointers to 0 for sparse
    - Make 2 functions static for sparse
    - Fix default rpi cleanup code causing rogue ndlps to remain on the NPR list
    - Remove annoying ELS messages when driver is unloaded
    - Fix Cannot issue Register Fabric login problems on link up
    - Remove LPFC_EVT_DEV_LOSS_DELAY
    - Fix FC port swap test leads to device going offline
    - Fix vport CT flags to only be set when accepted
    - Add code to handle signals during vport_create
    - Fix too many retries in FC-AL mode
    - Pull lpfc_port_link_failure out of lpfc_linkdown_port

    Signed-off-by: James Smart
    Signed-off-by: James Bottomley

    James Smart
     

18 Jun, 2007

3 commits

  • 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: James Smart
    Signed-off-by: James Bottomley

    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: James Smart
    Signed-off-by: James Bottomley

    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: James Smart
    Signed-off-by: James Bottomley

    James Smart
     

06 May, 2007

5 commits


05 Sep, 2006

1 commit


20 Apr, 2006

1 commit


01 Mar, 2006

2 commits


14 Dec, 2005

1 commit


29 Oct, 2005

1 commit


03 Jul, 2005

2 commits


19 Apr, 2005

1 commit