Message ID | 20171220065644.21511-37-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 B9AC96019C for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 20 Dec 2017 06:58:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B2C9329649 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 20 Dec 2017 06:58:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A7DC32964F; Wed, 20 Dec 2017 06:58:16 +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 5171429649 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 20 Dec 2017 06:58:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932335AbdLTG6O (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Wed, 20 Dec 2017 01:58:14 -0500 Received: from mail-co1nam03on0069.outbound.protection.outlook.com ([104.47.40.69]:41840 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932528AbdLTG5p (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Wed, 20 Dec 2017 01:57:45 -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=+tRVcbESBZE7EU6qQtOeCR1Y7uQztcFdY1Wj9CbMqhE=; b=Jos+2q1G2BTCqsUQkEC3yjEDkEbnLp3qggGCTm5LUybUtRXOmn35c0wcFOG4nrvy5NpxDxZFfQ+WFne7mbhmvDeYma1/09JsMGrzJRfKTgGdTy4+S9O0nSWPnrGffqO2cnrcRGre5GIkNN8oFrClhj/eXz6BEg2v4HQ5wCNzwSA= Received: from CO2PR07CA0077.namprd07.prod.outlook.com (2603:10b6:100::45) by DM5PR0701MB3815.namprd07.prod.outlook.com (2603:10b6:4:7f::25) 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:25 +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:25 +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:11 +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:52 -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 vBK6uqpC021690; Tue, 19 Dec 2017 22:56:52 -0800 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id vBK6uqSw021689; Tue, 19 Dec 2017 22:56:52 -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 36/43] qla2xxx: Add counters for Exchange Buffer to debugfs Date: Tue, 19 Dec 2017 22:56:37 -0800 Message-ID: <20171220065644.21511-37-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)(376002)(39380400002)(39860400002)(346002)(2980300002)(448002)(189003)(199004)(2950100002)(16586007)(8676002)(6666003)(81166006)(5660300001)(50466002)(8936002)(50226002)(48376002)(86362001)(356003)(42186006)(72206003)(316002)(54906003)(110136005)(69596002)(81156014)(87636003)(80596001)(305945005)(85326001)(478600001)(106466001)(1076002)(47776003)(76176011)(36756003)(51416003)(2906002)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR0701MB3815; 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:5axLXuHev6JKgZhjJHr7bVMcBYtqmzf5nCvAWinl1MPy79CI7sASzWLVui38ojDYHumabzULrVVMj3aiEprc8SjxPXRDIwBD1vL4Lk426FrNYCj6MY1gwBZyiEh8JgJs X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cd2e357e-9976-4af7-cd2a-08d54776e54b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060); SRVR:DM5PR0701MB3815; X-Microsoft-Exchange-Diagnostics: 1; DM5PR0701MB3815; 3:0R7KSJRwUw0NF8+d9qWBs9ZsWb55Kc7SXEP+NhpHZK2I2pIGbYaP3IkHYxhPivG3wLUxJfLA08nxdN5oeaNXk+BHQEaZCF3tlqB7Z3YrD/EQa65NqwHhseJi4TAsrV6RDSqkctLEICz+Hn584l02WAODZvpYw4CsbMnk5nl2xIqQpywk4CUsKtVUPjDwoVTL+WTHj88QD8OH1a2pwUaFIuRVwYBXwFcDwonYMVE4K0yMsdc1+jaIJXAnNqQTeFnPeeYmnhmHP/z1LAWWB+1HW/zpkBB/NHX5ezYwqTvf1ZQ7VcmTG5ThT6mPjkEpmEA+4AERyGYETFR5XnSMmyNaPD+mGOqoc+reK/2Hags6guw=; 25:h0YsGcVKC7KG1gyGs3inPxUWW1GHqd3pnd3AGy/DSf+/5Q99Xt+doIB93Mpl3mvl2jFdalrV4U5xSd4HQ1cZpDJGUn9BBcJmwflKtf54YL1b3NkrkEkNCB8z6tYnQg8JIhlnm0749YJ7wHZVVvWo8sKO1Z9EUhn1th0QM0bT5hx1mW9Gggpk0Gogue16pe1II79L3xQTCKrSC9fC/X8uG6Ie5VqddZ38ZR255JT1Su0f6f62I2tgggJfRo2x/yfVpPQaa42T8rrzJyyaRMOCDco1SmZvYcGGTzhFKC2H1pk25FzNVyhVZ9bpKqRXHHdwf9G0ocP1KQAUnkLV4FslFw== X-MS-TrafficTypeDiagnostic: DM5PR0701MB3815: X-Microsoft-Exchange-Diagnostics: 1; DM5PR0701MB3815; 31:FlgkySLoHcHQfenQWAaJgfPDrCQskVFhBdholJAf+JTFtDp9HsquwSZa0VylGTTU//wh43Ww2AdpswLatWt5iROqeZe3LNreJBK3GFLmUCtrk3ayDBTM/oW84NzeAq5e+/P8EDs+UePo71hx9uNdfUYWu+5uOfapNhPkoDILv7mFjdijabxBp1036jxZqeRzgqe18G8jxImgIXbOLrflRKPVTY6WwJkdM35NK4+lIcQ=; 20:ZIGvxg6SmvsCE6fNL96vQig85YxIeG5T19CwSjo/48JanFKfo8obaS3gaxUkJLqiA9N00AAOkcS7iyKKxHLDmVgOKZ0GKkPavMI200tt+lp3pmxRYRCShWGhSsjAVaM5T7X9tmISc4R+V2ITbD32pLhQI2Qb8m3hxl+Lp/khj6VswBrxCyceSjkmDDfbdxgOSxTnE5wnPtrM3k7KJKOmIlvTvfRHqAT69sQ1+9cmOFHxMOAqb8rQLdJmQzsfmiEI52CVCQ4OQ+2nlT68v5MhUjGk+Ttoaa/GH3F6FxC/y9x0NOLrGbprT23bE1akDeREbge4nsKDfMUeV/htYuUXX5YskTcprWWPgG6DGocuBkKHXxhwhxvwWPqWDnXiUMtUrHTl81lH7W1MnB5xJNaCSgbt+Js71E0TXkq6EJ35/CcRPH5fDPszmuBkV1s0YHWcD+1KD2hUnFNMYxzSeUP6aUZWk7A74H7aTWB5T1NxGMSXIZ5dQMwhth5Vv2+8ugOB X-Microsoft-Antispam-PRVS: <DM5PR0701MB3815C26A367D9F0BCDE18030F50C0@DM5PR0701MB3815.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)(10201501046)(93006095)(93001095)(3231023)(3002001)(6041268)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:DM5PR0701MB3815; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:DM5PR0701MB3815; X-Microsoft-Exchange-Diagnostics: 1; DM5PR0701MB3815; 4:E5AeeSGfqR6OqippJjGChD/6ukBO4pEa45buQSqakWLgXvp7ORpzMGqnSY3WqM9NXkDUP/NzJnMlD/yAjcbFPIxCUpOpz1vjwDj+DuqRJfPaZrWkMKY+mVpChMOUCor7IAw+Okc/TAd2DX8EwZTgL5rmqO11wcia7vgsv4Lx2NjGKte090KgtcF4w2k7/eYBHWb4akkh12lvmyibKDMAboCkar54EdGcLZVtCYrgLMyiQb9BU4PEaqm6P8XUK3A50VrV2V1uxFkwA14DolzHjA== X-Forefront-PRVS: 0527DFA348 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR0701MB3815; 23:814z7+rRmeMnOGufxvH/8ZIAGUGCNL34S2iKHB6?= =?us-ascii?Q?ZVO8YvX3Z5B5cdaFkbliLNOdWKe0eFdKkxbol992Im0q3nGrVXkbm3zWeZB3?= =?us-ascii?Q?t1g2ejxNcrWTr7rWQaKati4sud7xkg4tap6/5DDr51UFF45dUNYcsPPs/Yll?= =?us-ascii?Q?7BLf8hfVeRPRoXpjgaPQft9lKyh8takrNprm6Qiga64EEX6nsMIKQ4LyXvzQ?= =?us-ascii?Q?ULQmTu3T75ZE4xxb4jufHri0lUQagUmuL+gyuhup08jNuyXWXVHLTe1g6rZy?= =?us-ascii?Q?wsSgV1SoYfhR+Sa4MJodJonZT1GfxHZ0FieAlhGjPYbHU7B2uU+Z89le1usT?= =?us-ascii?Q?hpv3x50NMLlCoTMYvDEz1gimKHXEWC92ONeNGm9nM1jgOs165lBHVRTDpGCa?= =?us-ascii?Q?ldQVg285qYTjMfEa10qkEiBTtltzgIKdIm3zmBwGmXY+LQCUBuXbu1Wq6IeV?= =?us-ascii?Q?V2MF+vR1PBwIew6PKbnsotLdMEivGe/u7eQAzOgHZQw7mqeCGAyQKR+QMRTn?= =?us-ascii?Q?f99eJKg7d6ucO9ccSmeJl/JvfXXDOvGeE1zltTp+WTjTO8NjtgjpJXOt4g0P?= =?us-ascii?Q?Qyii5lDBgEADzaQI+2HCL0avVbz32vCbaCBenlECo2T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Vi4he/Wyw7KgkUR4BqBnH58633acEJPhGafpaCnPW3Cn3hEfNT3q+jrUsndxuI8FO0AOQqc4HiH/+eNvIJt7ogoF02j3yE=; 7:Dkzvx3E56PmVMwMCyggDgdcXOpqkJnSjuA7R6ygsbHFZM6BXMjcPS7aCPwXth2SrpF/W9Tw1hfgUnRiOBRZPmHJMMxIzoyzMSucDrfRMjYUqG4Iyls1v9xIcCuiwicwrFhNZl+1ecCBA0tfcLwkvSRRsJ19hajVg1B8gQTAoBSKxB4x33lHvG+I5F14o+6Ccc1xQ7HwtGHpWFndU2VTEC+uqRnMnmaxtOG+NMDxZ8wiAEzT4W2eXrzjkAe5TyACo SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Dec 2017 06:57:11.8024 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cd2e357e-9976-4af7-cd2a-08d54776e54b 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: DM5PR0701MB3815 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_dfs.c b/drivers/scsi/qla2xxx/qla_dfs.c index 4f0415e158cb..c05ebc6ebe78 100644 --- a/drivers/scsi/qla2xxx/qla_dfs.c +++ b/drivers/scsi/qla2xxx/qla_dfs.c @@ -143,6 +143,15 @@ qla_dfs_fw_resource_cnt_show(struct seq_file *s, void *unused) seq_printf(s, "Current IOCB count[%d]\n", mb[10]); seq_printf(s, "MAX VP count[%d]\n", mb[11]); seq_printf(s, "MAX FCF count[%d]\n", mb[12]); + seq_printf(s, "Current free pageable XCB buffer cnt[%d]\n", + mb[20]); + seq_printf(s, "Original Initiator fast XCB buffer cnt[%d]\n", + mb[21]); + seq_printf(s, "Current free Initiator fast XCB buffer cnt[%d]\n", + mb[22]); + seq_printf(s, "Original Target fast XCB buffer cnt[%d]\n", + mb[23]); + } return 0;