From patchwork Fri Sep 14 21:28:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Madhani, Himanshu" X-Patchwork-Id: 10601241 Return-Path: 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 3E8A114BD for ; Fri, 14 Sep 2018 21:28:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 162962BA14 for ; Fri, 14 Sep 2018 21:28:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 05ECD2BA11; Fri, 14 Sep 2018 21:28:23 +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,DKIM_SIGNED, DKIM_VALID,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 6F8FC2BA11 for ; Fri, 14 Sep 2018 21:28:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728050AbeIOCoh (ORCPT ); Fri, 14 Sep 2018 22:44:37 -0400 Received: from mail-eopbgr710084.outbound.protection.outlook.com ([40.107.71.84]:44784 "EHLO NAM05-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728010AbeIOCog (ORCPT ); Fri, 14 Sep 2018 22:44:36 -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:X-MS-Exchange-SenderADCheck; bh=6T68t1+BSsCAzRL8p357FVJY4jL+4ux/Sev11+73zoo=; b=Q65vwx9m5U8BhFjBGsiUg7IGLuiDhKkwjaH8xvLa7wAZVuDl02JQjKqMK8LRkOK3qgrG5EfUBGcjvTdneuXj4AkdLOKDV9Gt7SImv+qdBrJZvXaz6aZ0lADS/wjAs4IjbKw+eJbRRsgNqeeOMXHQ4JjbIzn4sl+chZWAChnoZI0= Received: from BYAPR07CA0032.namprd07.prod.outlook.com (2603:10b6:a02:bc::45) by SN1PR07MB1453.namprd07.prod.outlook.com (2a01:111:e400:5837::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1080.17; Fri, 14 Sep 2018 21:28:17 +0000 Received: from BY2NAM05FT006.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e52::202) by BYAPR07CA0032.outlook.office365.com (2603:10b6:a02:bc::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1080.16 via Frontend Transport; Fri, 14 Sep 2018 21:28:17 +0000 Authentication-Results: spf=pass (sender IP is 50.232.66.26) smtp.mailfrom=cavium.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=cavium.com; Received-SPF: Pass (protection.outlook.com: domain of cavium.com designates 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 BY2NAM05FT006.mail.protection.outlook.com (10.152.100.143) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.1164.5 via Frontend Transport; Fri, 14 Sep 2018 21:28:16 +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; Fri, 14 Sep 2018 14:28:12 -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 w8ELSCDE011506; Fri, 14 Sep 2018 14:28:12 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id w8ELSCe6011505; Fri, 14 Sep 2018 14:28:12 -0700 From: Himanshu Madhani To: , CC: , Subject: [PATCH 2/6] qla2xxx_nvmet: Added Makefile and Kconfig changes Date: Fri, 14 Sep 2018 14:28:07 -0700 Message-ID: <20180914212811.11463-3-himanshu.madhani@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20180914212811.11463-1-himanshu.madhani@cavium.com> References: <20180914212811.11463-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)(39860400002)(136003)(376002)(396003)(346002)(2980300002)(438002)(189003)(199004)(356003)(126002)(6666003)(81156014)(50466002)(81166006)(48376002)(486006)(47776003)(305945005)(106002)(11346002)(476003)(2616005)(14444005)(69596002)(72206003)(5660300001)(186003)(336012)(8676002)(80596001)(478600001)(87636003)(4326008)(76176011)(54906003)(42186006)(50226002)(8936002)(446003)(16586007)(316002)(110136005)(106466001)(2906002)(1076002)(86362001)(26005)(36756003)(51416003)(44832011);DIR:OUT;SFP:1101;SCL:1;SRVR:SN1PR07MB1453;H:CAEXCH02.caveonetworks.com;FPR:;SPF:Pass;LANG:en;PTR:50-232-66-26-static.hfc.comcastbusiness.net;MX:1;A:1; X-Microsoft-Exchange-Diagnostics: 1;BY2NAM05FT006;1:LfBWJb8/YDK8Ip5iWcQf3FD2m7CwhvlgOFt1uv8+71LPQej3/AaCDNdvmnuiFvE8zLg2Y39oioKNWuTw2b3llqhG6i9lWGDV2VUIa4ov3gCnwlTNDJ5/puiMWx3Vxnvz X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7282d045-1510-4e0d-fe6e-08d61a88fc5a X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4608076)(2017052603328)(7153060);SRVR:SN1PR07MB1453; X-Microsoft-Exchange-Diagnostics: 1;SN1PR07MB1453;3:Lj2OsaNDLDDqqp4wdXa23aYRrPGSzxLyNxQqfmWPs+/wd+oy2YziYI3ms55OuPQP5upTdM7VEx2VBnMML42tUg0FJaX6mhWyd5Fk03xWUFkf1hhWhb5l04v/vEh+tGyNFTOjT69Tz7XZb2CWutDq2oxygJnaxfYX2mRcA/BT56LJgPRjlvvvLeq0HTiuFSkeUjBOVF00RWqZ5wSmVEXoW39e2OU2JrjNJFgyS0dywuVVfnVZxcCtZS6GBv2Jv/HgqvKYgAS5maaXR6wmr7xc7G5BzzMfyPbu4bSFWOTEKSGnITDKE/nogdDs7xSBffeYdgu8UMzG/4m0vFjnbmS87LubeouJTXXpqmj87idTqdY=;25:O44DcE9Haw/VzMX6ShhQ8SEgyiCHD07qJRqKwyBE7MBI8rOYE7wIcv/373Od/YsICzC37FEla1pcAYH0cCRifqT31SSfnhIcbAgNH+oHPy6FLNCeEuQFiZxpj979zitMSTL/O6Czuebc11rosVyv2vLl0wnhaVvgduXo6FkDvUcOq392NJvlNcSEbODA9ViZ2FvtonzFkYxMqBeOIpuRRxiCxn7lNajY5kt8w0NbH7vInAkIx0jS2bIJbkyBukqxAiOF86QAM/QIRFiKbuXPZjC5X9jrSkNkA1PkqLjxRY0OXSocGFRsHrwFgeR+bpIGiTjSDyn42nCoa7OkXma0AQ== X-MS-TrafficTypeDiagnostic: SN1PR07MB1453: X-Microsoft-Exchange-Diagnostics: 1;SN1PR07MB1453;31:wcIq9jAldhIRVHqOiPxjO5eNP2bdbJN1WOtLbK1dXF2BQbAZVYLMYN95vkeBWdADIY0Mcg+PPkDtDcqJtwi92CTiOhpNDLavGJX5Ux7m4H6g+UZdOmvhNXRK6EcSp+FoO+ydof+vMbdNCPT6av3Yq2Se5jsDXhbfuLQBxzebHEgBCHSUoaw5gy5KDtMjhgWyE/mTZLFrFvv6quD39kTGi8H1wv6mweFIBLGE5Mo41qA=;20:tjqrtEjWa5J79/JXLCIP8R33lo5YFQO7qidGf64yvcC64u4Ekc37IHod/N4piWLv+JvZJBW4sv0y/GA0zgTgcOAtdpSbZZO4W3jWvTNQr+DwFDUPDCuzbyKcnraZc8On/BOknnrcEgfhfaKkLv1PE40iJWpBp7ql0XK2SEhq3JBbvtPYoWMhKak5w/NUSzIRXy6kasGjmDCr0TalB+EcQbOJA0KFhIBU7KHRge3eGsb4oSc3Oy012OYomBzHW5DaVPUctjodzEZ7lv5wqaw0cnCEGaGLAM1BJQQO5gHtftNVMvEnAyWrUjPh6XPRr7HKDwVRFqJqMfjp5Aohv4UUqgaxhIo9o+X5aRkv7k7XQD7Hec1oc1OXz+LxU+iLYYvZOxLUOjrVwUYo9h8kFbNOpqbz7DJjS33gNPoiI1kK1u0WKVtadABBEZTNY6zorg7QmiS0T9OlOcaguz+MGt7pSIhVfp7iBj7Fs9Z6zbvaYTjHORSIdbJBtGvClMuS1mH5 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231311)(944501410)(52105095)(3002001)(93006095)(93004095)(10201501046)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123558120)(20161123564045)(201708071742011)(7699050);SRVR:SN1PR07MB1453;BCL:0;PCL:0;RULEID:;SRVR:SN1PR07MB1453; X-Microsoft-Exchange-Diagnostics: 1;SN1PR07MB1453;4:TACCyw39xg6clS0KhycRasgUbpRCN6oW/l35ce7gP4//vAwHfNDcjiMJJ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b9cpuoXZcIyOzfqW9me6PHRoHUj5rzfjACTqN5ZKlnFDgNU8RGXtm06CJnTnWVajAohJs4oSqbHRFs09czWpmgXDhbEY1iu3F89KDDurtuKEtnDD7DRDMovFIDgKdojz3+1feGvFdax5U7kzR69MF4FNJKuRixPXP+uDAf4l0aPPTcvU5dsQ==;5:ZI8+rNWvwfmRE7IvGCACQ8bnWSWY85VtYKue93igNySbSfh8s28AyGras+knqE3PZtHaxDdGyXXIuCSaBjPdf6SQNRyy4x9bOnjRXWR/4MMf1z5XyvCi1XOzoQCYSLQBjpdkobLfWxas5DjjbghYSZ6btUtrwOEa2F57qvJndGo=;7:+2qnbS9BXTC7CQTm0g8WXVVECCbiOU5n2n1v/rk4uwh2ipiWoQuxwHnSWgr/SAGls0jM/0erxiJJJvRuBLI8m5cLW1rieLsM2UdVLKZUfpr2Jcns48cUYhB6rK9FK0krz+DjUHoQ6oTejZ2WZWKlrqVImU8Q6iHUU4lD4aDnybeXza1soEAth5Vv/O+WCTdDLJdPMIPezU1admn1blBrI2msA2wXAyCkWEEp9wx9JOciVn1e3lvLOBukswZ/3yUM SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2018 21:28:16.9012 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7282d045-1510-4e0d-fe6e-08d61a88fc5a 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: SN1PR07MB1453 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 This patch updates kconfig and make file to include compilation of new NVMe Target files 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 17d5bc1cc56b..ec924733c10e 100644 --- a/drivers/scsi/qla2xxx/Makefile +++ b/drivers/scsi/qla2xxx/Makefile @@ -1,7 +1,8 @@ # SPDX-License-Identifier: GPL-2.0 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