Skip to contentSkip to conversation

lpfc 8.3.35: Fix error with fabric service parameters causing performance issues

PATCH New James Smart 1 participant 1 message Sep 29, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 14/16 lpfc 8.3.35: Fix error with fabric service parameters causing performance issues

Fix error with fabric service parameters causing performance issues

---

 lpfc_els.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/scsi/lpfc/lpfc_els.c +2 -0
diff -upNr a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
@@ -809,6 +809,8 @@ lpfc_cmpl_els_flogi_nport(struct lpfc_vp
 	phba->fc_ratov = FF_DEF_RATOV;
 	rc = memcmp(&vport->fc_portname, &sp->portName,
 		    sizeof(vport->fc_portname));
+	memcpy(&phba->fc_fabparam, sp, sizeof(struct serv_parm));
+
 	if (rc >= 0) {
 		/* This side will initiate the PLOGI */
 		spin_lock_irq(shost->host_lock);