From patchwork Thu May 21 17:55:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Smart X-Patchwork-Id: 6457941 Return-Path: X-Original-To: patchwork-linux-scsi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B49A99F318 for ; Thu, 21 May 2015 17:55:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E562320522 for ; Thu, 21 May 2015 17:55:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 12E562051D for ; Thu, 21 May 2015 17:55:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932247AbbEURzX (ORCPT ); Thu, 21 May 2015 13:55:23 -0400 Received: from mail-qk0-f172.google.com ([209.85.220.172]:36076 "EHLO mail-qk0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932217AbbEURzW (ORCPT ); Thu, 21 May 2015 13:55:22 -0400 Received: by qkx62 with SMTP id 62so14709785qkx.3 for ; Thu, 21 May 2015 10:55:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:user-agent :mime-version:content-type:content-transfer-encoding; bh=LkSmj/ahqguWHfRzzU+eNOWO/SmauCgpXUm90ji9H5U=; b=QjEf8fTq93MdJwVyIfGlaPULgTRkPIIFPpql999Hx9iLmdBftpgbNyvNbQPc+L+b6U 8PaQRKDmQy9EphVEjhExduV0ay0BHs0OOrgbvBKjD++C+ZYnDFCN4AtGhTP3/WlWHuuC 5it/mkwYR183Ods3oThPMaAiQLBiy08Phadd1cTBdcigJREqj5YVQdJWdMTIpEsWvNR3 c3Cn05WFXYNytxjX1ik41Hl299gjsIo6dBINZB3FgZVxnQ2/UesTTsZD49YhPapB93xc kRWZAamuTglKqHIoCNPL52rZFQXQIibXfDrTCVhSjbQYylhYe1mtnyWiGLb1Zu4uVSJb o9Ug== X-Gm-Message-State: ALoCoQnENcoaDNgaaj9tChx7ZObyFu46CeYZb27udQBjtlvnYpZUjhQP+WGcu3r4gwgg7uRR4iSJ X-Received: by 10.141.23.80 with SMTP id z77mr5764464qhd.3.1432230921696; Thu, 21 May 2015 10:55:21 -0700 (PDT) Received: from myfc17 (c-75-67-235-135.hsd1.nh.comcast.net. [75.67.235.135]) by mx.google.com with ESMTPSA id v1sm13627834qge.47.2015.05.21.10.55.20 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 21 May 2015 10:55:21 -0700 (PDT) Date: Thu, 21 May 2015 13:55:16 -0400 From: james.smart@avagotech.com (James Smart) To: linux-scsi@vger.kernel.org Subject: [PATCH v2 01/15] lpfc: The lpfc driver does not issue RFF_ID and RFT_ID in the correct sequence Message-ID: <555e1c04.iUZP5CxxteUR0DUk%james.smart@avagotech.com> User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Sebastian Herbszt --- 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/lpfc_hbadisc.c index 2500f15..f2db89f 100644 --- a/drivers/scsi/lpfc/lpfc_hbadisc.c +++ b/drivers/scsi/lpfc/lpfc_hbadisc.c @@ -3868,11 +3868,11 @@ out: if (vport->port_state < LPFC_VPORT_READY) { /* Link up discovery requires Fabric registration. */ - lpfc_ns_cmd(vport, SLI_CTNS_RFF_ID, 0, 0); /* Do this first! */ lpfc_ns_cmd(vport, SLI_CTNS_RNN_ID, 0, 0); lpfc_ns_cmd(vport, SLI_CTNS_RSNN_NN, 0, 0); lpfc_ns_cmd(vport, SLI_CTNS_RSPN_ID, 0, 0); lpfc_ns_cmd(vport, SLI_CTNS_RFT_ID, 0, 0); + lpfc_ns_cmd(vport, SLI_CTNS_RFF_ID, 0, 0); /* Issue SCR just before NameServer GID_FT Query */ lpfc_issue_els_scr(vport, SCR_DID, 0);