[lpfc 10/19] Remove hba lock from NVMET isssue WQE

2017-04-04 Thread Dick Kennedy
From: Dick Kennedy <rkenn...@lvnvda1400.lvn.broadcom.net> Unecessary lock is taken. ring lock should be sufficient Signed-off-by: Dick Kennedy <dick.kenn...@broadcom.com> Signed-off-by: James Smart <james.sm...@broadcom.com> --- drivers/scsi/lpfc/lpfc_nvmet.c | 4

[lpfc 14/19] Fix crash after issuing lip reset

2017-04-04 Thread Dick Kennedy
From: Dick Kennedy <rkenn...@lvnvda1400.lvn.broadcom.net> When RPI is not available, driver sends WQE with invalid RPI value and hence rej ected by HBA. lpfc :82:00.3: 1:3154 BLS ABORT RSP failed, data: x3/xa0320008 and lpfc :82:00.3: 1:(71):2753 PLOGI failure DID:FA Sta

[lpfc 07/19] Fix driver usage of 128B WQEs when WQ_CREATE is V1.

2017-04-04 Thread Dick Kennedy
From: Dick Kennedy <rkenn...@lvnvda1400.lvn.broadcom.net> Verify WQ_CREATE with 128B WQEs in V0 and V1. Code review of another bug showed the driver passing 128B WQEs and 8 pages in WQ CREATE and V0. Code inspection/instrumentation showed that the driver uses V0 in WQ_CREATE and if the

[lpfc 05/19] Fix driver unload/reload operation.

2017-04-04 Thread Dick Kennedy
From: Dick Kennedy <rkenn...@lvnvda1400.lvn.broadcom.net> Two issues: (1) driver could not be unloaded and reloaded without some Oops or Panic occurring. (2) The driver was panicking because of a corruption in the Memory Manager when the iocb list was getting allocated. Root cause for the

[lpfc 01/19] Fix advertised max_sgl_segment count for NVMET

2017-04-04 Thread Dick Kennedy
From: Dick Kennedy <rkenn...@lvnvda1400.lvn.broadcom.net> Signed-off-by: Dick Kennedy <dick.kenn...@broadcom.com> Signed-off-by: James Smart <james.sm...@broadcom.com> --- drivers/scsi/lpfc/lpfc_nvme.h | 4 +--- drivers/scsi/lpfc/lpfc_nvmet.c | 2 +- drivers/scsi/lpfc/lpfc_n

[lpfc 17/19] Fix implicit logo and RSCN handling for NVMET

2017-04-04 Thread Dick Kennedy
From: Dick Kennedy <rkenn...@lvnvda1400.lvn.broadcom.net> Symptoms: NVMET didn't have any RSCN handling at all and would not execute implicit LOGO when receiving a PLOGI from an rport that NVMET had in state UNMAPPED. Clean up the logic in lpfc_nlp_state_cleanup for initiators (FCP an

[lpfc 13/19] Fix driver load issues when MRQ=8

2017-04-04 Thread Dick Kennedy
From: Dick Kennedy <rkenn...@lvnvda1400.lvn.broadcom.net> The symptom is that the driver will fail to login to the fabric. The reason is bacause it is out of iocb resources. This fix algins the number of MRQ resources with the total resources so that it can handle fabric events when

[lpfc 09/19] Fix Kconfig defines.

2017-04-04 Thread Dick Kennedy
From: Dick Kennedy <rkenn...@lvnvda1400.lvn.broadcom.net> One of the idefs in the previous kconfig patch was not corrected. Also one alingment issue fixed. Signed-off-by: Dick Kennedy <dick.kenn...@broadcom.com> Signed-off-by: James Smart <james.sm...@broadcom.com> ---

[lpfc 06/19] Fix discovery error handling in NVME initiator

2017-04-04 Thread Dick Kennedy
From: Dick Kennedy <rkenn...@lvnvda1400.lvn.broadcom.net> performance lab running tests on upstream 4.10-rc5 POC and observing error during the NVME connect process. Here are the errors: Issue 1: The initiator is claiming the nvme_fc_unregister_remoteport upcall is not completing the unre

[lpfc 18/19] Update ABORT processing for NVMET

2017-04-04 Thread Dick Kennedy
From: Dick Kennedy <rkenn...@lvnvda1400.lvn.broadcom.net> Missing code path, new NVME abort API The first lpfc driver with nvme had this routine stubbed. Signed-off-by: Dick Kennedy <dick.kenn...@broadcom.com> Signed-off-by: James Smart <james.sm...@broadcom.com> ---

[lpfc 02/19] Fixes after reviewing last set of patches. Minor fixes to previous patches

2017-04-04 Thread Dick Kennedy
From: Dick Kennedy <rkenn...@lvnvda1400.lvn.broadcom.net> Signed-off-by: Dick Kennedy <dick.kenn...@broadcom.com> Signed-off-by: James Smart <james.sm...@broadcom.com> --- drivers/scsi/lpfc/lpfc_attr.c| 6 +- drivers/scsi/lpfc/lpfc_debugfs.c | 14 --

