From patchwork Wed Jun 21 20:48:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Madhani, Himanshu" X-Patchwork-Id: 9802887 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 A60CA6086C for ; Wed, 21 Jun 2017 20:49:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 95803280DE for ; Wed, 21 Jun 2017 20:49:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8A2F92853F; Wed, 21 Jun 2017 20:49:11 +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,DKIM_SIGNED, DKIM_VALID,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 D865128512 for ; Wed, 21 Jun 2017 20:49:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751888AbdFUUtK (ORCPT ); Wed, 21 Jun 2017 16:49:10 -0400 Received: from mail-by2nam03on0083.outbound.protection.outlook.com ([104.47.42.83]:51648 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751689AbdFUUtG (ORCPT ); Wed, 21 Jun 2017 16:49:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=xwtIDme8K/YpLdXnsQDVL8C4u+SziM4je/VEYoTewas=; b=LORlYG0QzpVXHvnwquXC/7Fx4kFpKMTPT6fsLSuIBSilCmDg2AslemhOMYcMFyGjE/yNOe6g9HY6fw95t7N+KWCFEuuDpE0v+WNrvVfjLhcj8renT4jqiNItFtZ55fDJOB4oa9osCrfD7Q4MMqcmGH0y/qxFHrYFYH0Viz9l0mw= Received: from CY1PR07CA0033.namprd07.prod.outlook.com (10.166.202.43) by BLUPR07MB419.namprd07.prod.outlook.com (10.141.28.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14; Wed, 21 Jun 2017 20:49:05 +0000 Received: from BN1BFFO11FD045.protection.gbl (2a01:111:f400:7c10::1:113) by CY1PR07CA0033.outlook.office365.com (2a01:111:e400:c60a::43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15 via Frontend Transport; Wed, 21 Jun 2017 20:49:03 +0000 Authentication-Results: spf=none (sender IP is 50.232.66.26) smtp.mailfrom=cavium.com; lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=none action=none header.from=cavium.com; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BN1BFFO11FD045.mail.protection.outlook.com (10.58.145.0) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.1178.14 via Frontend Transport; Wed, 21 Jun 2017 20:49:03 +0000 Received: from dut1171.mv.qlogic.com (172.29.51.171) by CAEXCH02.caveonetworks.com (10.17.4.29) with Microsoft SMTP Server id 14.2.347.0; Wed, 21 Jun 2017 13:48:48 -0700 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 v5LKmlPp021718; Wed, 21 Jun 2017 13:48:47 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id v5LKmlZw021717; Wed, 21 Jun 2017 13:48:47 -0700 From: "Madhani, Himanshu" To: CC: , , , , Subject: [PATCH v2 5/6] qla2xxx: Use FC-NMVe FC4 type for FDMI registration Date: Wed, 21 Jun 2017 13:48:45 -0700 Message-ID: <20170621204846.21663-6-himanshu.madhani@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170621204846.21663-1-himanshu.madhani@cavium.com> References: <20170621204846.21663-1-himanshu.madhani@cavium.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:50.232.66.26; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(39400400002)(39850400002)(39410400002)(39450400003)(2980300002)(428002)(189002)(199003)(9170700003)(106466001)(105586002)(2351001)(36756003)(33646002)(42186005)(101416001)(6916009)(2950100002)(72206003)(305945005)(5660300001)(54906002)(5003940100001)(38730400002)(110136004)(48376002)(50466002)(1076002)(189998001)(4326008)(87636003)(478600001)(8936002)(8676002)(356003)(81166006)(50226002)(2906002)(86362001)(47776003)(76176999)(50986999); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR07MB419; H:CAEXCH02.caveonetworks.com; FPR:; SPF:None; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD045; 1:MgOh76cbvN256J+d2+yp/dw5E/CVHPk2IwwSwjcplrgWLxprFTQYD2NHL+gXL8awtdwgwEcY99XNtSgPsN3k3ZTSDFQ887pvZEShflZwKkD+LSR9gEOH6sorCOd2OVFJmxXMi/qEgZSw1qSL75g/DuPFRB0aBUqev/JN1xM36TlztnPt3hCbGAUNA/OAUNzVnqB7c1+IhjERQCm1BM2VQBtlb945MXBKdwCvpQK1+gZpIQmAGWcH86ke2oylAec6ofx3FuHETbukQPnN6Z/SiPCVbmtmBuMTDeoCTYLWsFzoJz6I8dpB0LtCedlt44dMrcHKSlGxgqd5pOawUtuliNH4UlXIXPRruKCvLkD1ZKHHpEYr1VfLPW9PoWaKyuKSbpuZmCmmCDyRohm5yBhktlDEDLTDU1gMVVgZ838C2phI5u/oophvctRjmxNP5qiKgqsij5ajDuiTHxNBeWB5IS8ITUlTZLAimq/gVrc6CG46pEXauwT7GqS+5Xbg2V1gBxErCpR/SCSN02cbcRGHgA== X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7396b401-2c73-44fb-9ae0-08d4b8e6f3c3 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:BLUPR07MB419; X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB419; 3:Drb6p/QR1V55GrmQuiSWUpidaFE/muHODvAewiujJ7fybnf+C87v4Xy9nzzbCmRtCYfioVJNk3nmUtuLUsEdgfLNWmuKJnzFQ5iojLpaosD/qvwwhqZErD0IKHKss228DNznolj1pLe+WSBJCNnaKBQH2UnaPbY/HCtHGRJS5HyO9tbXymHANVBDWk2n6xvIcob2Vs0uBT90Ub1uwIQMLGL7wFBZ0+yqYeFqezydFMhQDpf3J21uKVBM6tbwd+Wu1wQweebi4cDEfJMf6SS55ZpIz1HBZIvm8KcSwF+BGEuroZgdMG9jGjwyb8z7hSfiidOPjvF6XY37Azs0vMC++Px1IubI6N9Y0HuuA+VB4lo+AhHoPnBTv4s1oWslE/aU6mikZ5RInjz5D0nYyJbj/23BEquop2kutoUnW/XAhbYh+vIdkPWqcgEkH0B1vZVD/fbNNrhQwDWUpJVKhfDSRxsxf1+8pFbAFTaz5ckqlEqTgxbjs3yo1pDHz8vwjcp9 X-MS-TrafficTypeDiagnostic: BLUPR07MB419: X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB419; 25://w+DM8CMQ403biqoWYalvHRFig3WeOUVAJ3aGI4F7Smu1V0pFt14zp0tfpxEi2sPMkpoCW3Crlnw8mzF93LMqrU6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mVKXxuoLp3Kek7iCR25hd09LWfIw6/NnEws4Ugx23+fxHOh/SS5WGbgpUHQeXAUhblazErLCSZqBeeKH3/XUpTQwWtW4rppS4N8j4olv91Qv8iV30e5kdHWzyd/Z+PBQjqk3CxC/cnkhDuU0JXcML+gEcB0TVBkE X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(13018025)(8121501046)(5005006)(13016025)(93006095)(93001095)(3002001)(100000703101)(100105400095)(10201501046)(6041248)(20161123558100)(20161123562025)(20161123564025)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR07MB419; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR07MB419; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR07MB419; 4:8KgcgtELatkgcSa2IuhfMbCDuHbwwHBb+iBf4zc8mq3?= =?us-ascii?Q?uhniuWZScWmHRlQXNTYbZm+omSNHr40dminduWRcCft+s4eDvVYKkNMXASYp?= =?us-ascii?Q?JkwW7W5qyjelel41BKA4tcL+9rDlKVT7KNfQAcBez4mLnGqoLSY3b9T2wBFM?= =?us-ascii?Q?vLEMg5i/jZ11nW7lKPnCGeMOVHmgcO5xwgt0ZZqD3OFY4AIsQEFteMYUAJiK?= =?us-ascii?Q?Oa2pu7sgXFE85zw+XKHLhTrlt4I3sefs4tlL9ecBhULkXXPXfHgIH/AfqzWA?= =?us-ascii?Q?AuT0FumVrly8czq086KOt8xN93pOmxpQrMGchNadoG8/8q5oAe0OOv0LACkR?= =?us-ascii?Q?pMTB541UjcWSwcdFhlgGswpgMYPFSRaL1uBbXxh6ae481S2o+wGFUsy8r2Nq?= =?us-ascii?Q?kOOMaSd3oYaoWy+bwG8X7VOWXex9/FfbEdxJn9KA4quNqC1gVDi+tJjBeR0Z?= =?us-ascii?Q?GK17VmtRpy0g5Lw/ainusraDXJR9V4ZomZvWEDqTjm1who4P9qTmtNpx8fPz?= =?us-ascii?Q?nIq9uPrFI+Y5Z9uv4+JBh8muM5u8AkExxRV8peUq9F555CZEurw6d1rSJKxa?= =?us-ascii?Q?SwDguIypqyizEH/be5OCwYLMfq2jECwxBVuIdWnmrusY8G3EWjfB0DlqucHF?= =?us-ascii?Q?KOhAbplI1KjIrvLdZfCIrutemuKJ0keqsuA84FDEAJRUGLI7u8wFwbEL2zB4?= =?us-ascii?Q?CGjlbBWrpdSIbt4+kJUL+xeuFiJ4ob8u8wVXfXzEqgx8Z1x24F9TlN+77mTd?= =?us-ascii?Q?2cTmPU4GlQcDM+6+M+gSqSoO98FBGZDaILDadCnrO7egxOBA9lixj4nJqRBI?= =?us-ascii?Q?xvRw4F8jOwX7QhtiF3wWTjNdgENaYz9jFJBwQtztdARxh8s+jdjwrrb5fHKp?= =?us-ascii?Q?qS5m6No840NxJkGnRiCN62zLfZ1Ci/DudOEjHOXo+xJwdQbifsjEDsZvs1ob?= =?us-ascii?Q?sHymXd7VA7SN2VzbDtMryrc4U6cbgxD93PYfF31+lbQvGcSe7qaT7ZeP4oiP?= =?us-ascii?Q?nR8UGCKyaksFiqnamCgB4NCe9g8JEtsQDxXXTLsEHDdGhz8wojCpEBoAAsjT?= =?us-ascii?Q?ig4JuNtYvDHKQMuA+iLfmXGONBA+AQcfL+P+FmOz0SUfpdjxld2q1u3Ao4jl?= =?us-ascii?Q?cV+swMhwAHhrCM2ushXPYJecWK0LBICKRzI6x3uF72pjTNh6hePqB4V2eZ51?= =?us-ascii?Q?nMonkNvSb38A=3D?= X-Forefront-PRVS: 0345CFD558 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR07MB419; 23:4+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5qmm0Galo?= =?us-ascii?Q?Y5WzLO4RoBCVTWMq5/+B1649LG6qj89j5RjYRyd034OCNPATRZnAI13EDgII?= =?us-ascii?Q?+PLUPoalx7syQtg+gZFZyBLykjJJD74PcXbUk5TLWh8CPkFUNgrC2I995Lxg?= =?us-ascii?Q?D5IID9cequvY2ag2gbm6yos9683w4Hgh330LhFU+4TgIIb54k6di6KqnCV6w?= =?us-ascii?Q?fLn+bwwPKaKnGHLABPn53Gv9EM9kVgF28g3X7ozTfk96cKwwmAbGlGWiqCgS?= =?us-ascii?Q?5CLBxUNyTBniShIvIIS8g2RpamV679+QViivlOFr2c/8nJswsRgPHGNQgCmU?= =?us-ascii?Q?fB1BQx0eKMjEqnRghx8zjQVtN2PebcQ4StZxj9csifnqlkuvFpX6X0o57+aw?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB419; 5:AzfXeiXZv6qtjjQGF263H+Ri2QDm//PeREcuVUKJ/MRVQqAed1u+6oZGHccLFjfpbyXZCCY750a9Ml2bdPbmjczhKMKc8E5evaEe6eoGFfty6aPWT8rCoBpbG1fByW+fNM9I3XfGmSsQowPbmfJnHqkJfIvFFBS2wLsfviW0+9+q7Z8Atl5DpbaR95s4x8Jwn54Kr5NDM2hH3yug6ECFe6cgAj2hKbnEoPBnpNayXAhICbutKxlvrKos4rkXkc/TYtpfdIhLZsvAgH0W/kxj0vNe8noD38bOsNctEoqOb1Ty4Pe9ti5AZDa6VjHhSaavZkFiBCvYHaS8pNvEL6iN6xw19azsC65Ks672NPHtU/c6iQSmddCrIExCtfDpJ4cMxLCwBnIlDN8rv8OYqECxZlWVcOFjY7kwLZG2RRMSqQhEXJi+Gr/qITUISrFoNnhTy3iYSV+orNFY2xM2POuqQE6W6o6mh07DqcwVFu4LmChtlBGofcR7eFbGHYrWlkTe; 24:HtNxFpt/MGe0HHaWQXP3xOdEfMvuWUueKwx6G4bFmn8barwvYUrSvTwnpaKnfcW5XtqUtLulRNPVNx9LRIQpdL8WT9WDLX1TbOzaa1XljC8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB419; 7:KGsaGxg3rvAZwbo4nDhZ7fcmYW/uh9bOH/gNVQMJE0N6gKZO4QJdcN+/+Um6zkqXKO0em3hgcHdk4sf2x5i+o38Rpab+CrVQ/gXY0+REhhSr+FQLufdvLdXqii3qKvgTeeDB0rFFwMGV0k4Jl1sS0YTSYz49nFhuT//3zAEk+4z36+hi8c8BQb2i9eCOQ2/FpSwBKcNOwC0PjBpSrqX46Pk2lmzTw7eobH5/qCKy4qUbGl/UUNmz0O+t3BSftfIbrIQP8vodFCAXrPxJbbSIuP7NdTyAyxtIQa/QMj1miZDKDVeyk4V25gvWHg5gh1AUsz67OgCcdu4IblOaBjC1XwQTPm3QLxFNJLDx8jX+KO3/Xv9DcP1jOlm+EGBFuIg9MRC0ej20CioVj4V7Cv7hyzIlWJRMvozb9E9wNpIH+L/k5OOGWZ9FQ1nD/zNCaxJH1dpMo+BSqdAh0RtTP/BWM0X50GUMjmexv5JnskK2+dEfSM+RI2UvVHWdmXaCbTEknoJMv7PKNwQWonBr+oyFKd+uqdgF8RPaFQhgtj/kTjieZLEfjr8nFJXv6QJ8j460R6jzWgxURY/D9qhiLxuBRBA9g52DFS/cX0+MwvtX30z+wSlGq9JRrNEoyP2RewBJQW2z6x6X/e+n22gGR/koiGjpzdJ681XZ6MGlvFd3ee0YVSpyjj4zYJDIpRjyPhHqthvBWjXzJ992veRzSRHXGZuZyONuLVYHkGhkYVy4uPRBcjMbLE27bDogZoULf6TWcB1Dj8xn5dPSP7QR1ZlHX+vd8NQybsJZ/AXT4fIlGgg= X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2017 20:49:03.4322 (UTC) X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=711e4ccf-2e9b-4bcf-a551-4094005b6194; Ip=[50.232.66.26]; Helo=[CAEXCH02.caveonetworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR07MB419 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: Duane Grigsby Signed-off-by: Duane Grigsby Signed-off-by: Darren Trapp Signed-off-by: Anil Gurumurthy Signed-off-by: Giridhar Malavali Signed-off-by: Himanshu Madhani Reviewed-by: Johannes Thumshirn Reviewed-by: James Smart Reviewed-by: Hannes Reinecke Reviewed-by: Johannes Thumshirn --- drivers/scsi/qla2xxx/qla_gs.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/drivers/scsi/qla2xxx/qla_gs.c b/drivers/scsi/qla2xxx/qla_gs.c index c91478529b51..b323a7c71eda 100644 --- a/drivers/scsi/qla2xxx/qla_gs.c +++ b/drivers/scsi/qla2xxx/qla_gs.c @@ -2166,6 +2166,13 @@ qla2x00_fdmiv2_rpa(scsi_qla_host_t *vha) eiter->a.fc4_types[2], eiter->a.fc4_types[1]); + if (vha->flags.nvme_enabled) { + eiter->a.fc4_types[6] = 1; /* NVMe type 28h */ + ql_dbg(ql_dbg_disc, vha, 0x211f, + "NVME FC4 Type = %02x 0x0 0x0 0x0 0x0 0x0.\n", + eiter->a.fc4_types[6]); + } + /* Supported speed. */ eiter = entries + size; eiter->type = cpu_to_be16(FDMI_PORT_SUPPORT_SPEED); @@ -2363,6 +2370,15 @@ qla2x00_fdmiv2_rpa(scsi_qla_host_t *vha) "Port Active FC4 Type = %02x %02x.\n", eiter->a.port_fc4_type[2], eiter->a.port_fc4_type[1]); + if (vha->flags.nvme_enabled) { + eiter->a.port_fc4_type[4] = 0; + eiter->a.port_fc4_type[5] = 0; + eiter->a.port_fc4_type[6] = 1; /* NVMe type 28h */ + ql_dbg(ql_dbg_disc, vha, 0x2120, + "NVME Port Active FC4 Type = %02x 0x0 0x0 0x0 0x0 0x0.\n", + eiter->a.port_fc4_type[6]); + } + /* Port State */ eiter = entries + size; eiter->type = cpu_to_be16(FDMI_PORT_STATE);