Message ID | 20181210203625.15244-2-hmadhani@marvell.com (mailing list archive) |
---|---|
State | Accepted |
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 AF53C17FE for <patchwork-linux-scsi@patchwork.kernel.org>; Mon, 10 Dec 2018 20:37:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F6CD2A483 for <patchwork-linux-scsi@patchwork.kernel.org>; Mon, 10 Dec 2018 20:37:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 93AD22A4CD; Mon, 10 Dec 2018 20:37:37 +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 123342A4BA for <patchwork-linux-scsi@patchwork.kernel.org>; Mon, 10 Dec 2018 20:37:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728049AbeLJUhg (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Mon, 10 Dec 2018 15:37:36 -0500 Received: from mail-eopbgr810041.outbound.protection.outlook.com ([40.107.81.41]:43424 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727598AbeLJUhg (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Mon, 10 Dec 2018 15:37:36 -0500 Received: from DM5PR07CA0056.namprd07.prod.outlook.com (2603:10b6:4:ad::21) by BN7PR07MB4753.namprd07.prod.outlook.com (2603:10b6:406:f0::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1404.22; Mon, 10 Dec 2018 20:37:32 +0000 Received: from CO1NAM05FT027.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e50::200) by DM5PR07CA0056.outlook.office365.com (2603:10b6:4:ad::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1404.17 via Frontend Transport; Mon, 10 Dec 2018 20:37:32 +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 CO1NAM05FT027.mail.protection.outlook.com (10.152.96.137) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.20.1446.5 via Frontend Transport; Mon, 10 Dec 2018 20:37:31 +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; Mon, 10 Dec 2018 12:36:29 -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 wBAKaS14015283; Mon, 10 Dec 2018 12:36:28 -0800 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id wBAKaSDb015282; Mon, 10 Dec 2018 12:36:28 -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 1/4] qla2xxx: Enable FC-NVME on NPIV ports Date: Mon, 10 Dec 2018 12:36:22 -0800 Message-ID: <20181210203625.15244-2-hmadhani@marvell.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20181210203625.15244-1-hmadhani@marvell.com> References: <20181210203625.15244-1-hmadhani@marvell.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Matching-Connectors: 131889478521879024;(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)(39860400002)(376002)(346002)(396003)(136003)(2980300002)(1110001)(1109001)(339900001)(199004)(189003)(51416003)(76176011)(48376002)(508600001)(42186006)(80596001)(87636003)(50466002)(316002)(69596002)(126002)(476003)(5660300001)(305945005)(86362001)(486006)(6666004)(47776003)(356004)(50226002)(11346002)(81156014)(85426001)(2616005)(446003)(336012)(26005)(8936002)(36756003)(81166006)(4326008)(1076002)(106466001)(105606002)(8676002)(2906002)(54906003)(110136005)(16586007);DIR:OUT;SFP:1101;SCL:1;SRVR:BN7PR07MB4753;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;CO1NAM05FT027;1:VicQFwYtfmk1S+9INdTBS0bYouhE3c9t8gA4Xan7Xyl61LLXfa/3cDEmZrxyOFh1hkSSMQKdj0F5ATJux9pp4zpTY91Cx5RpON4nL+ERvXbVyMEolYetsfmpZIah3uvi X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6dd34dcf-3301-42a0-04aa-08d65edf4f4a X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(5600074)(711020)(2017052603328);SRVR:BN7PR07MB4753; X-Microsoft-Ex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15m7h0HbsjvZ4Ddu46bNypWQJdFTUvOd5n64ltAR+kGlZXK++aSv/TIBUl76C0egJzQ47U8Z86fbCDdk0j45aMQmD/Z7FpVrWVjcn22SpdwtVnMEOQ0hzQm2Q9JK2Nhujyosb+qsoPiP9udDWoUOeQsI+9EOIdW+RohS6ZqHoGjYwXy8n1G1U6eN7Lt5FBx1oo2FdU5neCceLGK6lTEAAmifNkOMsNawwR2m2c7fzJTcQXM3kfM4OTxaml2/w== X-Microsoft-Antispam-PRVS: <BN7PR07MB47534BADA82ED87E9F07961DD6A50@BN7PR07MB4753.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6095135)(2401047)(5005006)(8121501046)(3231455)(999002)(944501520)(52105112)(3002001)(10201501046)(93006095)(93001095)(6055026)(148016)(6096035)(20161123565025)(20161123559100)(201703131430075)(201703131448075)(201703131433075)(20161123563025)(20161123561025)(20161123556025)(201708071742011)(7699051)(76991095);SRVR:BN7PR07MB4753;BCL:0;PCL:0;RULEID:(400006);SRVR:BN7PR07MB4753; X-Forefront-PRVS: 08828D20BC X-Microsoft-Exchange-Diagnostics: 1;BN7PR07MB4753;23:bEznZgclROqHxT+71htWYi9vJF6EXiyhegU09f9WwTS/WEefFyL6sRlDbvNGXvceWpDprXQv0yBu+maP6LtkvFsLSl+pF6Ozb8G1QOpGdoMWbSVhVPYPQTlOU6g4YKMiRJHHe16Bkl02LKE8f4Z1kxy9rIpBgb554T87CjDI6WUmQxLbiO9CAuQtdaEpyELUv00gi9pqMNWb7FpcsGzDz795wikflIiEfo2YJrAHf8zRDWC/jUSydBF4iddB+Ys6bpng/KcQN/kDk9Ur7R7cmUY04cYCswkzFvjdIpXj9NkB3lnUt+bhfe/W9wxA8QSFcMIemLg0oRM8CBM13kpG/8BA6RS0hC+JQOF/6ES0h8AUx2XXnqQzs5/DYr/xA4UzSSPAK8VjabG+7xgQPA/2cECJFMqMryBclWzflh2cS9W97CFMZ3SNlfsuHW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amIAMnQvlSRFF0QWUgAAPK99MNn4UTUUcFl+BvPUMHT0O31l+dO7QD6PHWtiEPTCZ/zlk4E8T5AXN2y0DGNtMCc/38+p7EMdYS+x8S6V/B80VkTwbWUpre2i2hTd9jwdaUMby50Qt03jlotBtuYglY2WpytTNEaRM4CWWWNhx2BxJgBJgWacheZD3VfJ7ExPVXwM/N5EzKStLQ9bDMSN1F0+vUYX2yNmAF+SprT98HCSWc/1dEarP6rkhj7DH8tgFMtRN21UDeJk9XME0yzpUc6YBq+xH8Tbc2Q0ir9U0cm/Y32JwpyEHTIeydSwIhjHoe7b0V9X+esRRXuLKCyxLKebK0sqMcJX7nN42PD0lmn6bwrJ6Fh16Nu+gviCH+Zzc2DfVkEfn13KXNNmFLvT6/c4BX+DNrhF/wTPef4gFskIqbS/fMo03YBUD/SZgM+vC67Rx/2wZTNFB50phSEQ==;5:vXjfDZZjI7feqVnooPAECttpVUesZHHUdIFRbJd1m2/G/3uJyNTbBKYQPSooM+lzF55/cweDgNEMjPoiMMXx9bXZLLuxouScjhpiQ8lV5pFObm7EUq01xNfTNnuxNoK/cJR5eGDUcSWdVLPlqYSIygDIyhnfJEWov2eGdgEkmQI=;7:Zt2YIOiFenSqTU3JoDhnXae2bJOwXqwMqjAs4khVzz9OpB+zVQvD2+7/VrUzE0LotKDqmyKD/Klpuz4Ckcq+KcRJqczTuClcva9zZnpjljqPXKhxkZeKWagkdpGqYXBdWzOKUUMICM7cDYvA4qVAAg== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Dec 2018 20:37:31.7816 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6dd34dcf-3301-42a0-04aa-08d65edf4f4a 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: BN7PR07MB4753 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 | qla2xxx: Enable NPIV support for FC-NVMe capable ports | expand |
diff --git a/drivers/scsi/qla2xxx/qla_mid.c b/drivers/scsi/qla2xxx/qla_mid.c index d620f4bebcd0..099d8e9851cb 100644 --- a/drivers/scsi/qla2xxx/qla_mid.c +++ b/drivers/scsi/qla2xxx/qla_mid.c @@ -507,6 +507,7 @@ qla24xx_create_vhost(struct fc_vport *fc_vport) qla2x00_start_timer(vha, WATCH_INTERVAL); vha->req = base_vha->req; + vha->flags.nvme_enabled = base_vha->flags.nvme_enabled; host->can_queue = base_vha->req->length + 128; host->cmd_per_lun = 3; if (IS_T10_PI_CAPABLE(ha) && ql2xenabledif)