[lpfc 03/19] Fix spelling in comments.

2017-04-04 Thread Dick Kennedy
From: Dick Kennedy <rkenn...@lvnvda1400.lvn.broadcom.net> Signed-off-by: Dick Kennedy <dick.kenn...@broadcom.com> Signed-off-by: James Smart <james.sm...@broadcom.com> --- drivers/scsi/lpfc/lpfc_sli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[lpfc 15/19] Fix max_sgl_segments settings for NVME / NVMET

2017-04-04 Thread Dick Kennedy
From: Dick Kennedy <rkenn...@lvnvda1400.lvn.broadcom.net> Cannot set these to a large number The existing module parameter lpfc_sg_seg_cnt is used for both SCSI and NVME. Limit the module parameter lpfc_sg_seg_cnt to 128 with the default being 64 for both NVME and NVMET, assumin

[lpfc 16/19] Add Fabric assigned WWN support.

2017-04-04 Thread Dick Kennedy
From: Dick Kennedy <rkenn...@lvnvda1400.lvn.broadcom.net> Firmware sends first FLOGI to fabric with vendor version changes. On link up driver gets updated service parameter with FAWWN assigned port name. Driver sends 2nd FLOGI with updated fawwpn and modifies the vport->fc_portname i

[lpfc 12/19] cannot establish connection with target that sends PRLI in PT2PT

2017-04-04 Thread Dick Kennedy
From: Dick Kennedy <rkenn...@lvnvda1400.lvn.broadcom.net> The driver does not accept PRLI from the target and this causes the target to reject the subsequent PRLI from the driver Fix: Accept the incoming PRLI so that the target can also accept the PRLI from the driver Signed-off-by

[lpfc 08/19] Fix nvme initiator handling when CONFIG_LPFC_NVME_INITIATOR is not enabled.

2017-04-04 Thread Dick Kennedy
From: Dick Kennedy <rkenn...@lvnvda1400.lvn.broadcom.net> With update nvme upstream driver sources, loading the driver with nvme enabled resulting in this Oops. Mar 6 10:09:55 NVME-init kernel: BUG: unable to handle kernel NULL pointer dere ference at 0018 Mar 6 10:09:55 NVM

[lpfc 19/19] lpfc revison 11.2.0.12

2017-04-04 Thread Dick Kennedy
From: Dick Kennedy <rkenn...@lvnvda1400.lvn.broadcom.net> Signed-off-by: Dick Kennedy <dick.kenn...@broadcom.com> Signed-off-by: James Smart <james.sm...@broadcom.com> --- drivers/scsi/lpfc/lpfc_version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[lpfc 11/19] Add NVMET changes to interface with 4.11 kernel

2017-04-04 Thread Dick Kennedy
From: Dick Kennedy <rkenn...@lvnvda1400.lvn.broadcom.net> --- drivers/scsi/lpfc/lpfc_nvmet.c | 127 - drivers/scsi/lpfc/lpfc_nvmet.h | 7 ++- 2 files changed, 105 insertions(+), 29 deletions(-) diff --git a/drivers/scsi/lpfc/lpfc_nvmet.c b/driver

[lpfc 00/19] lpfc updates.

2017-04-04 Thread Dick Kennedy
This patch set includes patches to fix driver load/unload that have been partiallty submitted by other users. This patch set is supplying the abort handline for nvme that was missing. Dick Kennedy (19): Fix advertised max_sgl_segment count for NVMET Fixes after reviewing last set of patches

[lpfc 04/19] Fix PRLI ACC rsp for NVME

2017-04-04 Thread Dick Kennedy
From: Dick Kennedy <rkenn...@lvnvda1400.lvn.broadcom.net> PRLI ACC from target is FCP oriented Signed-off-by: Dick Kennedy <dick.kenn...@broadcom.com> Signed-off-by: James Smart <james.sm...@broadcom.com> --- drivers/scsi/lpfc/lpfc_els.c | 2 +- 1 file changed, 1 insert

[PATCH 1/1] Add defines for new FC port speeds.

2014-06-13 Thread Dick Kennedy
These speeds are to support the next generation of FCoE port speeds. Signed-off-by: rkenn...@emulex.com --- drivers/scsi/scsi_transport_fc.c |4 include/scsi/scsi_transport_fc.h |4 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/scsi_transport_fc.c

Re: [PATCH V2 0/5] lpfc 10.2.8001.0: Update lpfc to revision 10.2.8001.0

2014-06-02 Thread Dick Kennedy
Looks good. Reviewed-By: Dick Kennedy dick.kenn...@emulex.com -- To unsubscribe from this list: send the line unsubscribe linux-scsi in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH V2 0/5] lpfc 10.2.8001.0: Update lpfc to revision 10.2.8001.0

2014-05-28 Thread Dick Kennedy
looks good Signed-By: Dick Kennedy dick.kenn...@emulex.com -- To unsubscribe from this list: send the line unsubscribe linux-scsi in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html