06 May, 2007

7 commits


03 Dec, 2006

4 commits


26 Oct, 2006

1 commit


05 Sep, 2006

2 commits


03 Sep, 2006

1 commit


20 Aug, 2006

1 commit

  • Misc Bug Fixes:
    - Cap MBX_DOWN_LINK command timeout to 60 seconds
    - Fix double free of ndlp object
    - Don't free mbox structures on error. The completion handlers expect to do so.
    - Clear host attention work items when going offline
    - Fixed discovery issues in multi-initiator environments.

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

    James Smart
     

07 Aug, 2006

3 commits


09 Jul, 2006

4 commits


12 Mar, 2006

1 commit

  • Two misc fixes:
    - Fix deadlock caused by return with host_lock held in lpfc_findnode_did
    - Initialize all fields of the allocated mail box structure to zero.
    Was causing some sysfs mailbox commands to fail immediately after load.

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

    James Smart
     

06 Mar, 2006

1 commit


01 Mar, 2006

5 commits


14 Dec, 2005

1 commit

  • - Add functionality to run in polled mode only. Includes run time
    attribute to enable mode.
    - Enable runtime writable hba settings for coallescing and delay parameters

    Customers have requested a mode in the driver to run strictly polled.
    This is generally to support an environment where the server is extremely
    loaded and is looking to reclaim some cpu cycles from adapter interrupt
    handling.

    This patch adds a new "poll" attribute, and the following behavior:

    if value is 0 (default):
    The driver uses the normal method for i/o completion. It uses the
    firmware feature of interrupt coalesing. The firmware allows a
    minimum number of i/o completions before an interrupt, or a maximum
    time delay between interrupts. By default, the driver sets these
    to no delay (disabled) or 1 i/o - meaning coalescing is disabled.

    Attributes were provided to change the coalescing values, but it was
    a module-load time only and global across all adapters.
    This patch allows them to be writable on a per-adapter basis.

    if value is 1 :
    Interrupts are left enabled, expecting that the user has tuned the
    interrupt coalescing values. When this setting is enabled, the driver
    will attempt to service completed i/o whenever new i/o is submitted
    to the adapter. If the coalescing values are large, and the i/o
    generation rate steady, an interrupt will be avoided by servicing
    completed i/o prior to the coalescing thresholds kicking in. However,
    if the i/o completion load is high enough or i/o generation slow, the
    coalescion values will ensure that completed i/o is serviced in a timely
    fashion.

    if value is 3 :
    Turns off FCP i/o interrupts altogether. The coalescing values now have
    no effect. A new attribute "poll_tmo" (default 10ms) exists to set
    the polling interval for i/o completion. When this setting is enabled,
    the driver will attempt to service completed i/o and restart the
    interval timer whenever new i/o is submitted. This behavior allows for
    servicing of completed i/o sooner than the interval timer, but ensures
    that if no i/o is being issued, then the interval timer will kick in
    to service the outstanding i/o.

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

    James.Smart@Emulex.Com
     

29 Oct, 2005

6 commits


22 Sep, 2005

1 commit


11 Sep, 2005

1 commit


13 Aug, 2005

1 commit

  • Replace use of lpfc_put_lun with midlayer's int_to_scsilun

    Remove driver's local definition of lpfc_put_lun (which converts an
    int back to a 64-bit LUN) and replace it's use with the recently added
    int_to_scsilun function provided by the midlayer.

    Note: Embedding midlayer structure in our structure caused
    need for more files to include midlayer headers.

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

    James.Smart@Emulex.Com