From patchwork Thu Nov 9 03:17:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Madhani, Himanshu" X-Patchwork-Id: 10050041 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 5A0C2601EB for ; Thu, 9 Nov 2017 03:18:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 51B0F2A974 for ; Thu, 9 Nov 2017 03:18:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 465932A970; Thu, 9 Nov 2017 03:18:06 +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 C945C2A971 for ; Thu, 9 Nov 2017 03:18:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751575AbdKIDSF (ORCPT ); Wed, 8 Nov 2017 22:18:05 -0500 Received: from mail-by2nam03on0065.outbound.protection.outlook.com ([104.47.42.65]:64824 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751241AbdKIDSE (ORCPT ); Wed, 8 Nov 2017 22:18:04 -0500 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=4+lldP6tv07qFv69zKcT3R1fogHAOcZdCreZ3/fQANE=; b=XEybQiYspCHqrEUOadgOqTxEBRmAnQtapNitPBoT4PYsJqVg4CR1ig+9zZt8GPxc2dHo7xOm1G2PSNSfeknzcuKXG0+OOuVz8mwFRSIT8J94jPnZiu4boXXf7kiKh1y60opDxooslALwzBwdCh9zlzBkVcPGSOM5TfiKGCfYVfU= Received: from BY2PR07CA0031.namprd07.prod.outlook.com (2a01:111:e400:7bff::26) by SN2PR07MB2526.namprd07.prod.outlook.com (2603:10b6:804:6::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.218.12; Thu, 9 Nov 2017 03:18:02 +0000 Received: from BY2FFO11FD043.protection.gbl (2a01:111:f400:7c0c::180) by BY2PR07CA0031.outlook.office365.com (2a01:111:e400:7bff::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.197.13 via Frontend Transport; Thu, 9 Nov 2017 03:18:01 +0000 Authentication-Results: spf=none (sender IP is 50.232.66.26) smtp.mailfrom=cavium.com; HansenPartnership.com; dkim=none (message not signed) header.d=none;HansenPartnership.com; 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 BY2FFO11FD043.mail.protection.outlook.com (10.1.14.228) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.178.5 via Frontend Transport; Thu, 9 Nov 2017 03:18:01 +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, 8 Nov 2017 19:17:55 -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 vA93Htts010316; Wed, 8 Nov 2017 19:17:55 -0800 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id vA93HtpK010315; Wed, 8 Nov 2017 19:17:55 -0800 From: Himanshu Madhani To: , , , , , CC: , Subject: [PATCH v2 2/4] qla2xxx_nvmet: Added Makefile and Kconfig changes Date: Wed, 8 Nov 2017 19:17:52 -0800 Message-ID: <20171109031754.10270-3-himanshu.madhani@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20171109031754.10270-1-himanshu.madhani@cavium.com> References: <20171109031754.10270-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)(376002)(346002)(2980300002)(428002)(199003)(189002)(48376002)(2950100002)(87636003)(50466002)(189998001)(6666003)(106466001)(2201001)(86362001)(42186006)(16586007)(110136005)(80596001)(316002)(575784001)(54906003)(5660300001)(8936002)(5003940100001)(69596002)(1076002)(105586002)(81156014)(81166006)(101416001)(50986999)(4326008)(72206003)(76176999)(47776003)(478600001)(305945005)(36756003)(33646002)(356003)(8676002)(2906002)(50226002)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR07MB2526; H:CAEXCH02.caveonetworks.com; FPR:; SPF:None; PTR:50-232-66-26-static.hfc.comcastbusiness.net; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD043; 1:sQMN8D+Ow3L3+gjcOwbQ6FYeOoCLtJmcrA/4MMe3HZ2hXnr18ckQmSd6NTVDdE4ETikPIGxaFXdoFM0ZmDvVNPomP1Dc2iqlNjCeDWtB+U2rT12clFJZRNX3jcRFbymR X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9a11a52c-1e2b-4b9f-fc5c-08d527207c22 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603249); SRVR:SN2PR07MB2526; X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2526; 3:GCwfJqgVN7w6j6R9z1TaufAKnpRHFbeD0Fy7oCOE0agquqgRVVlU99+EcEzn0BK+xRkwPMYhGH09aEn35/a2ZXzaTkQW9rpkrs0UWlA2w32vMoQFB64otLDHV94ytHNl1+gVbL24e7Y8zEW2IRWSIN6GjcYNT6nFvpiHDVFue8eB1gEVnpSAcWPiZi76TsN5/0Gd2mT3AXjBiXPiamQYGBixPMs4XVI/Ob4DHogIxcpjcfjwgXACEkt7fHCHNdHHhWv3EFT7qPtg4PAkek68UmD3UcMXtYo4IHZUlknf5ChYtUzXHz8KgJUmxyZmbICL3nBW1QwuXrxzoIidRSr+PzkqN2tlsrbrU+gY68mgk6k=; 25:1diDWsOYVy19UruaITomWRK+wbEW/zn/M6U0yQR+z6+It7EVIObNtMlwwcx4ElHOHj/33n3LIWtwneUEvRjoEUsv5paoW12OJICrkrp0XUB2YBC5uFKG9C7/Ii1YxUNJKIHXiNJY63YhXiO8yuLZLLdCoDRbJQ8htXwEDx1Mkmvh/xNh71XOsSk720oaS5wwKE2NcZZROUO5ZI0zsSvfQK6I2WqjiGhxNWiJ5yUrkgbe37laJG87dOlc6nc0r4xBuG7lEjdCl/hJsSJPtqxCRyC1fT7q0Z3t4nI531c5GxR32Ml6KbXM0xhOTpDlLFXzNlQSuYCGjU/yQFB2aU+7NA== X-MS-TrafficTypeDiagnostic: SN2PR07MB2526: X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2526; 31:3GbmboPV29wOW2PuY2Nq5Xgf5BIkAnFp7AhzeNHkZvUNqyEKCiHkyx8khiDcCUSAa+3CyijoKAHvfR8zRNjkE8qjM0Mx4pXWqRz1r8sR5JIQrmKlKYjjoupaTLCCxr0xcGVVFokzK9lPuy0R9k7WDiNw/or6A9P9q/fUGrzL+NW8DDcqCbeNu40b+fakY2iVovMWD5R8FHwPzgCPpiP4/1DYAh2u/et670xcpbTRUtg=; 20:AtIlhuQuRlNBiR4X5isPPhiu6vhzoDIcyD8hX1mQLuvMMp27aaQ3hPHgWUcYXY4c+h6Mqgo0ShJrlacUql7TmkSC4G003+7SNiNdr5vrR4yCT+z8ftsTUvCKw0oml2Fb+F8fhEry+ytMphdc4SaZn/NU10Rd1erUttPEhhIY79tdqDL7AK1c7dyYDHw6UnEKiJVKIlO7zAb6x8e+/qP3sufRSSL/9PIKJ7voXFZY+nSZTzUBQ4EuqilAwmCCXq0YGaUsAqkOR9dx6k5Ymm9jRzLFKDnGClkcZL+2yZBqlwUao7QSbgiswyquN6fhjoP3lgDbnjkzOcicrLWf97NUT+jrTKTuYpQ2qvAGrVfBMr2kQZ8mf8z85QhouEf/q3O6cf4xnx7W+kPmohq9t6cDAt0P0v0emG6Ru2/7O6Ri8SJSa5i2vw+tN3kG7P8O6oGWaeDytgzDFh1r9SICAIB79+UYwn22alHSJlttTgPU8FtH2DPsV64y/QGYIphWF1aW X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(100000703101)(100105400095)(3231021)(10201501046)(3002001)(93006095)(93001095)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123555025)(20161123558100)(20161123564025)(20161123560025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:SN2PR07MB2526; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SN2PR07MB2526; X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2526; 4:TTBQpwI4mjbhdRuYzBDwLfI3x9xHxGZRBLPoqCokeK37vV2B3ZkA/2OV2XgA8cmogXwQT62OORj5XE2cBsO5h2HntvoluXrILbG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d4FrcO3qvI/Qhslc3XESEbz8EOIxZ8ryLej1JWfi/SFHUU=; 24:DcSwcYMNJMEqYP3YjW5cpBHWpt6RFI8uk6OoLy7xYEFZR0dM/+CU+bb/w4D7BFgaiqpiuGoRPRCd4cHs8dui4VSve2Ta1pdk7hQUbfIUcic=; 7:n/6r4pPfqYRO6MAHOTixLAXuLdfVy+Crsft9esC8V9KuYNZV34fOIs9f6rkJV7fDdOidX8q8qBuCbA1yF1EiErPz/pYZQh5L0qrES82SwVMEQa8z9khqvoLpMHyc27tXBDfHmEbl+5EV4e6PKwpnZHNwHb+NeRNYbRRrwNep+xf5USPGnzU56CI74/RV5lUKS1mj2YAOR1bnEuel3eNbSGvlLCFMn3dHzUfAjVo09YkzscyDrUKvx3xeRFYsJs3P SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Nov 2017 03:18:01.5713 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9a11a52c-1e2b-4b9f-fc5c-08d527207c22 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: SN2PR07MB2526 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: Anil Gurumurthy Signed-off-by: Anil Gurumurthy Signed-off-by: Giridhar Malavali Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/Kconfig | 1 + drivers/scsi/qla2xxx/Makefile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/qla2xxx/Kconfig b/drivers/scsi/qla2xxx/Kconfig index 036cc3f217b1..f1539d8b68ef 100644 --- a/drivers/scsi/qla2xxx/Kconfig +++ b/drivers/scsi/qla2xxx/Kconfig @@ -3,6 +3,7 @@ config SCSI_QLA_FC depends on PCI && SCSI depends on SCSI_FC_ATTRS depends on NVME_FC || !NVME_FC + depends on NVME_TARGET_FC || !NVME_TARGET_FC select FW_LOADER select BTREE ---help--- diff --git a/drivers/scsi/qla2xxx/Makefile b/drivers/scsi/qla2xxx/Makefile index 0b767a0bb308..5b6838ac57bb 100644 --- a/drivers/scsi/qla2xxx/Makefile +++ b/drivers/scsi/qla2xxx/Makefile @@ -1,6 +1,7 @@ qla2xxx-y := qla_os.o qla_init.o qla_mbx.o qla_iocb.o qla_isr.o qla_gs.o \ qla_dbg.o qla_sup.o qla_attr.o qla_mid.o qla_dfs.o qla_bsg.o \ - qla_nx.o qla_mr.o qla_nx2.o qla_target.o qla_tmpl.o qla_nvme.o + qla_nx.o qla_mr.o qla_nx2.o qla_target.o qla_tmpl.o qla_nvme.o \ + qla_nvmet.o obj-$(CONFIG_SCSI_QLA_FC) += qla2xxx.o obj-$(CONFIG_TCM_QLA2XXX) += tcm_qla2xxx.o