Message ID | 20181207054942.3650-1-hmadhani@marvell.com (mailing list archive) |
---|---|
State | Accepted |
Commit | c64a87f9518409d0a439895f09f6149ffdd427b8 |
Headers | show
Return-Path: <linux-scsi-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4790C109C for <patchwork-linux-scsi@patchwork.kernel.org>; Fri, 7 Dec 2018 05:50:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 34C982E8BF for <patchwork-linux-scsi@patchwork.kernel.org>; Fri, 7 Dec 2018 05:50:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 28EE62E8CE; Fri, 7 Dec 2018 05:50:50 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, 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 89E392E8BF for <patchwork-linux-scsi@patchwork.kernel.org>; Fri, 7 Dec 2018 05:50:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725967AbeLGFut (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Fri, 7 Dec 2018 00:50:49 -0500 Received: from mail-eopbgr680049.outbound.protection.outlook.com ([40.107.68.49]:14608 "EHLO NAM04-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726003AbeLGFus (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Fri, 7 Dec 2018 00:50:48 -0500 Received: from DM5PR07CA0118.namprd07.prod.outlook.com (2603:10b6:4:ae::47) by DM6PR07MB4762.namprd07.prod.outlook.com (2603:10b6:5:a1::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1404.17; Fri, 7 Dec 2018 05:50:46 +0000 Received: from BY2NAM05FT057.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e52::207) by DM5PR07CA0118.outlook.office365.com (2603:10b6:4:ae::47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1404.19 via Frontend Transport; Fri, 7 Dec 2018 05:50:46 +0000 Authentication-Results: spf=fail (sender IP is 50.232.66.26) smtp.mailfrom=marvell.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=fail action=none header.from=marvell.com; Received-SPF: Fail (protection.outlook.com: domain of marvell.com does not designate 50.232.66.26 as permitted sender) receiver=protection.outlook.com; client-ip=50.232.66.26; helo=CAEXCH02.caveonetworks.com; Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BY2NAM05FT057.mail.protection.outlook.com (10.152.100.194) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.20.1425.9 via Frontend Transport; Fri, 7 Dec 2018 05:50:45 +0000 Received: from dut1171.mv.qlogic.com (10.112.88.18) by CAEXCH02.caveonetworks.com (10.17.4.29) with Microsoft SMTP Server (TLS) id 14.2.347.0; Thu, 6 Dec 2018 21:49:42 -0800 Received: from dut1171.mv.qlogic.com (localhost [127.0.0.1]) by dut1171.mv.qlogic.com (8.14.7/8.14.7) with ESMTP id wB75ngEo003685; Thu, 6 Dec 2018 21:49:42 -0800 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id wB75ngE1003684; Thu, 6 Dec 2018 21:49:42 -0800 From: Himanshu Madhani <hmadhani@marvell.com> To: <James.Bottomley@HansenPartnership.com>, <martin.petersen@oracle.com> CC: <hmadhani@marvell.com>, <linux-scsi@vger.kernel.org> Subject: [PATCH] Revert "scsi: qla2xxx: Fix NVMe Target discovery" Date: Thu, 6 Dec 2018 21:49:42 -0800 Message-ID: <20181207054942.3650-1-hmadhani@marvell.com> X-Mailer: git-send-email 2.12.0 MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Matching-Connectors: 131886354456138503;(ed7a8be2-8232-4c02-72fe-08d477275f2b);(ed7a8be2-8232-4c02-72fe-08d477275f2b) X-Forefront-Antispam-Report: CIP:50.232.66.26;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(376002)(136003)(396003)(346002)(39860400002)(2980300002)(1109001)(1110001)(339900001)(199004)(189003)(4326008)(36756003)(1076002)(51416003)(42186006)(110136005)(16586007)(54906003)(316002)(105606002)(106466001)(356004)(2906002)(48376002)(50466002)(336012)(575784001)(486006)(8936002)(50226002)(8676002)(26005)(81156014)(87636003)(305945005)(126002)(86362001)(81166006)(508600001)(69596002)(5660300001)(476003)(47776003)(80596001)(85426001)(2616005);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR07MB4762;H:CAEXCH02.caveonetworks.com;FPR:;SPF:Fail;LANG:en;PTR:50-232-66-26-static.hfc.comcastbusiness.net;A:1;MX:1; X-Microsoft-Exchange-Diagnostics: 1;BY2NAM05FT057;1:ezBqSEF6gVpVssNsKg0SYxJT0k9F2KeV+UIeAf6vZUKSIxXGTFfDYqDcATmF21abvMUeAGgrQ33oekOwbqYEz0OxVooq2/nfDK5H8H/PZ7r3DTIWwZJlyle1RGo8RBoo X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 160d8b2b-c5c1-4da5-673a-08d65c07ee7f X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(5600074)(711020)(2017052603328);SRVR:DM6PR07MB4762; X-Microsoft-Exchange-Diagnostics: 1;DM6PR07MB4762;3:NHiecsFgIvyS3BoATt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(6095135)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231455)(999002)(944501520)(52105112)(6055026)(148016)(6096035)(20161123559100)(20161123556025)(201703131430075)(201703131448075)(201703131433075)(20161123565025)(20161123561025)(20161123563025)(201708071742011)(7699051)(76991095);SRVR:DM6PR07MB4762;BCL:0;PCL:0;RULEID:(400006);SRVR:DM6PR07MB4762; X-Microsoft-Exchange-Diagnostics: 1;DM6PR07MB4762;4:HFUMHABOH9LnOoul8x6+6kI32a3Fm/bFrC/TW9Vb8ZegxsWZWazl+mnbAbuSAuei6cZzCgVRkMcVpnDGpiOb7SgIYGuiBO9pS6hMD/ZsAq3GgdqbyKkZGkOjETjgDOASyK/BIFNPg2yZAUd36kV9KPZC6FK7F4Uy25JYJcpb5sMyubZ5qswze9nDzYPo/Flgk9GA7HSwnIH7CbpCyhti6WN/syOIf6AlC0Cckl04TyEsV1lQO+P5X6RemC3XGe5xqq+QEF4RjYyXads7QWGuSA== X-Forefront-PRVS: 0879599414 X-Microsoft-Exchange-Diagnostics: 1;DM6PR07MB4762;23:iDSDkMakQ7sbYw6qgpBG+zeFqSUr6Mo2LqZIfPrmbK40k5HOm7ZaNxrv+tl4tQd8MSOfz7KQp6GKe9zMv380idbUXUs5vmRc6E6T+bkPPPEoUG7Cqh4puyBxgKloqegWGFbzoxgBrISVu+8+3hORfqH4XfMSbJnWybvrit68KnsSvt6pRUib443gerU5n04X2GGtVe47kucbNwwx5e/3hIXGkvchX47qULuoezXtdrK49MzgCmGgpzlOsgK71BKXz+v5CbSHZXlsQTtdIFsqsUfKQWX1HBiEBH3LYipg3/PkcmuOugM+AguRD0c9Li8MfOpRAsoyUFDwcaa2RgyYJKhtlWgSm7ZFcFk3s5sKPrjQLjSBhJZoS3B8HTRx1n+mK3WGOrOC58af+v+r3CHKU5M7Wl73R/faCtHpcAZ97upYOBZSHCT83OrfWKafr6hq5IdzSXgP9Nkg7g54csbpTUvrJiKXsjXggMvTtz7fz1c7TROk9Fk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vB/Z4dH3HoU5042zok0BBwr+VmORcDf4om3aTKBO8A6tn9enByWGP4oxGc5x+r5AJLjSJPPg5jGrluwlqWVfIt8icyTIHBls1q8M/PSw5EYYbqwmCLWyV7CfoJwKCBhPXZxyNNTeTLy79cEG1rrFSNDgpkW29I3faZ2mu3pAabHlW84HbQ1zXs3hzcHC4lO+G7Ba/0RgPHgCTWOMYYJujQAoYgF6Mu0ipc1xUZseaRx9z6MuijqWv109+bFf4O2EChSHbPLrDxf4S6fFrq5p68ddxMo4knc0rSC0ThbWFjJuH7o9Uv21Ptm/ix5kN6htkRXfQpKf+A9C5lft0ga8AcOJssjEfWkQduEUQlSDTTh8nrBqmmaulVLQg1sU6K7jikH+BVV3tsfhjywoF8aE/Oqw==;5:l3PGiKwdcM+F52GUxEEqGy+Zt6SR3RwnRAZFCZbyxK4pLeebTC16NuKWaBadfqk+w3pLXrgd/PnlDjWV1x1ALoTcZ0/+YPIlWYrkVFroZSCVYd0AzDb6qbleWeq88ij65gi+osIKTEkDZfTLZjeSYjQvOF5sNzRloyp2BRL1Pyc=;7:y9RFWncaIKHyqNvy9rZnuSLg9EyJ3P96gWaW/soj6SNPcRKZuAJ4vpf5CP+eNoSQiSplvX+LNtHR7HUR6RYzw49ZyOkB16MyYClF73sMcxjyD/VaMsliPPKCpAlwY/iFoUj4soWEvyoupJKVEg2h0Q== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2018 05:50:45.3325 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 160d8b2b-c5c1-4da5-673a-08d65c07ee7f X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[50.232.66.26];Helo=[CAEXCH02.caveonetworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR07MB4762 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Revert "scsi: qla2xxx: Fix NVMe Target discovery"
|
expand
|
Himanshu, > This reverts commit db186382af21e926e90df19499475f2552192b77. > > This commit introduced regression with FCP discovery so revert it back > to fix discovery for FCP luns Applied to 4.20/scsi-fixes.
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index b658b9a5eb1e..d0ecc729a90a 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c @@ -4886,10 +4886,10 @@ void qla24xx_create_new_sess(struct scsi_qla_host *vha, struct qla_work_evt *e) fcport->d_id = e->u.new_sess.id; fcport->flags |= FCF_FABRIC_DEVICE; fcport->fw_login_state = DSC_LS_PLOGI_PEND; - if (e->u.new_sess.fc4_type & FS_FC4TYPE_FCP) + if (e->u.new_sess.fc4_type == FS_FC4TYPE_FCP) fcport->fc4_type = FC4_TYPE_FCP_SCSI; - if (e->u.new_sess.fc4_type & FS_FC4TYPE_NVME) { + if (e->u.new_sess.fc4_type == FS_FC4TYPE_NVME) { fcport->fc4_type = FC4_TYPE_OTHER; fcport->fc4f_nvme = FC4_TYPE_NVME; }
This reverts commit db186382af21e926e90df19499475f2552192b77. This commit introduced regression with FCP discovery so revert it back to fix discovery for FCP luns Cc: <stable@vger.kernel.org> Signed-off-by: Himanshu Madhani <hmadhani@marvell.com> --- Hi Martin, This patch has introduced regression for LUN discovery with FC. Please apply this revert to 4.20/scsi-fixes branch at your earliest convenience. Thanks, Himanshu --- drivers/scsi/qla2xxx/qla_os.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)