From patchwork Mon Mar 12 18:16:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Madhani, Himanshu" X-Patchwork-Id: 10276939 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 A18D360211 for ; Mon, 12 Mar 2018 18:17:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8C76328A52 for ; Mon, 12 Mar 2018 18:17:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8124B28E72; Mon, 12 Mar 2018 18:17: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 237F228A52 for ; Mon, 12 Mar 2018 18:17:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932748AbeCLSRI (ORCPT ); Mon, 12 Mar 2018 14:17:08 -0400 Received: from mail-sn1nam01on0077.outbound.protection.outlook.com ([104.47.32.77]:16928 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932735AbeCLSRF (ORCPT ); Mon, 12 Mar 2018 14:17:05 -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=wUL55MIMTA2E5lgy7AmVCnuWNSkXkasqY5VXbudrS0g=; b=BUyS+utflNfdns+T8Pvxd36cZNyHd3uLIg3io80AEl+DA01peFeX+hvmrY6zUE39N2RIxbm7JNUfes3xGeyE92Yhk577ViV9mr8Ib0gf4IMnkc3bfWqi/cTf8Tu1oSMpvcXXB4BzyhkR+FZW1T1hMEh/gcih6Q2i22Ol5Ecp64I= Received: from DM5PR07CA0114.namprd07.prod.outlook.com (2603:10b6:4:ae::43) by DM6PR07MB4218.namprd07.prod.outlook.com (2603:10b6:5:bd::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Mon, 12 Mar 2018 18:17:03 +0000 Received: from BL2FFO11OLC012.protection.gbl (2a01:111:f400:7c09::138) by DM5PR07CA0114.outlook.office365.com (2603:10b6:4:ae::43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.567.14 via Frontend Transport; Mon, 12 Mar 2018 18:17:03 +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 BL2FFO11OLC012.mail.protection.outlook.com (10.173.160.159) 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; Mon, 12 Mar 2018 18:17: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; Mon, 12 Mar 2018 11:16:51 -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 w2CIGqSa020755; Mon, 12 Mar 2018 11:16:52 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id w2CIGqvw020754; Mon, 12 Mar 2018 11:16:52 -0700 From: Himanshu Madhani To: , , , , CC: , Subject: [PATCH 04/13] qla2xxx: Restore ZIO threshold setting Date: Mon, 12 Mar 2018 11:16:41 -0700 Message-ID: <20180312181650.20704-5-himanshu.madhani@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20180312181650.20704-1-himanshu.madhani@cavium.com> References: <20180312181650.20704-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)(396003)(346002)(39380400002)(2980300002)(1110001)(1109001)(339900001)(199004)(189003)(2950100002)(8936002)(81156014)(81166006)(336012)(1076002)(2906002)(50226002)(2201001)(86362001)(4326008)(8676002)(26005)(6346003)(186003)(59450400001)(6666003)(36756003)(478600001)(72206003)(48376002)(356003)(50466002)(51416003)(305945005)(316002)(76176011)(105606002)(110136005)(54906003)(69596002)(80596001)(5660300001)(106466001)(16586007)(42186006)(47776003)(87636003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR07MB4218; H:CAEXCH02.caveonetworks.com; FPR:; SPF:Fail; PTR:50-232-66-26-static.hfc.comcastbusiness.net; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC012; 1:QgL3HtyeLkwEjz+ZmQWGk9P9qwALmCdh1aTS38St4+RZyINHLVEs5QF2hPoQIFkjZArSf854Eai1e0JjyK1hLPr+lbBxwXNHb3Gmw94YUHbFBblz5YdZA/MY5fC0k2wq X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8238f8ea-a532-43c9-ad57-08d58845742b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060); SRVR:DM6PR07MB4218; X-Micros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TwzAM0psSshy0ZhBNtUcrkGRW1rTIRTsqbzD4G/O4tg1WEA//thrS8QQQgUvHRq+wEsIfKEBgtHiVpTld9w1+26AdQln8kJ+H2ge61KfJ90kIMmodqnVQ55Ynimi6+psb8GKK3ZQUTh1csTwqAeLKt99urE6MOqcP5hrzD8IpnQ84/cpMOqsrl+3ABzeBeEdN5wXqXpRA/DV+licISs9LIjihjm08nmpuXKIgPbIZmEs9X4leZqizwpnb8hob8AzXHTVPF0MrJcmkW+N0iVttZdspkAHq3hmITSDSaItv8X0j/crNlVqkTswkyUru9l14UhdgJrblPpdCwaJ1tbainXdekXTyMqodyGfDcjFdCr8az34ZjG8dJlrCLTYUkbYcPfElSDO/Fs6od2ta0xOvxmgnRM7nIEnlFhjk9sg0kvInMqaytgMEOuI6C6ONy9XbNQq2j+luriadzkuqlyVItUggQ16mthC/t7avrA X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231220)(944501244)(52105095)(6041310)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(6072148)(201708071742011); SRVR:DM6PR07MB4218; BCL:0; PCL:0; RULEID:; SRVR:DM6PR07MB4218; X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB4218; 4:o6xmtR9I856dfi2xil7ycl891nincwzfLok+SQZjo+Szc5o0u/CT5Kel5RyHYQkuWisXOv8LSd3jbRpJ+cxPvwyVDR3yo1KzXMJlDLZRGlNM4wJGWmnZoIGFwihdi1yYoi8Pi3lP+yrB0qdMbTP4gysNr4GO5W1x9ELkVk2Rko0MolRqRpY67qbbVXy0i4EDy/Lumookx+S0AjtPEJivuc1kVAEEpIUDQSrlkYW2/koyT7guYW3kYP/xfeUU6+gSaa95Ae/Ua/xipkmDWEu+hQ== X-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7WKXi6Xv/HOQDMcF03snayipkgjiwtwWdGkFj+Ow+3vQDKkQ5q4PHIndDLNiaPfbPv4lpqoTgEewlQOqb0oEnFQ7xiw+lrToG0MGqbfMa/KWmwySJ2VM3oAQj+Of28Ot8UVumdfUeJBWG+5xSNLewAf4=; 24:TB8CiSUPX/PG1/2ZBXRkMl42pHU88sqqN/YR5q2DdIQyXHjcfW4CXkL+x+S1LDdoYErvGNDquk25R3a09piBophtFIGguuHu/tVnUJrBT7M=; 7:o+zgvskIH/WTCHqrUvztyFrQYjhJfvrBCBpKRJtPLyL1TyZeOpGZHeTNEXn5s4j/J4Yll7QYclw/Utj5vczQ7ItIeRGdcBUvxW/pcoVXZCT5mK7828pcYKAlLhi6sEZ0gg447BzsGK10XJWiZwboJjONz0n0jajluwbGE4PIFd/+tKJN35p/mVAR0CWl9PCF7MbTAujpVWE0qn4q5UjqN9nyAU+7IlRU29SvyAaj1BHf5Agkg78VE3TrOflgZOp3 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2018 18:17:02.2345 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8238f8ea-a532-43c9-ad57-08d58845742b 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: DM6PR07MB4218 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: Hannes Reinecke --- drivers/scsi/qla2xxx/qla_nvme.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_nvme.c b/drivers/scsi/qla2xxx/qla_nvme.c index a8e81fc14c44..5ee447680ddd 100644 --- a/drivers/scsi/qla2xxx/qla_nvme.c +++ b/drivers/scsi/qla2xxx/qla_nvme.c @@ -464,11 +464,6 @@ static int qla2x00_start_nvme_mq(srb_t *sp) /* Set chip new ring index. */ WRT_REG_DWORD(req->req_q_in, req->ring_index); - /* Manage unprocessed RIO/ZIO commands in response queue. */ - if (vha->flags.process_response_queue && - rsp->ring_ptr->signature != RESPONSE_PROCESSED) - qla24xx_process_response_queue(vha, rsp); - queuing_error: spin_unlock_irqrestore(&qpair->qp_lock, flags); return rval;