ange_queue_depth,
+ .use_blk_tags = 1,
+ .track_queue_depth = 1,
+};
+
struct scsi_host_template lpfc_template = {
.module = THIS_MODULE,
.name = LPFC_DRIVER_NAME,
--
1.7.11.7
Signed-off-by: James Smart
Signed-off-by:
snprintf(buf, PAGE_SIZE, "%s\n", fwrev);
}
/**
--
1.7.11.7
Signed-off-by: James Smart
Signed-off-by: Dick Kennedy
--
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
I_CONFIG_SUBSYS_COMN 0x01
+#define COMN_OPCODE_GET_PROFILE_CONFIG 0xA4
#define COMN_OPCODE_READ_OBJECT0xAB
#define COMN_OPCODE_WRITE_OBJECT 0xAC
#define COMN_OPCODE_READ_OBJECT_LIST 0xAD
--
1.7.11.7
Signed-off-by: James Smart
Signed-off-by: Dick Kennedy
--
To unsubs
uint32_t);
int lpfc_cq_create(struct lpfc_hba *, struct lpfc_queue *,
struct lpfc_queue *, uint32_t, uint32_t);
int32_t lpfc_mq_create(struct lpfc_hba *, struct lpfc_queue *,
--
1.7.11.7
Signed-off-by: James Smart
Signed-off-by: Dick Kennedy
--
To unsubscribe from this
g to ADISC */
- if (vport->port_type == LPFC_PHYSICAL_PORT)
- lpfc_issue_clear_la(phba, vport);
+ lpfc_issue_clear_la(phba, vport);
if (!(vport->fc_flag & FC_ABORT_DISCOVERY)) {
vport->num_disc_nodes = 0;
--
1.7.11.7
Signed-
case LPFC_FC_LA_SPEED_16G:
port_speed = 16000;
break;
default:
--
1.7.11.7
Signed-off-by: James Smart
Signed-off-by: Dick Kennedy
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of
NLP_STE_NPR_NODE);
+ break;
}
/* Check for Nport to NPort pt2pt protocol */
--
1.7.11.7
Signed-off-by: James Smart
Signed-off-by: Dick Kennedy
--
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
te :- OS name is "Linux" as per requirement BZ168199. */
+ if (size < n)
+ return n;
+ n += snprintf(symbol + n, size - n, " OS:%s", init_utsname()->sysname);
+
return n;
}
--
1.7.11.7
Signed-off-by: James Smart
Signed-off-by: Dic
shost->host_lock);
lpfc_printf_vlog(vport, KERN_INFO, LOG_ELS,
"3311 Rcv Flogi PS x%x new PS x%x "
--
1.7.11.7
Signed-off-by: James Smart
Signed-off-by: Dick Kennedy
--
To unsubscribe from this list: send the line "unsubscribe li
return FAST_IO_FAIL;
--
1.7.11.7
Signed-off-by: James Smart
Signed-off-by: Dick Kennedy
--
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
spin_lock_irqsave(&phba->hbalock, iflag);
+ max_rpi = phba->sli4_hba.max_cfg_param.max_rpi;
+ rpi_limit = phba->sli4_hba.next_rpi;
+
rpi = find_next_zero_bit(phba->sli4_hba.rpi_bmask, rpi_limit, 0);
if (rpi >= rpi_limit)
rpi = LPFC_RPI
---
drivers/scsi/lpfc/lpfc.h | 3 +
drivers/scsi/lpfc/lpfc_attr.c| 16 +-
drivers/scsi/lpfc/lpfc_ct.c | 715 +--
drivers/scsi/lpfc/lpfc_els.c | 2 +-
drivers/scsi/lpfc/lpfc_hbadisc.c | 6 +-
drivers/scsi/lpfc/lpfc_hw.h | 206 +++
iver timeout in seconds */
uint32_t fcp_wqidx; /* index to FCP work queue */
--
1.7.11.7
Signed-off-by: James Smart
Signed-off-by: Dick Kennedy
--
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
= 0;
+ else
+ maxretry = 2;
+
if (cmdiocb->retry >= 100)
delay = 5000;
else if (cmdiocb->retry >= 32)
--
1.7.11.7
Signed-off-by: James Smart
Signed-off-by: Dick Kennedy
--
To unsubscribe from this
evice Reset rport failure: rdata x%p\n", rdata);
+"0798 Device Reset rport failure: rdata x%p\n",
+rdata);
return FAILED;
}
pnode = rdata->pnode;
--
1.7.11.7
Signed-off-by: James Smart
initializing those IOCB fields that are independent
* of the scsi_cmnd request_buffer
--
1.7.11.7
Signed-off-by: James Smart
Signed-off-by: Dick Kennedy
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.o
gt;sli3_options |= LPFC_SLI3_BG_ENABLED;
- else
+ if (phba->sli3_options & LPFC_SLI3_BG_ENABLED) {
+ if (!(bf_get(lpfc_mbx_rq_ftr_rsp_dif, &mqe->un.req_ftrs))) {
+ phba->cfg_enable_bg = 0;
+ phba->cfg_external_dif = 0;
+
c"
/* Used for SLI 2/3 */
--
1.7.11.7
Signed-off-by: James Smart
Signed-off-by: Dick Kennedy
--
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
ex. All rights reserved."
+#define LPFC_COPYRIGHT "Copyright(c) 2004-2015 Emulex. All rights reserved."
--
1.7.11.7
Signed-off-by: James Smart
Signed-off-by: Dick Kennedy
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a m
Markus,
Suggestions noted. If not merged, I'll pull them into the next patch set.
-- james
Acked-By: James Smart
On 2/5/2015 5:25 PM, SF Markus Elfring wrote:
From: Markus Elfring
Date: Thu, 5 Feb 2015 23:17:52 +0100
Another update suggestion was taken into account after a patc
On 2/6/2015 7:16 AM, Tomas Henzl wrote:
On 02/05/2015 08:23 PM, James Smart wrote:
---
drivers/scsi/lpfc/lpfc_hw4.h | 1 +
drivers/scsi/lpfc/lpfc_init.c | 179 +-
2 files changed, 125 insertions(+), 55 deletions(-)
diff --git a/drivers/scsi/lpfc
Tomas,
This one I'm going to leave as is. bf_set is a macro and I'd prefer we
kept the variable with a real data type and not be subject to any
compiler-based type conversions in the equations. I'd rather not risk
any disruption to the macro to add all the paren'd type declarations.
-- jam
agree - nice nit.
I'll add this to the list of things to merge in the next patch update.
-- james
On 2/6/2015 7:20 AM, Tomas Henzl wrote:
On 02/05/2015 08:24 PM, James Smart wrote:
---
drivers/scsi/lpfc/lpfc_ct.c | 23 ---
1 file changed, 20 insertions(+), 3 dele
Looks good.
Acked-By: James Smart
-- james
On 1/26/2015 10:18 AM, Thadeu Lima de Souza Cascardo wrote:
Without a shutdown handler, some cards behave very badly after a kexec.
During probe, pending DMA writes will corrupt kernel memory, for
example.
Using the remove handler guarantees we
Yes, I'll correct this. Trying to make Christoph happy by using git to
format all the patches.
-- james
On 3/7/2015 11:44 AM, James Bottomley wrote:
On Thu, 2015-02-05 at 14:23 -0500, James Smart wrote:
---
Could you put the signoffs (and any changelog) above here, please. You
se
Add FC transport support for 25Gbit speed
Signed-off-by: James Smart
---
drivers/scsi/scsi_transport_fc.c | 1 +
include/scsi/scsi_transport_fc.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/scsi/scsi_transport_fc.c b/drivers/scsi/scsi_transport_fc.c
index 5d6f348..24eaaf6
changes per comments from first
posting.
-- james s
James Smart (21):
Fix the iteration count to match the 30 sec comment in the routine
lpfc_pci_function_reset
Add Lancer Temperature Event support to the lpfc driver
Add new mbx cmd recognition
Fix to handle PLOGI when already logged in
Fix the iteration count to match the 30 sec comment in the routine
lpfc_pci_function_reset
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi
Add Lancer Temperature Event support to the lpfc driver
This will detect and send an async event if overtemp is detected
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_hw4.h | 1 +
drivers/scsi/lpfc/lpfc_init.c | 179
Linux lpfc driver doesn't re-establish the link after a cable pull on LPe12002
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_els.c | 3 +--
drivers/scsi/lpfc/lpfc_hbadisc.c | 6 ++
2 files changed, 3 insertions(+), 6 deletions(-)
diff --
Fix to handle PLOGI when already logged in
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_nportdisc.c | 27 ---
1 file changed, 24 insertions(+), 3 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_nportdisc.c
b/drivers/scsi/lpfc
Add new mbx cmd recognition
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_bsg.c | 1 +
drivers/scsi/lpfc/lpfc_bsg.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/scsi/lpfc/lpfc_bsg.c b/drivers/scsi/lpfc/lpfc_bsg.c
index a7bf359..6b4cf31
scsi_host
stays registered across the host_reset, but that will be a rather
lengthy effort. In the short term, we had an immediate need to restore
the SLI-3 devices to their working behavior, with the easiest path being
to remove their host_reset handler.
Signed-off-by: Dick Kennedy
Signed-off-by: James
Fix null ndlp dereference in target_reset_handler
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_scsi.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
index f623299
Fix provide host name and OS name in RSNN-NN FC-GS command
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_ct.c | 21 +++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_ct.c b/drivers/scsi/lpfc/lpfc_ct.c
Fix setting of EQ (interrupt) delay Multiplier
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_init.c | 8
drivers/scsi/lpfc/lpfc_sli.c | 9 +++--
drivers/scsi/lpfc/lpfc_sli4.h | 2 +-
3 files changed, 12 insertions(+), 7 deletions(-)
diff --git
Fix FDMI Fabric support in driver for Brocade
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc.h | 3 +
drivers/scsi/lpfc/lpfc_attr.c| 16 +-
drivers/scsi/lpfc/lpfc_ct.c | 715 +--
drivers/scsi/lpfc
Parse the new 20G, 25G and 40G link speeds in the lpfc driver
This patch is dependent upon the following patch to the FC transport
which adds the 25G speed:
http://www.spinics.net/lists/linux-scsi/msg83840.html
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc
Add support for reporting option_rom_version on newer adapters
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_attr.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
index
Initiator sends wrong BBCredit value for either FLOGI or FLOGI_ACC
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_els.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
index 9f3c74e..f73d58c
adapters have a different access pattern that
requires us to wait for a later mailbox completion. This changes the put
call location on the newer sli4 adapters.
Symptoms of the error are "0110 ELS" and the "0372 iotag" errors.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smar
or LUN DIF enablement, and if set,
turns on write-only DIF.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc.h | 41
drivers/scsi/lpfc/lpfc_attr.c| 65 ++-
drivers/scsi/lpfc/lpfc_crtn.h| 3 +-
drivers/scsi/lpfc/lpfc_hbadisc.c | 3 +
drivers
Fix crash in device reset handler.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_scsi.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
index 9ed5f44..fbdc39c 100644
--- a
Fix internal loopback failure.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_els.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
index ba5da26..1003b5b 100644
--- a
Fix OS crash when running loopback test in applications
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_bsg.c | 1 +
drivers/scsi/lpfc/lpfc_sli.c | 12
drivers/scsi/lpfc/lpfc_sli.h | 1 +
3 files changed, 10 insertions(+), 4 deletions(-)
diff
Update version to 10.5.0.0 for upstream patch set
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_version.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_version.h b/drivers/scsi/lpfc/lpfc_version.h
index 9285a6d
Fix for lun discovery issue with saturn adapter.
FCP_CMD payload was not always properly initialized on SLI-3 devices.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_scsi.c | 41 -
1 file changed, 20 insertions(+), 21
Update copyright to 2015
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc.h | 2 +-
drivers/scsi/lpfc/lpfc_attr.c | 2 +-
drivers/scsi/lpfc/lpfc_bsg.c | 2 +-
drivers/scsi/lpfc/lpfc_bsg.h | 2 +-
drivers/scsi/lpfc/lpfc_crtn.h | 2
Add Lancer Temperature Event support to the lpfc driver
This will detect and send an async event if overtemp is detected
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_hw4.h | 1 +
drivers/scsi/lpfc/lpfc_init.c | 179
Fix the iteration count to match the 30 sec comment in the routine
lpfc_pci_function_reset
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi
x27;s reordered
Additional comments added on some patches.
Prior Patch 9 and 10 have minor 1 line changes per review comments
The patches were cut against Christoph's scsi-queue.git,
branch "drivers-for-3.20".
-- james s
*** BLURB HERE ***
James Smart (20):
Fix the itera
Add new mbx cmd recognition
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_bsg.c | 1 +
drivers/scsi/lpfc/lpfc_bsg.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/scsi/lpfc/lpfc_bsg.c b/drivers/scsi/lpfc/lpfc_bsg.c
index a7bf359..6b4cf31
Fix to handle PLOGI when already logged in
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_nportdisc.c | 27 ---
1 file changed, 24 insertions(+), 3 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_nportdisc.c
b/drivers/scsi/lpfc
Add support for reporting option_rom_version on newer adapters
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_attr.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
index
Linux lpfc driver doesn't re-establish the link after a cable pull on LPe12002
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_els.c | 3 +--
drivers/scsi/lpfc/lpfc_hbadisc.c | 6 ++
2 files changed, 3 insertions(+), 6 deletions(-)
diff --
Fix provide host name and OS name in RSNN-NN FC-GS command
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_ct.c | 21 +++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_ct.c b/drivers/scsi/lpfc
adapters have a different access pattern that
requires us to wait for a later mailbox completion. This changes the put
call location on the newer sli4 adapters.
Symptoms of the error are "0110 ELS" and the "0372 iotag" errors.
Signed-off-by: Dick Kennedy
Signed-off-by: James
scsi_host
stays registered across the host_reset, but that will be a rather
lengthy effort. In the short term, we had an immediate need to restore
the SLI-3 devices to their working behavior, with the easiest path being
to remove their host_reset handler.
Signed-off-by: Dick Kennedy
Signed-off-by: James
Initiator sends wrong BBCredit value for either FLOGI or FLOGI_ACC
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_els.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
index 9f3c74e..f73d58c
Update version to 10.5.0.0 for upstream patch set
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_version.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_version.h b/drivers/scsi/lpfc/lpfc_version.h
index 9285a6d
Parse the new 20G, 25G and 40G link speeds in the lpfc driver
This patch is dependent upon the following patch to the FC transport
which adds the 25G speed:
http://www.spinics.net/lists/linux-scsi/msg83840.html
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc
Fix setting of EQ (interrupt) delay Multiplier
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_init.c | 8
drivers/scsi/lpfc/lpfc_sli.c | 9 +++--
drivers/scsi/lpfc/lpfc_sli4.h | 2 +-
3 files changed, 12 insertions(+), 7 deletions(-)
diff
Fix null ndlp dereference in target_reset_handler
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_scsi.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
index f623299
Fix FDMI Fabric support in driver for Brocade
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc.h | 3 +
drivers/scsi/lpfc/lpfc_attr.c| 16 +-
drivers/scsi/lpfc/lpfc_ct.c | 715 +--
drivers/scsi/lpfc
Fix for lun discovery issue with saturn adapter.
FCP_CMD payload was not always properly initialized on SLI-3 devices.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_scsi.c | 41 -
1 file changed, 20 insertions(+), 21
Update copyright to 2015
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc.h | 2 +-
drivers/scsi/lpfc/lpfc_attr.c | 2 +-
drivers/scsi/lpfc/lpfc_bsg.c | 2 +-
drivers/scsi/lpfc/lpfc_bsg.h | 2 +-
drivers/scsi/lpfc/lpfc_crtn.h
Fix internal loopback failure.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_els.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
index ba5da26..1003b5b 100644
--- a
Fix OS crash when running loopback test in applications
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_bsg.c | 1 +
drivers/scsi/lpfc/lpfc_sli.c | 12
drivers/scsi/lpfc/lpfc_sli.h | 1 +
3 files changed, 10 insertions(+), 4 deletions(-)
diff
Fix crash in device reset handler.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_scsi.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
index 5612ba6..ea818f0 100644
On 4/5/2015 8:07 AM, Sebastian Herbszt wrote:
James Smart wrote:
+ /* Note :- OS name is "Linux" as per requirement BZ168199. */
+ if (size < n)
+ return n;
+ n += snprintf(symbol + n, size - n, " OS:%s", init_utsname()->sysname);
+
fyi - in the v3 of the lpfc 10.5.0.0 patches I just posted, I pulled
the patch. We will see what to do with it. We may come back with a set
of generic midlayer patches.
-- james s
On 4/5/2015 12:06 PM, Christoph Hellwig wrote:
On Fri, Apr 03, 2015 at 05:13:00PM -0400, James Smart wrote
Fixes those things that parse the result of what data is registered with
the fabric.
-- james
On 4/14/2015 6:02 PM, Sebastian Herbszt wrote:
James Smart wrote:
Fix provide host name and OS name in RSNN-NN FC-GS command
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers
This would silence it. However, I'm about to push a new patch set which
adds full RDP support.
-- james s
On 4/14/2015 7:07 PM, Sebastian Herbszt wrote:
We recently started to get
[8043768.238110] lpfc :10:00.1: 1:(0):0115 Unknown ELS command x18 received
from NPORT xfffc2b
[8130462.560
Thanks Sebastian. We will investigate it.
-- james
On 4/18/2015 6:57 PM, Sebastian Herbszt wrote:
I wrote:
James Smart wrote:
Fix for lun discovery issue with saturn adapter.
FCP_CMD payload was not always properly initialized on SLI-3 devices.
Signed-off-by: Dick Kennedy
Signed-off-by
This patch set updates the lpfc driver to revision 10.6.0.1
The patches were cut against scsi-misc
-- james s
James Smart (14):
The lpfc driver does not issue RFF_ID and RFT_ID in the correct
sequence
Correct loss of target discovery after cable swap.
Add support for ELS LCB
Correct reference counting of rport
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_disc.h| 4 +-
drivers/scsi/lpfc/lpfc_els.c | 12 +++-
drivers/scsi/lpfc/lpfc_hbadisc.c | 144 +++
3 files changed, 79 insertions
Update driver version for upstream patch set 10.6.0.1.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_version.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_version.h b/drivers/scsi/lpfc/lpfc_version.h
index
The lpfc driver does not issue RFF_ID and RFT_ID in the correct sequence
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_hbadisc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc
Fix incorrect log message reported for empty FCF record.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_hbadisc.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c
Add support for RDP ELS command.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc.h | 1 +
drivers/scsi/lpfc/lpfc_crtn.h | 2 +
drivers/scsi/lpfc/lpfc_els.c | 415 ++
drivers/scsi/lpfc/lpfc_hw.h | 169
Fix crash in vport_delete.
We inadvertantly took the path to recreate the vport while in a
driver teardown path
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_init.c | 8 +++-
drivers/scsi/lpfc/lpfc_nportdisc.c | 8 +++-
drivers/scsi/lpfc
Correct reporting of vport state on fdisc command failure.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_els.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
index 455a5dd
Correct loss of RSCNs during array takeaway/giveback testing.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_els.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
Fix ABORTs WQ selection in terminate_rport_io
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_sli.c | 32 +---
1 file changed, 21 insertions(+), 11 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc
Correct loss of target discovery after cable swap.
Fix incorrect reference counting
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_hbadisc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers
Fix discovery issue when changing from Pt2Pt to Fabric.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_hbadisc.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc
This patch set updates the lpfc driver to revision 10.6.0.1
The patches were cut against scsi-misc
-- james s
James Smart (14):
The lpfc driver does not issue RFF_ID and RFT_ID in the correct
sequence
Correct loss of target discovery after cable swap.
Add support for ELS LCB
Add support for ELS LCB.
Also has a little whitespace fixing.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc.h | 1 +
drivers/scsi/lpfc/lpfc_els.c | 239 +-
drivers/scsi/lpfc/lpfc_hw.h | 32 ++
drivers
Change buffer pool empty message to miscellaneous category
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_scsi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
index cb73cf9
Fix to remove IRQF_SHARED flag for MSI/MSI-X vectors.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_init.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
index
This is a rather old kernel, thus old driver. Lots of changes since the
driver was put out in 3.11.
I recommend pulling down the source kits for RHEL7 (3.10 kernel):
http://www.emulex.com/downloads/emulex/drivers/linux/rhel-7-centos-7/drivers/
Under FC/FCoE driver and install script - Source Dr
, 2015 7:15 PM
To: James Smart
Cc: linux-scsi@vger.kernel.org; Sebastian Herbszt
Subject: Re: [PATCH v3 10/20] lpfc: Fix provide host name and OS name in
RSNN-NN FC-GS command
James Smart wrote:
> Fixes those things that parse the result of what data is registered with
> the fabric.
>
&
On 11/19/2012 7:41 AM, Hannes Reinecke wrote:
Hi all,
just when we thought we'd finally nailed the error handling on FC ...
A customer of ours recently hit this really nasty issue:
He had a 'drain' on the SAN, in the sense that the link was still
intact, but no commands were coming back from t
Always possible - but Our f/w works at the FCP level and below,
which means it doesn't know/do SCSI commands - e.g what the cdb within
the FCP CMD frame is; know anything about SCSI device classes and state;
etc. And it shouldn't be required to do so. Anytime this has been there
in the pa
Acked-By: James Smart
Thanks
-- james s
On 12/2/2012 8:33 AM, Wei Yongjun wrote:
From: Wei Yongjun
The dereference to 'put_index' should be moved below the NULL test.
Signed-off-by: Wei Yongjun
---
drivers/scsi/lpfc/lpfc_sli.c | 3 ++-
1 file changed, 2 insertions(+),
ned-off-by: James Smart
--
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
Provide support for change_queue_type method in scsi_host_template
Signed-off-by: James Smart
---
lpfc_scsi.c | 24 +++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
--- a/drivers/scsi/lpfc
Fixed not properly handle ELS_REC received on the unsolicited receive queue
Signed-off-by: James Smart
---
lpfc_els.c | 18 --
lpfc_hw.h |2 ++
2 files changed, 18 insertions(+), 2 deletions(-)
diff -upNr a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
Fixed exhausted retry for plogi to nameserver.
Signed-off-by: James Smart
---
lpfc_els.c |7 +++
1 file changed, 7 insertions(+)
diff -upNr a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
--- a/drivers/scsi/lpfc/lpfc_els.c 2013-01-02 13:13:02.680087643 -0500
Removed use of NOP mailboxes for interrupt verification in pci_probe_one_s4
Signed-off-by: James Smart
---
lpfc_init.c | 179
1 file changed, 26 insertions(+), 153 deletions(-)
diff -upNr a/drivers/scsi/lpfc/lpfc_init.c b
301 - 400 of 1847 matches
Mail list logo