From patchwork Wed Sep 26 16:25:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Madhani, Himanshu" X-Patchwork-Id: 10616223 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 BC5F7174A for ; Wed, 26 Sep 2018 16:32:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AE33D2B503 for ; Wed, 26 Sep 2018 16:32:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A2C3E2B511; Wed, 26 Sep 2018 16:32:10 +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 19A642B458 for ; Wed, 26 Sep 2018 16:32:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728431AbeIZWpx (ORCPT ); Wed, 26 Sep 2018 18:45:53 -0400 Received: from mail-eopbgr680068.outbound.protection.outlook.com ([40.107.68.68]:63712 "EHLO NAM04-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728181AbeIZWpx (ORCPT ); Wed, 26 Sep 2018 18:45:53 -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=/EU4C/vWJxaCOjyxqXJF8zz2zX/zyhS0YiGLw/Qxhzk=; b=a4jJgmmf8qk8uqo1PXb6I+ymDANesW3OoSVvUFyIIRboQVnV8FRolwH++u/rJIRBqbRlzIAegufxuAIHbKaoFOmeMujFPrilKk+PNPvUt8j9u3ASzBzjIXHU5rSyplGvJKT8rJE5BJjPVKAKJqSqMpM5Qo1CKlfDKfB2lJL8DBE= Received: from CO2PR07CA0063.namprd07.prod.outlook.com (2603:10b6:100::31) by BL0PR07MB5489.namprd07.prod.outlook.com (2603:10b6:208:89::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.16; Wed, 26 Sep 2018 16:32:03 +0000 Received: from DM3NAM05FT038.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e51::206) by CO2PR07CA0063.outlook.office365.com (2603:10b6:100::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1164.22 via Frontend Transport; Wed, 26 Sep 2018 16:32:02 +0000 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 DM3NAM05FT038.mail.protection.outlook.com (10.152.98.151) 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 16:32:02 +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 w8QGPbuF024365; Wed, 26 Sep 2018 09:25:37 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id w8QGPbKV024364; Wed, 26 Sep 2018 09:25:37 -0700 From: Himanshu Madhani To: , , , , , , CC: Subject: [PATCH v2 4/5] qla2xxx_nvmet: Add SysFS node for FC-NVMe Target Date: Wed, 26 Sep 2018 09:25:34 -0700 Message-ID: <20180926162535.24314-5-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)(346002)(396003)(376002)(136003)(39860400002)(2980300002)(438002)(189003)(199004)(107886003)(2906002)(69596002)(5660300001)(186003)(50226002)(72206003)(336012)(76176011)(6666003)(6346003)(4326008)(47776003)(34290500001)(48376002)(50466002)(80596001)(81156014)(8676002)(486006)(126002)(1076002)(44832011)(16586007)(86362001)(575784001)(446003)(81166006)(8936002)(51416003)(356003)(87636003)(36756003)(476003)(2616005)(305945005)(106466001)(26005)(42186006)(2201001)(316002)(11346002)(478600001)(110136005);DIR:OUT;SFP:1101;SCL:1;SRVR:BL0PR07MB5489;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;DM3NAM05FT038;1:FaUqL+Eu0/QiaelsdXsgnKLETLdpl7VGpd6qrLqd74Qom8cEQgx8eT3CrlDni9l5qnUXxWSBjGh1x1YXTa6o9pTKHq0sn0rgWxgel1lxVAtcA5bNYchXiYa8voHrkolB X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 76f98eb8-4bc8-44c3-f846-08d623cd96f1 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4608076)(2017052603328)(7153060);SRVR:BL0PR07MB5489; X-Microsoft-Exchange-Diagnostics: 1;BL0PR07MB5489;3:49miY/ZHltVMjNtx5FE+wp8bH/I6HtjZSD1xDzYt0ZX0NAmr2eJYJ1eJVn8+9tYv5XPe4/xZ3UKyqwPLfN/rlWlHpw8bK0Ww8TAeu3Q7ljfjUd1ppnDa26/QHSRZq5HoThSw3Of8nMTUVoqbOinyYNI3d3dAArdDvQed6nl3aRk2Sn5OLp66DBXdMgJZBAASsl+zp6FDlr2ijQaybaZXa1xMcLXm99pwnS9+ltwa5SGciD2VLppTpOM0muySIOc0Nem7L49FlhwObxogBREyWQPVwrkEgiewqwRJ+0naAORxVaUsBMqiKA6CKFENCr6mcLGQzQSssxIRP1QtVJxEiDyf7AWPMGi6UaEMLxunGto=;25:9+fjD7eUwtDfnnwzd8WdQ0O68ssLC/MpUK3MtWrMSutCHvFhnFra4efPH+0aW0RcLIuxfu8wC18/VUCfv6oMigf6UawzztpHbsgtyV74jcLSdbdgrez6d5j/icQX/uSVu0d6u6ZJMuyOVRV9Z69GbGCbM82MuqYWtFZ7Mms2A+nI22jeTVhGP9ree8EzSEARwl9jI5opG4vJ67UZnTgruH3u9DhhbLaHGdSd3M6sHPQlejIoIn3/ylA9SsKhjl3MNUGh94H1DrFIXf3NiJBgeQ9qGnweWrgK69q3po3aBy4zuVMtQzTQQ8dOhqXkfiwIkuBRv9nRxVx0XQhemvWK+A== X-MS-TrafficTypeDiagnostic: BL0PR07MB5489: X-Microsoft-Exchange-Diagnostics: 1;BL0PR07MB5489;31:dwCZoWDW8yy4O3mTkNRkxxsgq2rMf17oi2siVkRRA6S9YkGspNb4nkjxeuw7gVXxtOJL8EjBPKVB8dGezsagvSQJ8zUykD6hUDDyH6BPLuIUjpmzft1MbvlK+gbq1ws6ants0jx4LlvFGhwwUx/g9lPlA3fyFNNpbbSvAxkdqAmsQy0J7pKnZODYIXfR7hjfR/K/W0Q/pyqHODdJKUxsSSQyzPk9LLEl9BSQ1+kvRq4=;20:U5p5O0bnH9n3AOSTtV9fiin82bUyJG5ctgQvPp6+mHATYbRgdOupCXtbsttGTHBVPiCC85005TFSVvCJ+vaqMoaQbTHz4axx+C6Xm/8b1qfldccrAth5ebvL+cLcrVYCyzn9M8/mB7fUiOdATtYzt0Sm8sIge+ZD6YBV6snjuAhPXlwKncIZjsTCJghQRIr0tHSr+gY/JVbVPrY77SS9kR14WD7okBkpiE8c0J6tTkMVQnP6GU6cmFnxrEPjJM8qRN/z4SgTGeU7+d6mTnKcndZjufVf78+rr2I/y+9oq+QMJERyh0nUmzYuhmun+JvbQuFTCHTQWzodrugcF+YLvGLrSGr2qhMFaSKgJlzKkPU9OwoEtkuiaOn52IcEVPEQfEhTNKrqVKFFS5Uw2FM18ANAMbmp3ebYnL+MOCeEZ0dRfikBoXXvg5yQEfaYwKCpu76zNiDL6b8FvbZxxptxO3CgMFBzQtZkXX2BZJNWWhu6rqcpNkuQZrI5Zgw5oqAB 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)(3002001)(93006095)(93004095)(3231355)(944501410)(52105095)(149066)(150057)(6041310)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(201708071742011)(7699051)(76991041);SRVR:BL0PR07MB5489;BCL:0;PCL:0;RULEID:;SRVR:BL0PR07MB5489; X-Microsoft-Exchange-Diagnostics: 1;BL0PR07MB5489;4:PVYDNKPSpLCwJOrkhXhnUAlv/90XGdJFQY8fPREXRPnnaFCHGUdTOtj72Uz6DBGLgNkcyQvN7ZB2xI8m4vlxqMuvfgmpSlrjtGxhaA+q5AoAPe56d8SIAW86lwrwQWs07KdnqiDNuACSjEygg2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mV8lkvSbl/cy0hq/njQSRNrCDaUBMlKVFgzo/tBX/w6O3YyCyTkBUHGWaRcfbcSX6JLJqOf5pPT8h/om/E25BxepCoa9Ums0UbeksfKIuWlbJFbKb3vNlg8VPyOXdhEQr6/F8iovAbk2d6Q==;5:4rjRgH4IZ+IaNt/171zqX0SrsiLNRLWjzEG+93MUiwoKeo6EAZ7xmJJKiCGCxLW+lz5NADEIp0Pvxnu+jRBeAYlwBAcj+CWp2ErYpmpf6b8dyVWpuuDYRvqFJjRPxU24XS8R9lLs9i47by3ZtuahfpJXTVPtEQmxHoqEebLex44=;7:Pkd9htKrJ23DZuLhohnvwq1FzYvjnoga0OdHhhTjzdMC6ZCGh9wbdoS2pMZfJE/nQyNvr8MhJmFaQmYL+PVILiNHCStVDekOyb8UgkHbPCtJdiseqwJUl+HBEkYtKMTdsk5NfyzI02Go/lrc0itATFvPQp3oUnmpxc9AToi1k9vy+bea+AftVMCUruEQWohzRvdord4DM0AA/v26ueBHgta9Hy3mHMxB1o9gB1YPUSWTjkX8i4k3atZkOdvs5YNU SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2018 16:32:02.1743 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 76f98eb8-4bc8-44c3-f846-08d623cd96f1 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: BL0PR07MB5489 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 5335c0618f00..cc0fb83b8f69 100644 --- a/drivers/scsi/qla2xxx/qla_nvmet.c +++ b/drivers/scsi/qla2xxx/qla_nvmet.c @@ -546,7 +546,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); @@ -632,7 +632,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); @@ -707,7 +707,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