From patchwork Wed Sep 26 04:03:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Madhani, Himanshu" X-Patchwork-Id: 10615275 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 9479F3CF1 for ; Wed, 26 Sep 2018 04:27:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8552B28A52 for ; Wed, 26 Sep 2018 04:27:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 794432A5E3; Wed, 26 Sep 2018 04:27: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=-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 58DF828A52 for ; Wed, 26 Sep 2018 04:27:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726355AbeIZKiB (ORCPT ); Wed, 26 Sep 2018 06:38:01 -0400 Received: from mail-eopbgr700052.outbound.protection.outlook.com ([40.107.70.52]:61068 "EHLO NAM04-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726319AbeIZKiB (ORCPT ); Wed, 26 Sep 2018 06:38:01 -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=YheErGubLOFhdlhS41OEw6MnhwECI53nXkk6CBdTuwY=; b=XSK12v1n9VRXf35DvXb/SxAuENz62VLgHvU77rfBRM3QKYU+sl4T32dH9unba/+H74dYBQyLzQeKDi/+lADm15ZUxtFAzknk1EQcpP03vdGvfddj7DF5pN95sfIX1im2pMc1i1ikzhsTZ0MSlGOmCql/qPhyE9RZyOACskrXzPc= Received: from SN4PR0701CA0009.namprd07.prod.outlook.com (2603:10b6:803:28::19) by BYAPR07MB4663.namprd07.prod.outlook.com (2603:10b6:a02:f1::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.15; Wed, 26 Sep 2018 04:26:57 +0000 Received: from DM3NAM05FT008.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e51::209) by SN4PR0701CA0009.outlook.office365.com (2603:10b6:803:28::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1164.20 via Frontend Transport; Wed, 26 Sep 2018 04:26:57 +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 DM3NAM05FT008.mail.protection.outlook.com (10.152.98.114) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P256) id 15.20.1185.5 via Frontend Transport; Wed, 26 Sep 2018 04:26:56 +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; Tue, 25 Sep 2018 21:03:41 -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 w8Q43eEU009758; Tue, 25 Sep 2018 21:03:40 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id w8Q43eKT009757; Tue, 25 Sep 2018 21:03:40 -0700 From: Himanshu Madhani To: , CC: , Subject: [PATCH v2 2/5] qla2xxx_nvmet: Add FC-NVMe Target Link Service request handling Date: Tue, 25 Sep 2018 21:03:36 -0700 Message-ID: <20180926040339.9715-3-himanshu.madhani@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20180926040339.9715-1-himanshu.madhani@cavium.com> References: <20180926040339.9715-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)(376002)(346002)(396003)(136003)(2980300002)(438002)(199004)(189003)(5660300001)(26005)(11346002)(486006)(6666003)(446003)(186003)(80596001)(336012)(478600001)(87636003)(69596002)(72206003)(126002)(50226002)(8936002)(81166006)(81156014)(2616005)(34290500001)(14444005)(476003)(86362001)(106466001)(2906002)(76176011)(51416003)(47776003)(4326008)(305945005)(36756003)(356003)(48376002)(50466002)(44832011)(1076002)(316002)(54906003)(42186006)(110136005)(16586007)(8676002)(106002);DIR:OUT;SFP:1101;SCL:1;SRVR:BYAPR07MB4663;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;DM3NAM05FT008;1:qvn36zFS0IpRecSZknS5KVWDWIfidSeZ5CJSEPoYgJDP69PhGqhcFMrvjTQc8BtW5m8/WfxC2owONnH4fdXXP0kGyERjsauy2qs9Vb4QVtk/ZHLp1f6JfwnFTwZ88MrR X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3e4b7ab5-f2da-4b4d-0f22-08d623684b98 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4608076)(2017052603328)(7153060);SRVR:BYAPR07MB4663; X-Microsoft-Exchange-Diagnostics: 1;BYAPR07MB4663;3:9OhGnu4umPTtbpRJMUZ73OHn4YFII8Oe7ibHT3/a2W5a31PZ9rp3G+aY8T5srJ7zIuk/+iUjbOtgQk0GiCt8aBakpNBdxKCLVSwoz9GRN77ztAR98CgtZvIpxMOCp2q5dv6w4IUSNviFBI4Ok1Vool+yu2hzCfL7aWyAfgigUCnNeKq2TLMXDx6AmTspj9YoyBYqhYZ2U3/kV4VHdN11ytUO+9Gtk9MPngDLjInCdRCTQ1iDLpDnLxRcomBN57eYjz7eV6JbBg8GFrRXzPSHepMqmsbpWLVOBUnXyF16IDMuEYGbPEHnXM7l+OKB97g4DHxpfqTENnFNzcZmUAs45039gC4nrmyrNt/XZyRLjPs=;25:H1ZIk/8t5fKBTs3o0EYnV41hSO+NvzNhEKB602Yj6ORQ6KODUZJuNSb5XeJawRY5Rb6Ycx5GUlj/Dq9cOZpscXUE/C8dVnyJrpX268JfzSurvEmnNl2ojTpANeCk9pisrFs8sebXT9SZRmLZmYWM25gyyJZ8dVFeBhhENIGcs7Nf0mHOM6+SGooPYYNv5WuZ3LGG8/f9tf5yMutOqvFdSGjRAWo9SvVI0j0jWxt16J8hUWDpPiC40tl9QI9xtx9A1iady2mre9HxP/v/eDOYFYeSAzhHHO+w+rVzpyR7heqvm/W1SZV2VaeZbg/KhuOLdOelbjjbKUfXM5eK6DgQoA== X-MS-TrafficTypeDiagnostic: BYAPR07MB4663: X-Microsoft-Exchange-Diagnostics: 1;BYAPR07MB4663;31:kCSLvUORd4lGCdmLvtNmzveDld1LM0sAfRAaMAuCG4zH8tOFXcYaxwitY4MLE7IBpJ/krhD5tnvCDou2alA59zFWPTHufVibICzoN+C8QCACyF9EF0A7gC2c0d7xMjC36sUo/cn3KUsZKlNXtMWxEXXzFmYfzI3UicONhBOKQ2pbMYPjFJ9dq0nat4VemhElv1SJxbTHal5bz+t9ZJZKJQ5N+npeXpRtNwo6HRlIMjA=;20:ZGxNblpnXJAXcHG0c9NA/Pz8Rx5enrGiZtIOuxS/+6UxEGG9zujOI5Io00RBWVdJ5qB593HDjq0WeChECceenYl6zoBDSFdQI0w3o84Y8ZRzJhW5Io9M+qYZKzJCEyr5yhNZsL44ASSPQJx1lEaqFmW/7UcvjslOkedKbH0tAgNKnM9I5Hh/fmLtXEUbyaAVCWOGixQJARbQWpy5eybdGOHLy5U6IYggehXu7wmoh7vh6XmA1wGFqKxYxhSA2UWtwXLZzvfHAIEImUwp7b1L9DnZZjJQZkPj65BMAwjWK5Twz0xwPCQ/SNd03RiJQ66vgSPvwfeF4BuHjkmA4MQr/7BXuqOOrFTRC2LFwGEQ6MwNCoMEnH8heH4CTV2qATHJPz5Y6Os/hCMjp4m1uTPe5uUskH7J1BK4wITewRufQgXyiNUYuVVZx02QyUc0j1ctcd05Uv99lC5CMSXN9dO/3L3+qPjncgZPdqeE0+CpPCq0E4yFb9MLQK3ow+wCqGcf 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)(8121501046)(5005006)(10201501046)(93006095)(93004095)(3231355)(944501410)(52105095)(3002001)(149066)(150052)(6041310)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(201708071742011)(7699051);SRVR:BYAPR07MB4663;BCL:0;PCL:0;RULEID:;SRVR:BYAPR07MB4663; X-Microsoft-Exchange-Diagnostics: 1;BYAPR07MB4663;4:zRpEw4YlWibMy6qrzBNkP3VXUgzzcuuFqwhMcMb99meNRbl5u/rUF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aMKBa/7QJXK+eQnCAHedMgloWss5UhtAa6W281sixUz/zNLozskqOt9xuyBOdiDlqngCbqYIp1QZA/7M9PGJvUwKe6CUrE6cb8VSSgM2xmysIOgJcAjXQXniAeRP7J2pWxj5RUidVXnhw9cD6ceHrNsqIXx3Xf+pjkiMAjrxdXcNgvyhpLsODBD20/bWP9l0TRw==;5:MtIMqIGPcC2SqwowYnffVhqmQGCDr8gfIBJQ0C4blOU0EJHX/ES9gWOyP+OWJByl0Ter3QzfE+fCFIGlfNeDCySBZoOtDjuNY47FowrPkoljfDS/6a7RJHqupbvLCYcFG5rvgkvRQGVDYM8IVaFCZTDUbCs2HT0HsThO/mu4004=;7:3TNZ32vAmyoxbX43xel9Xi0e+zO582Nvl6cu81WBpwvZPQe45Xrfhto7mG5jQzoGXZVE+Jj9iDBrC6P1jZvyyJqTiOXeNoVCVE9b5JJ4Xmmyj1GVbOp2jWsQb4d2tN5LLNh3i1llLXdxqsyAu5mb+Yt2Ms1V7hxBCk0z/ZA0winOSue8Dr+BhQIDevZYbrW1/VgzgimmO9etUqCkGI1Usk9HfQ4A/+HHcbnXHLe8/hTGyAcwfR3FVuDaLJfQ8+KZ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2018 04:26:56.8362 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3e4b7ab5-f2da-4b4d-0f22-08d623684b98 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: BYAPR07MB4663 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_iocb.c | 42 ++++++++++++++++++++++++++++++++++++++++- 3 files changed, 44 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_iocb.c b/drivers/scsi/qla2xxx/qla_iocb.c index 4de910231ba6..cce32362cf21 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; } @@ -3433,6 +3433,40 @@ qla24xx_prlo_iocb(srb_t *sp, struct logio_entry_24xx *logio) logio->vp_index = sp->fcport->vha->vp_idx; } +/* + * Build NVMET LS response + */ +static int +qla_nvmet_ls(srb_t *sp, struct pt_ls4_request *rsp_pkt) +{ + struct srb_iocb *nvme; + int rval = QLA_SUCCESS; + + nvme = &sp->u.iocb_cmd; + + rsp_pkt->entry_type = PT_LS4_REQUEST; + rsp_pkt->entry_count = 1; + rsp_pkt->control_flags = cpu_to_le16(CF_LS4_RESPONDER << CF_LS4_SHIFT); + rsp_pkt->handle = sp->handle; + + rsp_pkt->nport_handle = sp->fcport->loop_id; + rsp_pkt->vp_index = nvme->u.nvme.vp_index; + rsp_pkt->exchange_address = cpu_to_le32(nvme->u.nvme.exchange_address); + + rsp_pkt->tx_dseg_count = 1; + rsp_pkt->tx_byte_count = cpu_to_le16(nvme->u.nvme.rsp_len); + rsp_pkt->dseg0_len = cpu_to_le16(nvme->u.nvme.rsp_len); + rsp_pkt->dseg0_address[0] = cpu_to_le32(LSD(nvme->u.nvme.rsp_dma)); + rsp_pkt->dseg0_address[1] = cpu_to_le32(MSD(nvme->u.nvme.rsp_dma)); + + ql_log(ql_log_info, sp->vha, 0xffff, + "Dumping the NVME-LS response IOCB\n"); + ql_dump_buffer(ql_dbg_disc + ql_dbg_buffer, sp->vha, 0x2075, + (uint8_t *)rsp_pkt, sizeof(*rsp_pkt)); + + return rval; +} + int qla2x00_start_sp(srb_t *sp) { @@ -3493,6 +3527,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) : @@ -3518,6 +3555,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; }