From: himanshu.madhani@cavium.com (Himanshu Madhani)
Subject: [PATCH 2/5] qla2xxx: Set IIDMA and fcport state before qla_nvme_register_remote()
Date: Fri, 19 Jan 2018 12:29:25 -0800 [thread overview]
Message-ID: <20180119202928.13239-3-himanshu.madhani@cavium.com> (raw)
In-Reply-To: <20180119202928.13239-1-himanshu.madhani@cavium.com>
From: Darren Trapp <darren.trapp@cavium.com>
Signed-off-by: Darren Trapp <darren.trapp at cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani at cavium.com>
---
drivers/scsi/qla2xxx/qla_init.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index aececf664654..e7e51ac0bb46 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -5106,13 +5106,14 @@ qla2x00_update_fcport(scsi_qla_host_t *vha, fc_port_t *fcport)
fcport->deleted = 0;
fcport->logout_on_delete = 1;
+ qla2x00_set_fcport_state(fcport, FCS_ONLINE);
+ qla2x00_iidma_fcport(vha, fcport);
+
if (fcport->fc4f_nvme) {
qla_nvme_register_remote(vha, fcport);
return;
}
- qla2x00_set_fcport_state(fcport, FCS_ONLINE);
- qla2x00_iidma_fcport(vha, fcport);
qla24xx_update_fcport_fcp_prio(vha, fcport);
reg_port:
--
2.12.0
next prev parent reply other threads:[~2018-01-19 20:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-19 20:29 [PATCH 0/5] qla2xxx: Fixes for FC-NVMe erorr path Himanshu Madhani
2018-01-19 20:29 ` [PATCH 1/5] qla2xxx: Remove unneeded message and minor cleanup for FC-NVMe Himanshu Madhani
2018-01-19 20:29 ` Himanshu Madhani [this message]
2018-01-19 20:29 ` [PATCH 3/5] qla2xxx: Add changes for devloss timeout in driver Himanshu Madhani
2018-01-19 20:29 ` [PATCH 4/5] qla2xxx: Restore ZIO threshold setting Himanshu Madhani
2018-01-19 20:29 ` [PATCH 5/5] qla2xxx: Update driver version to 10.00.00.06-k Himanshu Madhani
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180119202928.13239-3-himanshu.madhani@cavium.com \
--to=himanshu.madhani@cavium.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox