From patchwork Tue Apr 4 17:16:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dick Kennedy X-Patchwork-Id: 9662205 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2FBF6602BA for ; Tue, 4 Apr 2017 17:25:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1EB5128423 for ; Tue, 4 Apr 2017 17:25:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 13D0E28491; Tue, 4 Apr 2017 17:25:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C23DA28423 for ; Tue, 4 Apr 2017 17:25:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755115AbdDDRZm (ORCPT ); Tue, 4 Apr 2017 13:25:42 -0400 Received: from lpdvrndsmtp01.broadcom.com ([192.19.229.170]:38167 "EHLO rnd-relay.smtp.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755063AbdDDRZk (ORCPT ); Tue, 4 Apr 2017 13:25:40 -0400 Received: from pallmd1.broadcom.com (pallmd1.ash.broadcom.net [10.85.232.165]) by rnd-relay.smtp.broadcom.com (Postfix) with ESMTP id DC63F30C0A0 for ; Tue, 4 Apr 2017 10:17:26 -0700 (PDT) Received: from lvnvda1400.lvn.broadcom.net (lvnvda1400.lvn.broadcom.net [10.75.197.131]) by pallmd1.broadcom.com (Postfix) with ESMTP id 34EEC360052; Tue, 4 Apr 2017 13:17:26 -0400 (EDT) Received: from lvnvda1400.lvn.broadcom.net (localhost.localdomain [127.0.0.1]) by lvnvda1400.lvn.broadcom.net (8.14.4/8.14.4) with ESMTP id v34HHPlr011319; Tue, 4 Apr 2017 10:17:25 -0700 Received: (from rkennedy@localhost) by lvnvda1400.lvn.broadcom.net (8.14.4/8.14.4/Submit) id v34HHOeO011318; Tue, 4 Apr 2017 10:17:24 -0700 From: Dick Kennedy To: linux-scsi@vger.kernel.org Cc: Dick Kennedy , Dick Kennedy , James Smart Subject: [lpfc 04/19] Fix PRLI ACC rsp for NVME Date: Tue, 4 Apr 2017 10:16:57 -0700 Message-Id: <1491326232-11255-5-git-send-email-rkennedy@broadcom.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1491326232-11255-1-git-send-email-rkennedy@broadcom.com> References: <1491326232-11255-1-git-send-email-rkennedy@broadcom.com> Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Dick Kennedy PRLI ACC from target is FCP oriented Signed-off-by: Dick Kennedy Signed-off-by: James Smart --- drivers/scsi/lpfc/lpfc_els.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c index d9c61d0..d6e0f58 100644 --- a/drivers/scsi/lpfc/lpfc_els.c +++ b/drivers/scsi/lpfc/lpfc_els.c @@ -4403,7 +4403,7 @@ lpfc_els_rsp_prli_acc(struct lpfc_vport *vport, struct lpfc_iocbq *oldiocb, pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); memset(pcmd, 0, cmdsize); - *((uint32_t *) (pcmd)) = (ELS_CMD_ACC | (ELS_CMD_PRLI & ~ELS_RSP_MASK)); + *((uint32_t *)(pcmd)) = elsrspcmd; pcmd += sizeof(uint32_t); /* For PRLI, remainder of payload is PRLI parameter page */