An error occurred fetching the project authors.
- 12 Jan, 2008 3 commits
-
-
James Smart authored
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 <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@HansenPartnership.com>
-
James Smart authored
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 <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@HansenPartnership.com>
-
James Smart authored
Remove flawed MBX_STOP_IOCB logic Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@HansenPartnership.com>
-
- 01 Aug, 2007 3 commits
-
-
James Smart authored
- Fix vport ndlp ref counting errors - Fix use after free of ndlp structure - Use the correct flag to check for LOADING setting. - Fix driver unload bugs (related to shost references) after link down or rscn - Fix up HBQ initialization - Fix port_list locking around driver unload. - Fix references to hostdata as a phba - Fix GFFID type offset to work correctly with big endian structure. - Only call pci_disable_msi if the pci_enable_msi succeeded - Fix vport_delete wait/fail if in discovery - Put a reference on the nameservers ndlp when performing CT traffic. - Remove unbalanced hba unlock. - Fix up HBQ processing - Fix lpfc debugfs discovery trace output for ELS rsp cmpl - Send ADISC when rpi is 0 - Stop FDISC retrying forever - Unable to retrieve correct config parameter for vport - Fix sli_validate_fcp_iocb, sli_sum_iocb, sli_abort_iocb to be vport-aware. - Fix index-out-of-range error in iocb. Spotted by Coverity. Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
James Smart authored
Rework the lpfc_printf_log() macro so that logging is enabled on a per-vport basis. Used to be on a physical-port basis, thus logging with large numbers of vports became a mess. Required redefinition of the macro, and an update of every use. Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
James Smart authored
- Split attributes up into vport and non-vport attributes. - Move vport specific cfg params to vport Many of the vport-specific behaviors were still global attributes on the physical port. Move them to the vport itself. Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
- 18 Jun, 2007 4 commits
-
-
James Smart authored
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 <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
James Smart authored
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 <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
James Smart authored
NPIV support is only available via new adapter interface extensions, termed SLI-3. This interface changes some of the basic behaviors such as command and response ring element sizes and data structures, as well as a change in buffer posting. Note: the new firmware extensions are found only on our mid-range and enterprise 4Gig adapters - so NPIV support is available only on these newer adapters. The latest firmware can be downloaded from the Emulex support page. Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
James Smart authored
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 <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
- 06 May, 2007 6 commits
-
-
James Smart authored
Update copyright year to 2007 Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
James Smart authored
Reference count node structures for node lifetime management. Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
James Smart authored
Round 2 of Miscellaneous fixes: - Ensure we don't prematurely re-enable IRQs in lpfc_sli_abort_fcp_cmpl(). - Prevent freeing of iocb after IOCB_TIMEDOUT error. - Added code to cleanup REG_LOGIN mailbox command when a LOGO is received. - Fix offline window where more work can sneak in after clearing work_ha - Use target reset instead of LU reset in bus_device_reset_handler - Fixed system hangs due to leaked host_lock. - Fixed NULL pointer dereference during I/O with LIP. - Fixed false iocb timeout. - Fixed name server query response handling. - Change rport dev_loss_tmo value when user change lpfc HBA's dev_loss_tmo. - Fixed a memory leak in lpfc_sli_wake_mbox_wait. - Fixed check for dropped frames. - Removed hba queue depth calculation based on device PCI IDs - Change min cr_count value specified in comment to agree with setting Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
James Smart authored
Reorganize lpfc_nlp_list() and callers to prepare for nodelist simplification. Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
James Smart authored
Fix unlock inside list traversal. Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
James Smart authored
Modify ELS abort handling to prevent double completion Rework portions of ELS abort handling to prevent double completion - Rework ELS iotags and correct abort routine - Move the (badly wrong) ELS completion logic from the initial ELS abort request function to the ELS completion function. - Fixup the iocb completion handling to account for the ELS abort completions. Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
- 03 Dec, 2006 2 commits
-
-
James Smart authored
Fix Memory leaks associated with mbox cmds READ_LA, READ_SPARAM, REG_LOGIN Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
James Smart authored
Discovery Fixes: - Prevent starting discovery of a node if discovery is in progress. - Code improvement (reduction) for lpfc_findnode_did(). - Update discovery to send RFF to Fabric on link up - Bypass unique WWN checks for fabric addresses - Add ndlp to plogi list prior to issuing the plogi els command Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
- 05 Sep, 2006 1 commit
-
-
James Smart authored
Add support for new dev_loss_tmo callback Goodness is that it removes code for a parallel nodev timer that existed in the driver Add support for the new fast_io_fail callback Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
- 19 Aug, 2006 1 commit
-
-
James Smart authored
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 <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
- 06 Aug, 2006 1 commit
-
-
James Smart authored
ID String and Message fixes - Fix switch symbolic name registration to match cross-OS values - Replace printk's with more standard lpfc_printf_log calls - Make all lpfc_printf_log message numbers unique Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
- 09 Jul, 2006 1 commit
-
-
James Smart authored
Fixed infinite retry of REG_LOGIN mailbox failed due to MBXERR_RPI_FULL Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
- 20 Apr, 2006 3 commits
-
-
James Smart authored
Fixed FC protocol violation in handling of PRLO. Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
James Smart authored
Use asynchronous ABTS completion to speed up abort completions Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
James Smart authored
Fix Discovery processing for NPorts that hit nodev_tmo during discovery Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
- 12 Mar, 2006 2 commits
-
-
James Smart authored
Fixed RSCN handling when a PLOGI is in retry. Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
James Smart authored
Fix Discovery processing for NPorts that change their NPortId on the fly due to a cable swap. Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
- 01 Mar, 2006 4 commits
-
-
Jamie Wellnitz authored
Code style changes for Discovery code Signed-off-by:
Jamie Wellnitz <Jamie.Wellnitz@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
Jamie Wellnitz authored
Added support for FAN Signed-off-by:
Jamie Wellnitz <Jamie.Wellnitz@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
Jamie Wellnitz authored
Misc FC Discovery changes : - Added FC_BYPASSED_MODE statistic - Corrected some log message data - Fix up Discovery infrastructure to support FAN: Allow Fabric entities to flow thru DSM Fix up linkup/linkdown unregister login processing for Fabric entities Clean up Discovery code Utilize nodev_tmo for Fabric entities - Use of 3 * ratov for CT handling timeouts - Fix up DSM to make more appropriate decisions and clean up code. Signed-off-by:
Jamie Wellnitz <Jamie.Wellnitz@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
Jamie Wellnitz authored
Fixed a race condition in the PLOGI retry logic. Signed-off-by:
Jamie Wellnitz <Jamie.Wellnitz@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
- 14 Dec, 2005 1 commit
-
-
James.Smart@Emulex.Com authored
Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
- 29 Oct, 2005 2 commits
-
-
James Bottomley authored
From: James Smart <James.Smart@emulex.com> There were scenarios where the error handlers could reuse an iotag value of an active io. Remove all possibility of this by pre-assigning iotag resources to command resources. Signed-off-by:
James Smart <James.Smart@emulex.com> Rejections fixed up and Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
James.Smart@Emulex.Com authored
Table was not providing a lot of value and injected a couple of errors. Removed it and made functionality inline. Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
- 12 Aug, 2005 1 commit
-
-
James.Smart@Emulex.Com authored
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 <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
- 03 Jul, 2005 2 commits
-
-
James.Smart@Emulex.Com authored
Update copyright notice text and include year 2005. Add Copyright notice for Christoph Hellwig to several files: lpfc.h lpfc_attr.c lpfc_els.c lpfc_hbadisc.c lpfc_init.c lpfc_mbox.c lpfc_mem.c lpfc_nportdisc.c lpfc_scsi.c lpfc_sli.c Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
James.Smart@Emulex.Com authored
Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
- 02 Jul, 2005 1 commit
-
-
James.Smart@Emulex.Com authored
Symptom - An unmapped node (initiator) that goes away in a situation such as cable pull, comes back as a mapped node. Fix - On ADISC completion, put a list on the mapped list only if it is a FCP_TARGET. Signed-off-by:
James Smart <James.Smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
- 18 Apr, 2005 1 commit
-
-
From: James.Smart@Emulex.Com Modified for kernel import and Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-