From patchwork Fri Sep 14 21:28:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Madhani, Himanshu" X-Patchwork-Id: 10601249 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 954EF14BD for ; Fri, 14 Sep 2018 21:28:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7C0502BA1F for ; Fri, 14 Sep 2018 21:28:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 705E02BA23; Fri, 14 Sep 2018 21:28:31 +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 DF7442BA1F for ; Fri, 14 Sep 2018 21:28:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728173AbeIOCop (ORCPT ); Fri, 14 Sep 2018 22:44:45 -0400 Received: from mail-sn1nam02on0075.outbound.protection.outlook.com ([104.47.36.75]:52378 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728031AbeIOCop (ORCPT ); Fri, 14 Sep 2018 22:44:45 -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=zgn2z3ie+Qb32pS6CXg1j7h03OzxjMF1BphDgPQ2K7k=; b=j61HxwMeg5E0zFVCuXHnLyOJc1cCIi8vC3c+Q6TYxzLI8MxNNdhS4hWsSS+rjuQuI3NbLfMMO4RHtQLYfvlvzEOtQqYOcUu1X1TLfCGx6NzFK6H01ApV87XbYQ7W5BUe12tO7jUtZ/0kD9ODSH5+QLqXWkhuAPx/grK9O8ezQFs= Received: from BYAPR07CA0030.namprd07.prod.outlook.com (2603:10b6:a02:bc::43) by DM6PR07MB4394.namprd07.prod.outlook.com (2603:10b6:5:bf::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.18; Fri, 14 Sep 2018 21:28:23 +0000 Received: from BY2NAM05FT006.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e52::206) by BYAPR07CA0030.outlook.office365.com (2603:10b6:a02:bc::43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1080.14 via Frontend Transport; Fri, 14 Sep 2018 21:28:23 +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:23 +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:13 -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 w8ELSCbv011518; 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 w8ELSCdH011517; Fri, 14 Sep 2018 14:28:12 -0700 From: Himanshu Madhani To: , CC: , Subject: [PATCH 5/6] qla2xxx_nvmet: Add SysFS node for FC-NVMe Target Date: Fri, 14 Sep 2018 14:28:10 -0700 Message-ID: <20180914212811.11463-6-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)(376002)(346002)(39860400002)(136003)(396003)(2980300002)(438002)(189003)(199004)(336012)(48376002)(16586007)(36756003)(50466002)(26005)(69596002)(80596001)(51416003)(54906003)(110136005)(86362001)(72206003)(76176011)(106466001)(478600001)(87636003)(42186006)(316002)(44832011)(486006)(50226002)(4326008)(2906002)(2616005)(11346002)(47776003)(446003)(356003)(8676002)(5660300001)(8936002)(186003)(106002)(81166006)(81156014)(476003)(126002)(305945005)(1076002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR07MB4394;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:0uaAcGo3i1YlHdtzAK11IVHDHTTh8kTgQNCyYldsDzlyaCrg+lhp6bjGcsOVXPKrzsvDZ8sg5rNeccfYqM7QpXc5KXgm0yFJg3J4VmZA556F/f6GU7etTiEmXV4kJI0u X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b9d4c880-6b06-4650-5f51-08d61a890044 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4608076)(2017052603328)(7153060);SRVR:DM6PR07MB4394; X-Microsoft-Exchange-Diagnostics: 1;DM6PR07MB4394;3:6LMORugOYW7J8BdyHdusICK85vJtIgtzzf1pmugFKSgYGyfL/g/P1wrLLdnJiqOfbaOnlKMFc4Sk7sy8P4IUD9qS4mGKt404Yze8KT7TU0h+MZG91GN3VWmWLSsRJqJjm1LdboBcF2hWJuNLn4pzypfIGm1VN8dEZQCXzLctMFaW3kLGw7+Hq/1kh2mS+PMTJb/r2pQUbr5OnDAli1v3yS3a3vTbrJ64j+AnRyAfPoeZb5BlNCVZgC4SisLInpu9idyPW39NZFbtNYq9TmqwG7RGUOpVpmHSgn48WAt3yuZLdJuQeSRBgUdU2w80/c3ihbdhid72ct5aSyM6xQgpe8s/3ilCfDv9S8+5aLJOIHo=;25:DrFQuKrXmvIWXde1UA7kLB9ThMLHUsNCOgOFX6xkhV46c+JQr0qkPajk9IJASpHuQEDTcj2gaX4skTaO5YXs2CuB+BqryrKZX3ZupMWOTIUyeWoEhganvFCr7wRqeCMi/ktP5CeSVh/eLUbqsYjdjAnGQb/nM4Rj3RnP+CT3M+xVMpCRr77RtEXFVBWkVZkT8GOKUHdDRR9J2ffe/pwIGYoGWrB128BzNKB/ANVZkZf7h4G/FxrAvlQV0l7qwiBocoA2l7ArsWllSFZJQH5xMQhMuUPtCTxqnKmQskiidDHhDK2SZwCj4tWzVJBPWnAmBH1GtBmlWcSpg9pU5RMvyw== X-MS-TrafficTypeDiagnostic: DM6PR07MB4394: X-Microsoft-Exchange-Diagnostics: 1;DM6PR07MB4394;31:d5ldfetbmadqd5/oTUWPJ12L9a/lo/O8Ux/u7L/jjbdrPecdGFLZyGEE8MuUtaXYlxzMFXr8znOxx0m5HwT4A671OfvT0oIDNRIZG5mxlGBQ8Q7h6NJh6wECblPlVjZeEY3KmrQjU+3A6d9DtRKeQ6cHGTAY8qrOHuha2gMm/DbqrT57TY2SFV7a6Ig8Y6u2a2WcZu+SebQ7jkJmrw68fqurTNaw5yCvRKKfjC68MOg=;20:xOWI01BqAjwQb47zOE1KtBgk86WyZBEtt9uiQmJ8a6vQZY/C9WmY6imEuLokOc4v/ED50gfWk5qmNc9Gz4vXbVOwIGhujd/RSZS5S42YIXGC3KmzR2DSCR6t+eCwna9pEJgfUdRQyiDZfsVOMD6FQ4dkzyzTZbo0qdiGVGGGTDnRLrirYDFx4mYIQx0JMcFKc5TpQoKnNN0vSRV8vwcX5Vhr3jcNxi1PKdOEAL93pSvA2anQe5w2/Vgnv3m2BxfyyHEES0IRg3qleSeto2toxIbZXeUA9WNoBZT9qtsNB3oydxChJgZR/wkGuOoreUc8D3TkGRghuD7Lx9s/PTk1/mvn6L2oA18nCA+1TUFyt9qcM/6PhC92jzt/dt3jCjQ196zJDLWkIbjA7CUlUZgzzMC0GHG7LuzOHAgdhrcU3bxPe/cDkDIC+pC4S9o/UJN8BYS0OM0kUZwIt1+HQ+jGpDFYcgIlG/dc5xBqg0Xf/ua7AFwiieobwhG72719eTqW 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)(93006095)(93004095)(3231311)(944501410)(52105095)(10201501046)(3002001)(149027)(150027)(6041310)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699050);SRVR:DM6PR07MB4394;BCL:0;PCL:0;RULEID:;SRVR:DM6PR07MB4394; X-Microsoft-Exchange-Diagnostics: 1;DM6PR07MB4394;4:5hXJ+vUOfBxbEPX+fQJ1Lj1HDXAWtbxuQmrWMFUsPRWw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RxIJc64LrXb2gZkO4xQaHFr7QY6rgmXy7xlAMlk1KwLM5K5ph+GEiDCR5iPOF5UwjO1n3pXsyG2mEasg8hhZyVbFMFuMbpDraDSmMGGEIvOf5xFEDo8qruA4EnfF++haB0T4Lq+94YP0IUZ0br4SC2w==;5:bPqFgYoG6VSx0UQXlcsGaP/UQB2oB4lpwyfSyVMFbMZ48bajYHGb74ZhKy/ylbh9q1esKlsWIwQ0LUKabv9aF54sQQwYG4Iil9wZi54yFFkLl88jk9d7tD3cGfmu2EJJ/gAoJ+LTLSxsF98GGR6UUpMiPsfmr41WxrmKP73mqyY=;7:CxmW9onAU6Ri7Onv0sa8pBSdL5veU88mLVeWNc9zd1NN3dsSKchalONZIqGu9HfnCpg8DUwKj06wZOr3sYjqyUpBMnYscMBIftYpqJQCTMSAN64iDb3UUsKAYlKtBVEfyyVxlm6w9S42tryBLWivWvL30r5Ag5zFWc2ij6DvKzE2LK0sXGBlQUpYkqqEHaAJ1YksH42YaDl+bFhiMvE/678NHjFhpGLV3OhNEnQkhd466qxV8XNpKamOERYEU5CK SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2018 21:28:23.4638 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b9d4c880-6b06-4650-5f51-08d61a890044 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: DM6PR07MB4394 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 adds SysFS node for NVMe Target configuration Signed-off-by: Anil Gurumurthy Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_attr.c | 33 +++++++++++++++++++++++++++++++++ drivers/scsi/qla2xxx/qla_gs.c | 2 +- drivers/scsi/qla2xxx/qla_init.c | 3 ++- drivers/scsi/qla2xxx/qla_nvmet.c | 6 +++--- 4 files changed, 39 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c index a31d23905753..0d2d4f33701b 100644 --- a/drivers/scsi/qla2xxx/qla_attr.c +++ b/drivers/scsi/qla2xxx/qla_attr.c @@ -13,6 +13,7 @@ #include static int qla24xx_vport_disable(struct fc_vport *, bool); +extern void qlt_set_mode(struct scsi_qla_host *vha); /* SYSFS attributes --------------------------------------------------------- */ @@ -631,6 +632,37 @@ static struct bin_attribute sysfs_sfp_attr = { }; static ssize_t +qla2x00_sysfs_write_nvmet(struct file *filp, struct kobject *kobj, + struct bin_attribute *bin_attr, + char *buf, loff_t off, size_t count) +{ + struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, + struct device, kobj))); + struct qla_hw_data *ha = vha->hw; + scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); + + ql_log(ql_log_info, vha, 0x706e, + "Bringing up target mode!! vha:%p\n", vha); + qlt_op_target_mode = 1; + qlt_set_mode(base_vha); + set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); + qla2xxx_wake_dpc(vha); + qla2x00_wait_for_hba_online(vha); + + return count; +} + +static struct bin_attribute sysfs_nvmet_attr = { + .attr = { + .name = "nvmet", + .mode = 0200, + }, + .size = 0, + .write = qla2x00_sysfs_write_nvmet, +}; + + +static ssize_t qla2x00_sysfs_write_reset(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) @@ -943,6 +975,7 @@ static struct sysfs_entry { { "issue_logo", &sysfs_issue_logo_attr, }, { "xgmac_stats", &sysfs_xgmac_stats_attr, 3 }, { "dcbx_tlv", &sysfs_dcbx_tlv_attr, 3 }, + { "nvmet", &sysfs_nvmet_attr, }, { NULL }, }; diff --git a/drivers/scsi/qla2xxx/qla_gs.c b/drivers/scsi/qla2xxx/qla_gs.c index 55dc11d91b35..ba58cfe7ff9b 100644 --- a/drivers/scsi/qla2xxx/qla_gs.c +++ b/drivers/scsi/qla2xxx/qla_gs.c @@ -698,7 +698,7 @@ qla2x00_rff_id(scsi_qla_host_t *vha, u8 type) return (QLA_SUCCESS); return qla_async_rffid(vha, &vha->d_id, qlt_rff_id(vha), - FC4_TYPE_FCP_SCSI); + type); } static int qla_async_rffid(scsi_qla_host_t *vha, port_id_t *d_id, diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 841541201671..01676345018f 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c @@ -5523,7 +5523,8 @@ qla2x00_configure_fabric(scsi_qla_host_t *vha) * will be newer than discovery_gen. */ qlt_do_generation_tick(vha, &discovery_gen); - if (USE_ASYNC_SCAN(ha)) { + if (USE_ASYNC_SCAN(ha) && !(vha->flags.nvmet_enabled)) { + /* If NVME target mode is enabled, go through regular scan */ rval = qla24xx_async_gpnft(vha, FC4_TYPE_FCP_SCSI, NULL); if (rval) diff --git a/drivers/scsi/qla2xxx/qla_nvmet.c b/drivers/scsi/qla2xxx/qla_nvmet.c index 5ce796aeb24e..60093651c91e 100644 --- a/drivers/scsi/qla2xxx/qla_nvmet.c +++ b/drivers/scsi/qla2xxx/qla_nvmet.c @@ -525,7 +525,7 @@ static void qla_nvmet_send_resp_ctio(struct qla_qpair *qpair, case NVMET_FCOP_READDATA: case NVMET_FCOP_READDATA_RSP: /* Populate the CTIO resp with the SGL present in the rsp */ - ql_log(ql_log_info, vha, 0x1100c, + ql_dbg(ql_dbg_nvme, vha, 0x1100c, "op: %#x, ox_id=%x c_flags=%x transfer_length: %#x req_cnt: %#x, tot_dsds: %#x\n", rsp_buf->op, ctio->ox_id, c_flags, rsp_buf->transfer_length, req_cnt, tot_dsds); @@ -611,7 +611,7 @@ static void qla_nvmet_send_resp_ctio(struct qla_qpair *qpair, case NVMET_FCOP_WRITEDATA: /* Send transfer rdy */ - ql_log(ql_log_info, vha, 0x1100e, + ql_dbg(ql_dbg_nvme, vha, 0x1100e, "FCOP_WRITE: ox_id=%x c_flags=%x transfer_length: %#x req_cnt: %#x, tot_dsds: %#x\n", ctio->ox_id, c_flags, rsp_buf->transfer_length, req_cnt, tot_dsds); @@ -686,7 +686,7 @@ static void qla_nvmet_send_resp_ctio(struct qla_qpair *qpair, ctio->u.nvme_status_mode1.transfer_len = cpu_to_be32(ersp->xfrd_len); - ql_log(ql_log_info, vha, 0x1100f, + ql_dbg(ql_dbg_nvme, vha, 0x1100f, "op: %#x, rsplen: %#x\n", rsp_buf->op, rsp_buf->rsplen); } else