From patchwork Wed Oct 31 16:40:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Madhani, Himanshu" X-Patchwork-Id: 10662937 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 717EE13A4 for ; Wed, 31 Oct 2018 16:49:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6106A2B312 for ; Wed, 31 Oct 2018 16:49:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 551012B318; Wed, 31 Oct 2018 16:49:33 +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 4281A2B312 for ; Wed, 31 Oct 2018 16:49:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729953AbeKABsS (ORCPT ); Wed, 31 Oct 2018 21:48:18 -0400 Received: from mail-eopbgr730089.outbound.protection.outlook.com ([40.107.73.89]:54400 "EHLO NAM05-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729818AbeKABsS (ORCPT ); Wed, 31 Oct 2018 21:48:18 -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=z3epSrf4NtxeHrx9Vym6k6d8rO4ze2EayqgpZHpOVWs=; b=VxW7XPw8vCv2QSkYR3GLt4wsJoaQbuwITsif5TX3xqaO343jzceGgG/07i761jjx12W0TGyP8RKnxH+MAM7hVyziabsdffiAD0mdMqGG5TvXPxiQjm5MWgqYn8xwVb32QlQvBVe8q0dgqlrRrstInqbcPpnRBnUw9/4JSXTAsfQ= Received: from SN4PR0701CA0006.namprd07.prod.outlook.com (2603:10b6:803:28::16) by BYAPR07MB5751.namprd07.prod.outlook.com (2603:10b6:a03:a3::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1273.26; Wed, 31 Oct 2018 16:49:25 +0000 Received: from DM3NAM05FT007.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e51::207) by SN4PR0701CA0006.outlook.office365.com (2603:10b6:803:28::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1273.21 via Frontend Transport; Wed, 31 Oct 2018 16:49:25 +0000 Authentication-Results: spf=pass (sender IP is 50.232.66.26) smtp.mailfrom=cavium.com; oracle.com; dkim=none (message not signed) header.d=none;oracle.com; 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 DM3NAM05FT007.mail.protection.outlook.com (10.152.98.113) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.20.1318.5 via Frontend Transport; Wed, 31 Oct 2018 16:49:24 +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, 31 Oct 2018 09:40:59 -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 w9VGf05Y006325; Wed, 31 Oct 2018 09:41:00 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id w9VGf0D2006324; Wed, 31 Oct 2018 09:41:00 -0700 From: Himanshu Madhani To: , , , , , , CC: Subject: [PATCH v4 1/5] qla2xxx_nvmet: Add FC-NVMe Target Link Service request handling Date: Wed, 31 Oct 2018 09:40:55 -0700 Message-ID: <20181031164059.6286-2-himanshu.madhani@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20181031164059.6286-1-himanshu.madhani@cavium.com> References: <20181031164059.6286-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)(376002)(39860400002)(346002)(136003)(396003)(2980300002)(438002)(199004)(189003)(106466001)(42186006)(81156014)(8676002)(110136005)(50226002)(14444005)(1076002)(16586007)(316002)(4326008)(81166006)(305945005)(107886003)(2906002)(36756003)(356004)(336012)(186003)(76176011)(106002)(69596002)(478600001)(2201001)(2616005)(80596001)(72206003)(44832011)(50466002)(87636003)(8936002)(47776003)(51416003)(86362001)(48376002)(6666004)(26005)(126002)(575784001)(446003)(486006)(476003)(11346002)(5660300001);DIR:OUT;SFP:1101;SCL:1;SRVR:BYAPR07MB5751;H:CAEXCH02.caveonetworks.com;FPR:;SPF:Pass;LANG:en;PTR:50-232-66-26-static.hfc.comcastbusiness.net;A:1;MX:1; X-Microsoft-Exchange-Diagnostics: 1;DM3NAM05FT007;1:M+ztzNqs5l4XI7qqD0qSIiVeskdpLADc5UOJkRWGqB/VFZmDtnL+bMJG4gjQw+SsqcZ2C8PirZHPsleK75dC4KnBHJswxzT9yyvLpNP328rJuJs0L7QtYWB9OWkUBrAE X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c87a461c-696a-4a84-63d1-08d63f50d0a7 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4608076)(2017052603328)(7153060);SRVR:BYAPR07MB5751; X-Microsoft-Exchange-Diagnostics: 1;BYAPR07MB5751;3:yiy2J2864G0jeSuexsAkkeoNslhl68juEtQ0VEdIqh2zw+fEaDdYSnhKWTQyKTOvBXlwYprZJgdvQNDg3LW5fMqOg+tK3mkdV+lTIwGq7S3ACedIh/IV1YzTgXupP8NqWdWpZT6M/spDJqtXLIoJXreh/pgkyzjkrLD0QlLDXYRYUgbHLilanADpAGgQ4w+VBwBqHADXKNNExcVSQGgEMQYEHmBeNEAHya/aY7PDuFEu3aeOEql5YHS1eLD7126JTZynaAyL2tXqLyGwR08phjbTUgvTVajG79GghcmL/cuXV7/NEbTzwZzhsjRgYAjQ46r31FAPC2jEgiVIDSU4/jkaS5yQp5tLsuqQH3OpgaY=;25:gY8gcff0XDJQGBvJ47i+8S+ktzk/0tMf7IqAOnI1JUDO1scmkuVCYdGbwKEsL10shD2VotfoGzPFl7wZg9D5nnVGHL3nMo97mmpq8mIC34ruLmGEDOoQJxfefVJQQWP4h35w54LPErM9jPtJFVxVik6/pJanK2uoscOlF7wkEESNm98qUWh4ob1++xHwb7gtQxDTGdIs5OctwuC+RR+s2zVXZ9JCPrshrKpHJR/5nUJAyqkpfWDNTVYjw6oGCqcBKM2RNOIlQcehcmVOjUR9zH5L/25uvzO809sug+cgS2owMtpgP9jMfWJxib+KPaZ1IGmQ+zOkYAOAc0Lmg/NI+w== X-MS-TrafficTypeDiagnostic: BYAPR07MB5751: X-Microsoft-Exchange-Diagnostics: 1;BYAPR07MB5751;31:pARWc4rat0mtEDUxH+DU6UKFOCe9cpWCVHJL2mFO2Ll49btqYDBSQvrZDOIYCOH+opjX63aQ6KNRKIEWeN5cwUEaekuRClK+mMzPywrH5nCvmJbhnoy6a9GjEfv2rwKv0pw6zQ27jofkYwXrr2TEM0vaKbfxiQTOouA5S84GV0Oqg940JLDBD7xP2uWTvUtNFbsRj6ZLBPeFkR9e32oXYSNteZeG1Nqv8SZYXkHI9Rc=;20:Xjejc32tGgJusZ2kWfUnLsoW2QZJ+ebtUR70TXhOYBcLmabyVfIqvim1av6mvXUZMXz7mzsG/QV5GjBTSu5GksBfHXIdzTXGvR5c+LIDaU3Tz2vytsZRrxwEuuV/XSvG2BaZya9IV7rzeb/BTcWbteXAxdhN3LhTjZna17Zvx5sZL401iwv9JuXJPIiPflqM2iimjdEl38UT2ggu1t5Vt5Sc/NOrR/ORXRPJhbZERwiFGeytnXJjjsbrJPlSq206sbOBLna/5Znt2bLtQ+Wbo6gkrmIkkTBhZEMmPvw7ehv4TkWo6PULpsUzqiMD00lyoUIXazGTKfyMuTVEBUWG8uGG1Jh1LmUXCREDDdsZWSuLtnbYFzv6mAoaP3D664yiZf4bTQHH5P4TBjEMSd4FX6I8/Nq3mhDDeBXzrQpgQQwk6sv8eg7J/rUGPaDoEmyxWy+5Bei6ed1+w1veuXckps4GdogZcTgPEEnSgeC1zGwQJKBNCnnNjrN1lP2hv7sf 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)(3231382)(944501410)(52105095)(93006095)(93004095)(3002001)(10201501046)(148016)(149066)(150057)(6041310)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);SRVR:BYAPR07MB5751;BCL:0;PCL:0;RULEID:;SRVR:BYAPR07MB5751; X-Microsoft-Exchange-Diagnostics: 1;BYAPR07MB5751;4:Y8EYsoC4QCga5xxZkc7fnOxDFbOMlu/2uHCFV5ODYlJQZt5etvOfTDOVO7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ny180PsbzcF+U5CoFWQUItOy4PWQehAeP10UcHnP+Dsi//yOr36vxur9bgjh7cvPbYnVEYovSk9yK6THn5M9z+QC7oMU0TtId0IzdDAp1l0G2yJpvp3y8VBsbRS0AJxP0l8C08TXYqNcqqL07Y7Zh/vm+8/P9XHfF8GPUcR7mwcSngDzMqqHMOMO0msbLVCQLOFxKk28bIM5anElqCQ==;5:2URVGbgRxtVt3ysSG8MhyIXT8pTDixdg/hKLd3Ic4idHeY8ZaFhvEGXnWUSpmzolvc+PyGvqw2eP1VrC8GXboKtp/QPobGDmEbwZgVYAbvpPGoWMj6L/2Y6uXIxkQHIUT1VnNeltmo/4s2eyC1eOZMJHXxoSasj46MZhaHTbkVA=;7:BcBs0yd8R10esLb7U8UqxAqEpChhZQcdrQKHp6e4bBhTLO3mrP2UgKuuN+6A5aNIErhj9GkSuRnwiWi1T/qR59zWyUeFadDvlonoEod6XqBl3+NxF+arb34qKx3pKsNs5chyvvo92cNggzPcmUp2Ng== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Oct 2018 16:49:24.4755 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c87a461c-696a-4a84-63d1-08d63f50d0a7 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: BYAPR07MB5751 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 provides link service pass through feature handling in the driver. This feature is implemented mainly by the firmware and the same implementation is handled in the driver via an IOCB interface. Signed-off-by: Anil Gurumurthy Signed-off-by: Giridhar Malavali Signed-off-by: Darren Trapp Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_dbg.c | 1 + drivers/scsi/qla2xxx/qla_dbg.h | 2 ++ drivers/scsi/qla2xxx/qla_def.h | 3 +++ drivers/scsi/qla2xxx/qla_gbl.h | 7 +++++++ drivers/scsi/qla2xxx/qla_iocb.c | 8 +++++++- drivers/scsi/qla2xxx/qla_target.c | 11 +++++++++++ 6 files changed, 31 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/qla2xxx/qla_dbg.c b/drivers/scsi/qla2xxx/qla_dbg.c index c7533fa7f46e..ed9c228f7d11 100644 --- a/drivers/scsi/qla2xxx/qla_dbg.c +++ b/drivers/scsi/qla2xxx/qla_dbg.c @@ -67,6 +67,7 @@ * | Target Mode Management | 0xf09b | 0xf002 | * | | | 0xf046-0xf049 | * | Target Mode Task Management | 0x1000d | | + * | NVME | 0x11000 | | * ---------------------------------------------------------------------- */ diff --git a/drivers/scsi/qla2xxx/qla_dbg.h b/drivers/scsi/qla2xxx/qla_dbg.h index 8877aa97d829..4ad97923e40b 100644 --- a/drivers/scsi/qla2xxx/qla_dbg.h +++ b/drivers/scsi/qla2xxx/qla_dbg.h @@ -367,6 +367,8 @@ ql_log_qp(uint32_t, struct qla_qpair *, int32_t, const char *fmt, ...); #define ql_dbg_tgt_tmr 0x00001000 /* Target mode task management */ #define ql_dbg_tgt_dif 0x00000800 /* Target mode dif */ +#define ql_dbg_nvme 0x00000400 /* NVME Target */ + extern int qla27xx_dump_mpi_ram(struct qla_hw_data *, uint32_t, uint32_t *, uint32_t, void **); extern int qla24xx_dump_ram(struct qla_hw_data *, uint32_t, uint32_t *, diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index 26b93c563f92..a37a4d2261e2 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h @@ -515,6 +515,9 @@ struct srb_iocb { #define SRB_PRLI_CMD 21 #define SRB_CTRL_VP 22 #define SRB_PRLO_CMD 23 +#define SRB_NVME_ELS_RSP 24 +#define SRB_NVMET_LS 25 +#define SRB_NVMET_FCP 26 enum { TYPE_SRB, diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h index 3673fcdb033a..2946c65812cd 100644 --- a/drivers/scsi/qla2xxx/qla_gbl.h +++ b/drivers/scsi/qla2xxx/qla_gbl.h @@ -119,6 +119,13 @@ void qla_do_iidma_work(struct scsi_qla_host *vha, fc_port_t *fcport); int qla2x00_reserve_mgmt_server_loop_id(scsi_qla_host_t *); void qla_rscn_replay(fc_port_t *fcport); + +/* + * Used by FC-NVMe Target + */ +int qla_nvmet_ls(srb_t *sp, void *rsp_pkt); +int qlt_send_els_resp(srb_t *sp, void *pkt); + /* * Global Data in qla_os.c source file. */ diff --git a/drivers/scsi/qla2xxx/qla_iocb.c b/drivers/scsi/qla2xxx/qla_iocb.c index 032635321ad6..70cd55884842 100644 --- a/drivers/scsi/qla2xxx/qla_iocb.c +++ b/drivers/scsi/qla2xxx/qla_iocb.c @@ -2113,7 +2113,7 @@ __qla2x00_alloc_iocbs(struct qla_qpair *qpair, srb_t *sp) req_cnt = 1; handle = 0; - if (sp && (sp->type != SRB_SCSI_CMD)) { + if (sp && (sp->type != SRB_SCSI_CMD) && (sp->type != SRB_NVMET_FCP)) { /* Adjust entry-counts as needed. */ req_cnt = sp->iocbs; } @@ -3491,6 +3491,9 @@ qla2x00_start_sp(srb_t *sp) case SRB_NVME_LS: qla_nvme_ls(sp, pkt); break; + case SRB_NVMET_LS: + qla_nvmet_ls(sp, pkt); + break; case SRB_ABT_CMD: IS_QLAFX00(ha) ? qlafx00_abort_iocb(sp, pkt) : @@ -3516,6 +3519,9 @@ qla2x00_start_sp(srb_t *sp) case SRB_PRLO_CMD: qla24xx_prlo_iocb(sp, pkt); break; + case SRB_NVME_ELS_RSP: + qlt_send_els_resp(sp, pkt); + break; default: break; } diff --git a/drivers/scsi/qla2xxx/qla_target.c b/drivers/scsi/qla2xxx/qla_target.c index c4504740f0e2..e15ea80916c1 100644 --- a/drivers/scsi/qla2xxx/qla_target.c +++ b/drivers/scsi/qla2xxx/qla_target.c @@ -445,6 +445,17 @@ static bool qlt_24xx_atio_pkt_all_vps(struct scsi_qla_host *vha, return false; } +int qlt_send_els_resp(srb_t *sp, void *pkt) +{ + return 0; +} + +int +qla_nvmet_ls(srb_t *sp, void *rsp_pkt) +{ + return 0; +} + void qlt_response_pkt_all_vps(struct scsi_qla_host *vha, struct rsp_que *rsp, response_t *pkt) {