Message ID | 20171220065644.21511-26-himanshu.madhani@cavium.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show
Return-Path: <linux-scsi-owner@kernel.org> 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 C74636019C for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 20 Dec 2017 06:57:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BF3BE2964E for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 20 Dec 2017 06:57:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B410D29652; Wed, 20 Dec 2017 06:57:44 +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 3AA662964E for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 20 Dec 2017 06:57:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932522AbdLTG5m (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Wed, 20 Dec 2017 01:57:42 -0500 Received: from mail-co1nam03on0067.outbound.protection.outlook.com ([104.47.40.67]:41459 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932463AbdLTG5S (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Wed, 20 Dec 2017 01:57:18 -0500 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=ElJr7xj10XAvv/bZWHfQRt63+VQlJxK0R5BWpa4Utz8=; b=M24AfJ1w0GFAna7X2UHNK0pFUpMgg9By2erKV2ei6b4YCFMvZWtmbB40psftsV6TwSvYNGVRbmovlkwm/QzBTh4Cmv9EaOJgSnnlb5uIanZ47KgGgc2cNIlcPgdPqmamurUUCXu8StIQGNyi4MWs+sLAzmkrUu5EWc0fJagAbv4= Received: from CO2PR07CA0077.namprd07.prod.outlook.com (10.174.192.45) by BLUPR0701MB1937.namprd07.prod.outlook.com (10.163.121.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.323.15; Wed, 20 Dec 2017 06:57:16 +0000 Received: from BN1AFFO11FD043.protection.gbl (2a01:111:f400:7c10::154) by CO2PR07CA0077.outlook.office365.com (2603:10b6:100::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.345.14 via Frontend Transport; Wed, 20 Dec 2017 06:57:15 +0000 Authentication-Results: spf=permerror (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=none action=none header.from=cavium.com; Received-SPF: PermError (protection.outlook.com: domain of cavium.com used an invalid SPF mechanism) Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BN1AFFO11FD043.mail.protection.outlook.com (10.58.52.190) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.302.6 via Frontend Transport; Wed, 20 Dec 2017 06:57: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; Tue, 19 Dec 2017 22:56:49 -0800 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 vBK6uoC5021646; Tue, 19 Dec 2017 22:56:50 -0800 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id vBK6uosG021645; Tue, 19 Dec 2017 22:56:50 -0800 From: Himanshu Madhani <himanshu.madhani@cavium.com> To: <James.Bottomley@HansenPartnership.com>, <martin.petersen@oracle.com> CC: <himanshu.madhani@cavium.com>, <linux-scsi@vger.kernel.org> Subject: [PATCH 25/43] qla2xxx: Reduce trace noise for Async Events Date: Tue, 19 Dec 2017 22:56:26 -0800 Message-ID: <20171220065644.21511-26-himanshu.madhani@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20171220065644.21511-1-himanshu.madhani@cavium.com> References: <20171220065644.21511-1-himanshu.madhani@cavium.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:50.232.66.26; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(396003)(39380400002)(376002)(39860400002)(346002)(2980300002)(448002)(189003)(199004)(8936002)(2906002)(86362001)(50226002)(16586007)(356003)(110136005)(316002)(54906003)(85326001)(42186006)(59450400001)(76176011)(106466001)(47776003)(5660300001)(6666003)(2950100002)(81156014)(48376002)(1076002)(72206003)(51416003)(478600001)(8676002)(36756003)(80596001)(69596002)(50466002)(81166006)(87636003)(4326008)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1937; H:CAEXCH02.caveonetworks.com; FPR:; SPF:PermError; PTR:50-232-66-26-static.hfc.comcastbusiness.net; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD043; 1:CVT6AAgI/3YaKyXoN9+LyWJKgr5twBY95NG4+6NxJxLsb+wXZVWDjHBdSTGMbh4jJuEv11Qy1nRKbssuQ2H1SaxgQB8x2sHEWUbfz2nQdgiqefY0T39Wx/6/wFaIRiL5 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bf78bac2-3f8d-434b-ea8a-08d54776dfa6 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060); SRVR:BLUPR0701MB1937; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1937; 3:p8tdxYCky0Iq19K3kEk2hIwjGShIU8hgeKlOyPz+SNLsbm8Rl/AVRrTfuLuvh0t9HH2Yq7UGIr+psV9G+v62+eFpiXWCm4jkGkKv0r2slKiYuM4wsNgmfCEqR/uqbxqSjhcXDgWlTi9t6MbYZ6jkdyMb56f5DsP6jBJ9UWlhojY6h1OPajsNfzKJwmNCl0/ftCc9K1PbLoAv8t4sthHs0C+zAY5ymObmlfqnQWG6Kt35YhMhzN8kyNCMpSg+vvaKMHpOlxr8fUs420ovA1tFTwcxeo5n4cHCymQWYn6vis6TmXt5N2/0/MpGp2X2ihC2dw9yBFYhNCIKxFFMJ8S0E/7IY2uPTw29zuZewdTnBJo=; 25:spwxxU1eZOnlK6nOCHyJWEpxAo3B45KKBZXjjc//vTTgC7lXTjy4D0XwVWwQUcSojbDnfg8E85QSpGclV65lxcmTceIj3H07U8UPWV53kvnLRmjGxJPTwT9wgjLVjvK3VEuyfwEfg+ENQwsXlgFbX6HEZHtXWLDOvlY8t/5HNgRruNQYvmJiQQgQ+KH3f/iTUm4xEyzLxZT/YIWfAkYK4BsvSIvKp0/EBL70UQNAH3LkoaAQHWEr52PFrf2mKS41qOhV42DurQhrrj6U+WNjLzHK7t9cm7mHkkGhQQ344d7PMXU7nBIvJQddV+m+CDn7Mt3ilpe1ibTUceKdELqnww== X-MS-TrafficTypeDiagnostic: BLUPR0701MB1937: X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1937; 31:XQFJM0+TVzt8HY94Pmi/6LZKqRqrQC3BbDJVBejrDzu+vi/uGKnXS6z/aMDlWtns47CPUScPsY/QTJ9qBxdg5+7RIX3zCPtB0w8qXQb0r/LaoC0fkcxmVMSj3S95lFm4HHgPE5qL3IIT6lss+FDKZ80zbjHOCJ4T2WPW+trTwgk60xvjQX6217bKmeeffRzgIyWo/kUG/ejH+c968WhGhIbpUtsU1rc9HqH+lXb104Q=; 20:my1QJCOSj3u9UZGYFPSV/dhuOs6XARIu5g87q5r1qL+k/NZiiGEldlyooINB2bncu5slh9OEptbejADCGVOo57FIkdZv0o1+aY8efh4Q4xskiLz9nj50gSnPiPIzyXC9ROWmHnBywayJJAQvkjnv4BDtS57hX5U9p3OV1E1GBL6u0c9gCNaMoOo4C50s7GE8K2cS8nw2oAQnDj0PoyQ4dKInOGmVnyBoOrjajzQUVp41tol7V5509wIsO7DRIf12qs/HGWT9lT9piVlopRnIq8HBuCHLY7k5Qd8RNjQDyuGLwNQzFFhTBxz9USaRF5iutHgpBGEvqtkqvL6y4Cmzf360ygnAvTjd4BeE+Y4eYfsTn1TQ4WscIHqbP6CP4W1EfwTV2Kwrj8PdOoJKKbxv1vS02hhB2FfwSioWUnvZLDSlGvnSBlzfwsO0k6ejskmLTP8ABxICfSQun+aKdwfiD2gbx9T6BvhnCAPwoXlqJa+KY87FRAEmLD6eMmAMfCIt X-Microsoft-Antispam-PRVS: <BLUPR0701MB1937CB7D61A2CB5D8BA25669F50C0@BLUPR0701MB1937.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(8121501046)(5005006)(3231023)(10201501046)(93006095)(93001095)(3002001)(6041268)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:BLUPR0701MB1937; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:BLUPR0701MB1937; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1937; 4:JhrPxVYHaRRkOCQ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lh957/gtf+A5LKc3ByLd06ffQWVjKL7DrWI=; 24:mBf9HnxZr6siV9iHWlmHPxGZt7UQw0RLMWHELTo+7BdDbTl8PwsPP+iTv6G2FNsnYa8Gq0kFwGzYnh3Dj+08gnKVc/NsPr5bPN1aqlW5xQk=; 7:iTaC/HiDxEibEI0IR08iElas402UzPA2djAJ6qKk7jMvF2xlVYVFm1mMXhmuFaEmSFRjTnagQrGfAAxkqsO5+rZn4IKsUAw+yRbxne996HQ2OoMhlrlmGmROmFy9RUbNYV9ekLi/0Jy3WYForKXfvKJ+g/ry26TNG0b0P96Lc6Xxn81LjRbT43xZze+6DYyKkktx31UQ1c6sbuGZ8e8h8Wu1qcOj4dzrKUw4e3POsDE/OKtRv1A34Ly6zI9PBEtC SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Dec 2017 06:57:02.3176 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bf78bac2-3f8d-434b-ea8a-08d54776dfa6 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: BLUPR0701MB1937 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/scsi/qla2xxx/qla_mid.c b/drivers/scsi/qla2xxx/qla_mid.c index 12a29eca02e1..11a424df5f52 100644 --- a/drivers/scsi/qla2xxx/qla_mid.c +++ b/drivers/scsi/qla2xxx/qla_mid.c @@ -265,13 +265,20 @@ qla2x00_alert_all_vps(struct rsp_que *rsp, uint16_t *mb) case MBA_LIP_RESET: case MBA_POINT_TO_POINT: case MBA_CHG_IN_CONNECTION: - case MBA_PORT_UPDATE: - case MBA_RSCN_UPDATE: ql_dbg(ql_dbg_async, vha, 0x5024, "Async_event for VP[%d], mb=0x%x vha=%p.\n", i, *mb, vha); qla2x00_async_event(vha, rsp, mb); break; + case MBA_PORT_UPDATE: + case MBA_RSCN_UPDATE: + if ((mb[3] & 0xff) == vha->vp_idx) { + ql_dbg(ql_dbg_async, vha, 0x5024, + "Async_event for VP[%d], mb=0x%x vha=%p\n", + i, *mb, vha); + qla2x00_async_event(vha, rsp, mb); + } + break; } spin_lock_irqsave(&ha->vport_slock, flags);