From patchwork Wed Mar 21 06:09: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: 10298627 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1CBE66055B for ; Wed, 21 Mar 2018 06:10:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0CD5A29716 for ; Wed, 21 Mar 2018 06:10:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 018882971D; Wed, 21 Mar 2018 06:10: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=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 701F62971E for ; Wed, 21 Mar 2018 06:10:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751604AbeCUGKH (ORCPT ); Wed, 21 Mar 2018 02:10:07 -0400 Received: from mail-bn3nam01on0075.outbound.protection.outlook.com ([104.47.33.75]:60237 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751552AbeCUGJ6 (ORCPT ); Wed, 21 Mar 2018 02:09:58 -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; bh=0AIPZef9ZOVeQkk0XeQaHbwZS5nOC/g5bq3MIQZfhdg=; b=gDph1qDDEq6v5h5/pkQJUoV2lC8MUzU5xc6eQRTYd1NnEW7LcBwRtWkfTG7UAJevKI3nqKYVRmiyjcGrNSLdjueb0LDxhERzU6PH8J0mZ5vrORTtZfadqIvdgBQL4bHSoHQKnYFZ/DUn8C9HbXI6TnjfIF3F5Ij7Xz5oYUmmB0c= Received: from SN1PR0701CA0025.namprd07.prod.outlook.com (10.162.96.35) by BY2PR0701MB2087.namprd07.prod.outlook.com (10.163.156.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.588.14; Wed, 21 Mar 2018 06:09:57 +0000 Received: from BL2FFO11FD022.protection.gbl (2a01:111:f400:7c09::173) by SN1PR0701CA0025.outlook.office365.com (2a01:111:e400:5173::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.609.10 via Frontend Transport; Wed, 21 Mar 2018 06:09:56 +0000 Received-SPF: Fail (protection.outlook.com: domain of cavium.com does not designate 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 BL2FFO11FD022.mail.protection.outlook.com (10.173.161.101) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.527.18 via Frontend Transport; Wed, 21 Mar 2018 06:09: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, 20 Mar 2018 23:09:43 -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 w2L69hV7029535; Tue, 20 Mar 2018 23:09:43 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id w2L69hgT029534; Tue, 20 Mar 2018 23:09:43 -0700 From: Himanshu Madhani To: , CC: , Subject: [PATCH v4 08/13] qla2xxx: Remove nvme_done_list Date: Tue, 20 Mar 2018 23:09:36 -0700 Message-ID: <20180321060941.29468-9-himanshu.madhani@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20180321060941.29468-1-himanshu.madhani@cavium.com> References: <20180321060941.29468-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)(39380400002)(396003)(346002)(2980300002)(1110001)(1109001)(339900001)(189003)(199004)(47776003)(186003)(105606002)(72206003)(336012)(305945005)(80596001)(59450400001)(8936002)(8676002)(51416003)(81156014)(69596002)(4326008)(356003)(76176011)(6346003)(81166006)(26005)(50226002)(87636003)(36756003)(6666003)(1076002)(42186006)(316002)(16586007)(2950100002)(54906003)(48376002)(50466002)(110136005)(2906002)(575784001)(86362001)(106466001)(478600001)(5660300001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0701MB2087; H:CAEXCH02.caveonetworks.com; FPR:; SPF:Fail; PTR:50-232-66-26-static.hfc.comcastbusiness.net; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD022; 1:LXOcgcqVKwcwZlPT7OTndwlgMOQ/25JTxzZA5MKMJGHNr+vZiEuFkgNPa8eND/aWmsNl8flLmw7BXJ/VF+sTSR0U0VrZcWyacOb7JuwSCUJJ1SY8VJEaeNkDdWeU+YDh X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 268275dc-07a8-4813-d107-08d58ef25ea8 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060); SRVR:BY2PR0701MB2087;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=; 20:uBeW3wQcEboq4AcY5ZffSLmq50XqvtpfI0RiPA/li3ZAA44uOt4/goZVKTjSuYxbqrV4GThEwbuB9vA7j+nV0/iT7tWgF90UpGxpCioMilSHK+Xf1v69pbk/1YjIQvkxrk7ePFlsRbw4HXx/SZY1hPuPVhxHi2CMR2YQkJXJj5hDVKFQ1okPpu8yBj7c+DeL9uiN+ckMK4qnHVqJ9QTzQt+fyrqEMS6PhKDpD/oXFHfeG4MfI68NgSfDSjwvdq/wc8yoKBXE4QbbRdUlu6M1ole1y0MTwc7xoj02HbT9MDy+AQHjxrCYqzt/0tdQ6iOy9JQC5RT3R4Iyfi9K3wUobpyFTo5kLObqrPFIbyIy5eGOWyLexYmnuTlQXE25qJKFcktj7u+0pp9+u65jMIH9rGd3wu7tPlWPFWKTeKlIHknYmi9+T1vjkaSyN1eVf2IdOND+bax+LM0sadVnRk3ejqQey60ts2dIsfRTHrlCZZ1USj//FAu5l8frJnLqRISB X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231221)(944501319)(52105095)(93006095)(93001095)(10201501046)(3002001)(6041310)(20161123560045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011); SRVR:BY2PR0701MB2087; BCL:0; PCL:0; RULEID:; SRVR:BY2PR0701MB2087; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0701MB2087; 4:h00UPzwCNPC+fD0y1Z1a2IfUr9PMW5AhbKy/ZYJjEx17Sik+LqtcdB9rrnEtR5UB2CgFckK4FnsOEso6DsBpVwJP6TMvwHEf+4sJSOL2xrgHNjIUM50NwklEMszyLlj0hfiFZfeyvPqjW90Pef9+FNVLyf4egZB1c2CnGEhyx8h5xmfuzb/+tFbFaZ/k9GnfosKNGfgV27hb83LwifaI7LzndRB7yexHdcHsC+4brq4Y35kQp17E+8F3c9pAFj68z/tMU7z7zYSECGMRABR3Xw== X-Forefront-PRVS: 0618E4E7E1 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR0701MB2087; 23:q2c3wmcKj1uXB0ncC62DA2x7j8QMsMiOc1UXxfz?= =?us-ascii?Q?mRrzmW+RWoXWk0evEhmEwfEaklHFXsakzDaO1vsxZirni5N9eqABMvG3l32g?= =?us-ascii?Q?xJEHkD82FYyYZzHJsusay8fEuqff057TMue5XtUDLdrWilGt7UnP85c6ow2J?= =?us-ascii?Q?e/b1tqrt5rfGjk/G6374jT0FIz0FqJm5RrAlWgRlIdnyll5/FAc37SsL9gTI?= =?us-ascii?Q?s86ZBgXeaC4NeFTylgYRjcMxakrQ3wr10SYtqZudAMEfJVvX3oSfTNDiZ+gT?= =?us-ascii?Q?7118cenf7nufEI79OFZsT0xT+c1jaODtNzcaqxhuJLaNvgNebywEUuCJrtEr?= =?us-ascii?Q?9SbNGKf1fC8M4SSOVxeIWMnCgGJJ+heSWjzUPyvXm3lpSK/3iY/kooHNz1Dz?= =?us-ascii?Q?MFiqdih2x8LOS9G9q8R9PLFP/+gt/ZIEMYFGQaXTlpZLxgk27nyBPl2ju/pd?= =?us-ascii?Q?kQaU1lac8+0jOnwiyWXrMmn9ukIdQpPekV6G2Vjw59gLkPjSGqBcW46aJeWe?= =?us-ascii?Q?SEGlRQWzvtvOuU0Ove20rqq7uCW+9Y7K38Av1B4R8DOki/sFS3m8AMSU15PL?= =?us-ascii?Q?6K+E8irBvgYoCyX1DFelG1tkBif41cU5YQFTxZ40E2OlXe2xG5lfeWTsXSHr?= =?us-ascii?Q?m1K9ybRDC3hkDGz6sXHFR4OZsybEXktgo9Pu1OBduYEeU1v55zoYTZMxU6zl?= =?us-ascii?Q?lDokYxfTPo1gm/Zy/XGRlVuOtay6BZUc6vQMTmDxepvFIJdnxi4e4yaBWxb7?= =?us-ascii?Q?HBMvLmLmCNgoSWqi+IbH4TeSSe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tVTGO32L40n5Ocm1t++dMFc3VAbmnHdqW09oeAFJaxI/RNBO82KoOlGxbV2i4Hs5ryW2AV1w1MPALTRMcbglqctzJhMqX1wL9mZ0Ihg6suQgHSdyGDrJRnddA5BQIH9tzqBvclnJ0pC2NUFxwuycH3ItrtZPQmNUJ6/LX2o=; 24:tX97v6R3BW0r5T6msxcsdbih0Inlp8N6wxDZrmV5YyBzjZYe8lfYAMZ1iTjqwNsf6zfZxsrARFKRncGcKEF5/Mh8W42Dc279DYux0Y6fk/4=; 7:AOHn2FqfVFTbKJzifdThklq6B/eeygjCw/mPyhgmRJSyWItbIFpqE7IK74uFSBCGWkDHLdoagdyrMahACPmc/IXam/+T6vaBbiZbOHMUbYW2Ez8JW6A/PQksvuDTH3Y8tIzN/B+T4fcw1Ymir0sFGCp25OXO0Cf51yhVESWZYUdyU8UaB74s63mdAiqnuBYyR28J3yo+fvp5nAWRmtvsEj6F7ZjMIWE0p2gImWNqrgz82jqfqWxIS3CipT3RBW/N SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Mar 2018 06:09:56.0712 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 268275dc-07a8-4813-d107-08d58ef25ea8 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: BY2PR0701MB2087 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: Darren Trapp Signed-off-by: Darren Trapp Signed-off-by: Himanshu Madhani Reviewed-by: Johannes Thumshirn --- drivers/scsi/qla2xxx/qla_def.h | 1 - drivers/scsi/qla2xxx/qla_gbl.h | 2 -- drivers/scsi/qla2xxx/qla_init.c | 1 - drivers/scsi/qla2xxx/qla_mid.c | 6 ------ drivers/scsi/qla2xxx/qla_nvme.c | 13 ++----------- drivers/scsi/qla2xxx/qla_os.c | 1 - 6 files changed, 2 insertions(+), 22 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index 59c449b141cd..6aae126add0c 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h @@ -3464,7 +3464,6 @@ struct qla_qpair { struct work_struct q_work; struct list_head qp_list_elem; /* vha->qp_list */ struct list_head hints_list; - struct list_head nvme_done_list; uint16_t cpuid; struct qla_tgt_counters tgt_counters; }; diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h index e9295398050c..19f44e12926b 100644 --- a/drivers/scsi/qla2xxx/qla_gbl.h +++ b/drivers/scsi/qla2xxx/qla_gbl.h @@ -896,6 +896,4 @@ void qlt_update_host_map(struct scsi_qla_host *, port_id_t); void qlt_remove_target_resources(struct qla_hw_data *); void qlt_clr_qp_table(struct scsi_qla_host *vha); -void qla_nvme_cmpl_io(struct srb_iocb *); - #endif /* _QLA_GBL_H */ diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 7f8bfa0454d2..33823d74c782 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c @@ -8405,7 +8405,6 @@ struct qla_qpair *qla2xxx_create_qpair(struct scsi_qla_host *vha, int qos, qpair->vp_idx = vp_idx; qpair->fw_started = ha->flags.fw_started; INIT_LIST_HEAD(&qpair->hints_list); - INIT_LIST_HEAD(&qpair->nvme_done_list); qpair->chip_reset = ha->base_qpair->chip_reset; qpair->enable_class_2 = ha->base_qpair->enable_class_2; qpair->enable_explicit_conf = diff --git a/drivers/scsi/qla2xxx/qla_mid.c b/drivers/scsi/qla2xxx/qla_mid.c index e965b16f21e3..da85cd89639f 100644 --- a/drivers/scsi/qla2xxx/qla_mid.c +++ b/drivers/scsi/qla2xxx/qla_mid.c @@ -778,18 +778,12 @@ static void qla_do_work(struct work_struct *work) struct qla_qpair *qpair = container_of(work, struct qla_qpair, q_work); struct scsi_qla_host *vha; struct qla_hw_data *ha = qpair->hw; - struct srb_iocb *nvme, *nxt_nvme; spin_lock_irqsave(&qpair->qp_lock, flags); vha = pci_get_drvdata(ha->pdev); qla24xx_process_response_queue(vha, qpair->rsp); spin_unlock_irqrestore(&qpair->qp_lock, flags); - list_for_each_entry_safe(nvme, nxt_nvme, &qpair->nvme_done_list, - u.nvme.entry) { - list_del_init(&nvme->u.nvme.entry); - qla_nvme_cmpl_io(nvme); - } } /* create response queue */ diff --git a/drivers/scsi/qla2xxx/qla_nvme.c b/drivers/scsi/qla2xxx/qla_nvme.c index adeda6a4e4fd..8c05df30c083 100644 --- a/drivers/scsi/qla2xxx/qla_nvme.c +++ b/drivers/scsi/qla2xxx/qla_nvme.c @@ -149,16 +149,6 @@ static void qla_nvme_sp_ls_done(void *ptr, int res) qla2x00_rel_sp(sp); } -void qla_nvme_cmpl_io(struct srb_iocb *nvme) -{ - srb_t *sp; - struct nvmefc_fcp_req *fd = nvme->u.nvme.desc; - - sp = container_of(nvme, srb_t, u.iocb_cmd); - fd->done(fd); - qla2xxx_rel_qpair_sp(sp->qpair, sp); -} - static void qla_nvme_sp_done(void *ptr, int res) { srb_t *sp = ptr; @@ -177,7 +167,8 @@ static void qla_nvme_sp_done(void *ptr, int res) fd->status = NVME_SC_INTERNAL; fd->rcv_rsplen = nvme->u.nvme.rsp_pyld_len; - list_add_tail(&nvme->u.nvme.entry, &sp->qpair->nvme_done_list); + fd->done(fd); + qla2xxx_rel_qpair_sp(sp->qpair, sp); return; } diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 12ee6e02d146..bd37a243c0bd 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c @@ -397,7 +397,6 @@ static void qla_init_base_qpair(struct scsi_qla_host *vha, struct req_que *req, ha->base_qpair->use_shadow_reg = IS_SHADOW_REG_CAPABLE(ha) ? 1 : 0; ha->base_qpair->msix = &ha->msix_entries[QLA_MSIX_RSP_Q]; INIT_LIST_HEAD(&ha->base_qpair->hints_list); - INIT_LIST_HEAD(&ha->base_qpair->nvme_done_list); ha->base_qpair->enable_class_2 = ql2xenableclass2; /* init qpair to this cpu. Will adjust at run time. */ qla_cpu_update(rsp->qpair, raw_smp_processor_id());