From patchwork Wed Sep 26 16:25:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Madhani, Himanshu" X-Patchwork-Id: 10616219 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 EE1D0112B for ; Wed, 26 Sep 2018 16:32:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DD7AD2B4D0 for ; Wed, 26 Sep 2018 16:32:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DB8D12B4DB; Wed, 26 Sep 2018 16:32:08 +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 5512A2B4FF for ; Wed, 26 Sep 2018 16:32:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728412AbeIZWpw (ORCPT ); Wed, 26 Sep 2018 18:45:52 -0400 Received: from mail-cys01nam02on0089.outbound.protection.outlook.com ([104.47.37.89]:52436 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728181AbeIZWpv (ORCPT ); Wed, 26 Sep 2018 18:45:51 -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=PQHlTktzS+mSJGIRFIH2RPdAJ9otvr2Gf4777ithfV+mvEAy7Xni7fzchBetCklK0m7Eo1EO0gCbRqzCXBVcfc0c2rL4O88CUkVXqGn1aWXs10RrfJrdmjvvKeGn+1r4i8OS2DF7vgwA+s6oKkA2yu7MT5Rrzyo3PrQTseckC04= Received: from BYAPR07CA0020.namprd07.prod.outlook.com (2603:10b6:a02:bc::33) by BL0PR07MB5490.namprd07.prod.outlook.com (2603:10b6:208:89::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.17; Wed, 26 Sep 2018 16:32:02 +0000 Received: from DM3NAM05FT015.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e51::206) by BYAPR07CA0020.outlook.office365.com (2603:10b6:a02:bc::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1080.14 via Frontend Transport; Wed, 26 Sep 2018 16:32:01 +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 DM3NAM05FT015.mail.protection.outlook.com (10.152.98.124) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.1185.5 via Frontend Transport; Wed, 26 Sep 2018 16:32: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, 26 Sep 2018 09:25:36 -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 w8QGPaJg024357; Wed, 26 Sep 2018 09:25:36 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id w8QGPaeW024356; Wed, 26 Sep 2018 09:25:36 -0700 From: Himanshu Madhani To: , , , , , , CC: Subject: [PATCH v2 2/5] qla2xxx_nvmet: Add FC-NVMe Target Link Service request handling Date: Wed, 26 Sep 2018 09:25:32 -0700 Message-ID: <20180926162535.24314-3-himanshu.madhani@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20180926162535.24314-1-himanshu.madhani@cavium.com> References: <20180926162535.24314-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)(136003)(396003)(39860400002)(346002)(2980300002)(438002)(189003)(199004)(16586007)(44832011)(72206003)(2906002)(50466002)(48376002)(1076002)(87636003)(106002)(110136005)(106466001)(336012)(26005)(446003)(126002)(316002)(11346002)(42186006)(305945005)(476003)(4326008)(2616005)(80596001)(8676002)(2201001)(81166006)(81156014)(356003)(6666003)(8936002)(14444005)(186003)(36756003)(50226002)(51416003)(69596002)(486006)(5660300001)(76176011)(47776003)(478600001)(107886003)(86362001)(34290500001);DIR:OUT;SFP:1101;SCL:1;SRVR:BL0PR07MB5490;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;DM3NAM05FT015;1:glUXgfGJhuFAFELdHFq0C81NPtUsCONNyfbNM5H/rgpA4S7xT3HBRCq0tVuNbDi7IJauQ4jRNA6x/QQ6D7GN6jqQZ9CKrkud0ZW1Gy2uIJAeiFkjIg8G6MfGb4CelQCw X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 63552f21-029c-479c-c3a8-08d623cd9641 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4608076)(2017052603328)(7153060);SRVR:BL0PR07MB5490; X-Microsoft-Exchange-Diagnostics: 1;BL0PR07MB5490;3:TmBAWpPcuaJPgEu/vXNA8jTqvbsS3PX7lNNXuLzosC7GF+DWbDKj1tbF5nS7m/GNbH9GsvDDF4B8wdFQfY0vkPh3sBVMlz/aeExx8+ucIDBMB7uZbzCB5H2eSillEmgMgGxy02KqXrZb2bXenL5aQGsLhXlwOoIMwpqjxBQRVHvCD9tZFaWRnkyj+Fng2whAhzzK6tkt2OfWTs5PC3qGl/t+MqDorMMfjM/Za1ESJM1CIn2tp/ozqgjbXWqS8xEE1R1mA4v/d66pRTMOGXxc16fxHJyycVdySZjm43Z1EKg7u/5GzD5ZBmWpjIQO5kHcpBvafZ0zC4tXo1ax9nmSo9D4g289GOOGtEXU9KryDDE=;25:zYS2bvXm4fS5M+rLG6YhihJS+VNL9rbeDV5ijL6BpWDtdCdtbu0TB4zLX/+vgRUZ8KXnM7gTXpoKyqk1Ky8PQzUpZvsZ7dXghapiH1nRKYnsv0Iivq3elAiIJe1QgfMwvLZLLeNo/tuXO+Sy3mvTqI3Fe0vM3PRHuaIVjB2r/q5Thr+fPvj1Tmyd+VVAUMoHl2JtTacSeJeHAs1v8sJZbeM/twYgrRpIT2jJ+SlVItV0v3uurmt0/GL5T6vmsVAatguephOWv5TEq3XGpdGMCOAuE2tG2Yao3IJWYHmfO59/SM0EliJhz8tYtVa6XbVnC0jGNDtRtyW7qatdQwxWTQ== X-MS-TrafficTypeDiagnostic: BL0PR07MB5490: X-Microsoft-Exchange-Diagnostics: 1;BL0PR07MB5490;31:L59lZzGyHZqOaY8hFbi5hqjOPtWzFyKuPnOVS7YjIU09Nmwz69LSsqDGg6xTkhdGmZLmRGXmydL0HueknzRCQbh3i/6q65aM+Rr8hHPIjkJqDh/9VEH/8Fvt6QXyZJpwdfAMWv5tw1LgcBjF3hsxsginVjMhXei+3DoYvsdBPz/xwI7PVBKw9hs1Xf9VSVMWwqoJ+tGCvM37rrRZZJKvN3xSrxcHN6+jLrUjnQdy0KM=;20:+SDRmfaJ45gfyYJoHW4iIcKCfQG9U70V0GVxAh+qqAddurBXQjnMfCaj/ic7CVK+IyZSOs6ZaOYEu2EqXFxjzuiAQhSB/bpGRQHTALS0VBWrNlmGWbLpidE7qg/XkMIT9aRwUs3gzUvf5XeD6KeFXHdTzPTPjPy81Ic+aeqeinKnYpxn9nQ7fL4cdtd/Rm3n3yGTOlxwIlaLrL6Jg9D5p3HLUPi6Vci2mh6Rl4S8tQ/arSwQPfe9KcSLbnFXnDf7/cygGLUhbbBRWa39ddz0iePhwY9T8FoK/zDzQrvxbJf4mwyYxrszo4+38WvCrnZ8Tm8gAkq/FuMxKnpNHQExKVr8soy3qwumAsiHfcHU8V1oWewOYehqXykzWYZsU0G1O94OJ/bMKFj647ssrCbXuwxAM9vpK4iDdsZyfzBMT9/FA5E23gxWvt/WNQBhP5WgyhGJ3Q3ZPVWH/528jGAvAEAc3ycIh6YO2oFtVALHg1BtWlEFq0/YpZdPS7pPz9JB 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)(3231355)(944501410)(52105095)(3002001)(10201501046)(93006095)(93004095)(149066)(150057)(6041310)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699051);SRVR:BL0PR07MB5490;BCL:0;PCL:0;RULEID:;SRVR:BL0PR07MB5490; X-Microsoft-Exchange-Diagnostics: 1;BL0PR07MB5490;4:F/nJdVOE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2rRUTF3gefRtCIj2cM6A4t4fT9Z/BI3YSIXmJQwY0jXtMelUJveIakwlYYkU5DK8D7N4jedyqk8hCvmhH2KUlft1Jv7CUkljyprLRgKx6Bex3tHaguxn1lSBeyEQF8CTkdTDrnAsLPkIDQAT/+Nozx2qFbkR4SbzEqbuMgqBNdo9WlxMWs9n2lzdkYU6WdshPrVVu0plHSQ7ecQyPv2QRnOTCK02Nbbwxi0oWTUVgovhaqbvXmCahxv4pv/lt8NrZWftK41OvT2w==;5:j0DXyVCvV5l34JiJQe53uMJIMADq6HzgxUDqLChaECHTkCSyUjhHDGqSF0XTf77Fa2Rp3xkrQU4EH1mbqpLgBy4x2VOSAb95SUuoA7uK2RZGuuTGHG3PpRZtjbjjR0qO6REtHwA360mp1tGxCzACHw/U5F4VD17jeA3X0zwH01o=;7:CkJ1f1egrEwJoGVfPUwEHijXVyBEGGt3rvH84M5WyxZyo4fOlKX14rQ33ZtPvw6M+avcTAfaCb5rA3Rb4/dHoA+3kfPG8+SoW4QW288Bd7R811jSjf7635kjXzSrRLMTdlWuhGxs5AF1j5QmUTM/q/rAzj3n8MSGt6ZWMtDesKwTA2U0EOTC2Z5xsp5Rsl/qGimr+IzcuVvjLPzhxWI8WGcBmF1TAXP7pl0x59Kq61H8CwxmRGRBnoD2z5i3TTqc SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2018 16:32:01.0195 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 63552f21-029c-479c-c3a8-08d623cd9641 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: BL0PR07MB5490 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; }