From patchwork Fri Sep 28 22:46:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Madhani, Himanshu" X-Patchwork-Id: 10620505 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 8867C180E for ; Fri, 28 Sep 2018 22:46:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 77A8B2BE78 for ; Fri, 28 Sep 2018 22:46:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6BFED2BE81; Fri, 28 Sep 2018 22:46:38 +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 CD6052BE7D for ; Fri, 28 Sep 2018 22:46:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727423AbeI2FMb (ORCPT ); Sat, 29 Sep 2018 01:12:31 -0400 Received: from mail-eopbgr700053.outbound.protection.outlook.com ([40.107.70.53]:40533 "EHLO NAM04-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726943AbeI2FMa (ORCPT ); Sat, 29 Sep 2018 01:12:30 -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=BZYMSgoVkA4FtVCF7qrF4SFrzkd97mmk7HRJmNC4TG4=; b=kqDxzh1GPp1V2dPx3NBrn3WEaz8b/3IZKpcICdMDUrnqpqj4i9sqpobgZdLY5wNLXnH4PAlCE2Ju0sYVf+CdPIrnIMtYNrtbLxnzaPwxO2VQkvsnZjuC4Q48L4c85sYsZYkZvfWj+fnN/1ALA/l1tC7nTnrtxbL+Wm2hIkMRr5A= Received: from SN4PR0701CA0014.namprd07.prod.outlook.com (2603:10b6:803:28::24) by SN6PR07MB4670.namprd07.prod.outlook.com (2603:10b6:805:3a::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Fri, 28 Sep 2018 22:46:32 +0000 Received: from DM3NAM05FT042.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e51::205) by SN4PR0701CA0014.outlook.office365.com (2603:10b6:803:28::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1185.22 via Frontend Transport; Fri, 28 Sep 2018 22:46:32 +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 DM3NAM05FT042.mail.protection.outlook.com (10.152.98.156) 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; Fri, 28 Sep 2018 22:46:31 +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, 28 Sep 2018 15:46:26 -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 w8SMkRR3019816; Fri, 28 Sep 2018 15:46:27 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id w8SMkR4t019815; Fri, 28 Sep 2018 15:46:27 -0700 From: Himanshu Madhani To: , , , , , , CC: Subject: [PATCH v3 1/5] qla2xxx_nvmet: Add FC-NVMe Target Link Service request handling Date: Fri, 28 Sep 2018 15:46:22 -0700 Message-ID: <20180928224626.19777-2-himanshu.madhani@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20180928224626.19777-1-himanshu.madhani@cavium.com> References: <20180928224626.19777-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)(136003)(396003)(346002)(2980300002)(438002)(189003)(199004)(48376002)(69596002)(5660300001)(2906002)(80596001)(47776003)(34290500001)(110136005)(316002)(76176011)(51416003)(42186006)(50466002)(14444005)(106002)(356003)(107886003)(8676002)(16586007)(305945005)(36756003)(478600001)(87636003)(1076002)(486006)(44832011)(81156014)(72206003)(4326008)(446003)(186003)(26005)(8936002)(86362001)(6666003)(2201001)(11346002)(106466001)(476003)(126002)(2616005)(81166006)(336012)(50226002);DIR:OUT;SFP:1101;SCL:1;SRVR:SN6PR07MB4670;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;DM3NAM05FT042;1:Chbmv0BokS+s3qvz568tXQtaZUg33qqqaUwwlKnnMEbBl5MMWuhe+neO5I/utozjTAnNy+MLwqBtcoyhXmXQlxe6sLysOw1XX+QWpg6dV9EbIGP0ZXK3kEZwgAPI8C9W X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2c66bdf8-0dcb-4632-1134-08d625943ca6 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4608076)(2017052603328)(7153060);SRVR:SN6PR07MB4670; X-Microsoft-Exchange-Diagnostics: 1;SN6PR07MB4670;3:WoBqpIFYNVDuebCpaW9XNaLjtaaoIvG89qfx+Gf88BP8wFXRWZHSBk/z99rRh+tj5iJ8KqkdtMiDhUJpltjAaTqEd1rdjsQGhOX/sIaPwU4oKA2vJggOmxgPpoc5+vL0Y6E5bhGHgIctahURA7hG8pm9L4Zf6EA30qSl+xdk3vc6tcy2/Ubj84yxVkMrJIV0YL0sQNuKJj8LlYmnZl/L2+ekr2YonBosKz+4KxuFuSRuX5hVi0cUvkpWsG7ZgLu+krC4VKEHw/dnilJaCCzV4V0V1gKrrzT/3C+27vbrO9bi+ZcwiujRw8xPkRp9oEKFVmx/Kr3BQ037pgouP9XZNGFJU5fnBORRdDsayCf3avg=;25:8tbxR+nqP0JzFkANc3ZOBFIyWa9faTFI8LtolGaNb8+AVA+6ajWpF8DKyUjKjkMgZ3UIpXtgT8mROPVMVah89kUPvKKTffVq7nlvhcLdj+/RTG4zs6+x0cbqBSbPSOhGszp4sfuDem8s4DfH60sdHVwLDvoZ7DJjxoIEhSxE0mKo0NsYVunzyEWsuWk2cfGtrsUDifFPvPYOQC/MRqq6oSM/nsevMcYtx0hsxiZizM9EfrHMMicXnB9GGQxIgDTmSrDHTCCtBLEX42L1bYRLB4yReqVNA7MW9QW+speHhiwf3WVVHVv2qFA4XGkOn0fmdycWoebE0Z0bRCgEfm1nLg== X-MS-TrafficTypeDiagnostic: SN6PR07MB4670: X-Microsoft-Exchange-Diagnostics: 1;SN6PR07MB4670;31:ozTiHGRShgJt1ZbypeMGlKbSFwUUmSGo0Q7O7whsUZeayfNVLnlrKKqEBonfWc2WvVyJqLnIuzbsEVopPiGwQL+EMYDGDfEk20ITF22mEsmf4ZLW/u7/rg7ErkqP9slsZ1rXxqYrAjWYuM/i5irPjwJ1VSpEYc7PtPK4DoZBNfHukSTu6Wlz2ARV7MozNuDG2TZL7KQUD9BXUOKYJ+AHnOuF4AIXB9w+olEWckL+fG4=;20:ulKj/jLYE7FTuKn1OO2pSr5RgITyHE2ys1gkEvy2OZZXtJEivl3FwQ5w6asxQW7JwrhT/nkS8thievy6PLjsRM+txm7jOV5TuNWzsGG9oG/vLJ3bGPuHd0mfve8CRnlnD8E+gpGgTEc1PkgI4U6Pfmcf9QFD/u+Y86ScgWNwqyyMS3xm9f6cf4DkpS99T0ROHCczlhC4nObPTB/UawsppFgEiLTByNQ3cwxZE4HpDqmvz64gevjvbp1kNDs9YpNptVsu/eKYoneQloOG80oAx8ZtclwLtfqCxkyb6BrnLun6jl3YOtVFD1GplgT6R+IbA/QuvUJpb0h5XlIYLZrh3m7+OUDk5XPao1HdQKd5FrbUrRHr1iT01d/C6mOl/LzzQsHXAmkjygn7IOtFbcl/OLeB+QYbDSGBkvTjbOP+gE6pzP1ERzwBuPf5co4MSgdArrSz4/TLsOlQzIEb+2usSCjgdBXFJqpBbm2kxA66MdsJg3U021L6F5glaSylzwZk 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)(3002001)(10201501046)(93006095)(93004095)(3231355)(944501410)(52105095)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201708071742011)(7699051);SRVR:SN6PR07MB4670;BCL:0;PCL:0;RULEID:;SRVR:SN6PR07MB4670; X-Microsoft-Exchange-Diagnostics: 1;SN6PR07MB4670;4:TmY5rFzGDS2RpiH2p2H/vITg6T3A+V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qbHQOwo240tZUs4I4uETGS73E5xMf7EG86HGSVCQ7Ecq5DMvcDooXxcd2tT7dBX0MiVJTpkeha3v7U80Q7e5oMun/0ZmtK1GBZCFblgR1R5DeY8fZEQn3na+zcil5p4x6ErgejRJwcaxx+sy+fHat86hTCXkLco0Kv4BPvup9CSu9OQkHG0hMP84xvYmuUyip4ntrHNDHv8hhAZfddRXmLpxhwObrAxgeG1DKdHVZeg==;5:mfKTbbNG2TJeZNUWH8BEPVhnEvxh1JolKnXUNN3j/EwoM+VlpXKSNKNtrdp+ZHjOY3bFTMJu1Ud3dbYDta8+hym9uOgYVL3zpgMJHNKEroqKaUsBUAm08a23c0FqE1tfX/OFB+R5Ar/gpSPwzV3aD1lr+pZIHfIjWVebtzHHJ3s=;7:4DATTOV6D7eHPEbGQnY+EqCJXSFqoFWt8b91t4ve+cxh2dWdGsm1G10JfqPq49mnQVDOXRWk1Xb7LRkz7k2YtcLAdctl3+T21ktV06FctbBhA9kVdywVdxUuw+O+8XLaLDIY0C5TsHQgYKhEwbEQfXSyNZdZijjeCOBK58wA16aaokKrjqMTqMPeHVPsfvZbFQZcQEX4IJ8gf27W0WjAzRiCBN48fZtgDJ7CKpyreERGrQHmB07kqxXnos1EuZn8 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2018 22:46:31.6939 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2c66bdf8-0dcb-4632-1134-08d625943ca6 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: SN6PR07MB4670 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 4de910231ba6..19f8eb46f128 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; } @@ -3493,6 +3493,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 +3521,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 3015f1bbcf1a..dc680ffe2f49 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) {