Message ID | 20180116044653.20696-8-himanshu.madhani@cavium.com (mailing list archive) |
---|---|
State | Accepted |
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 84801601E7 for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 16 Jan 2018 04:47:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6FE8827FAE for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 16 Jan 2018 04:47:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 64CDB27FB3; Tue, 16 Jan 2018 04:47:15 +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 D711727FAE for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 16 Jan 2018 04:47:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751296AbeAPErM (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Mon, 15 Jan 2018 23:47:12 -0500 Received: from mail-sn1nam01on0042.outbound.protection.outlook.com ([104.47.32.42]:19172 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751306AbeAPErK (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Mon, 15 Jan 2018 23:47:10 -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=fpWDjrlX2HVezJmHVMACLoAIz9qOvUsV9g4yghTKmco=; b=JKURFsgqpPI2J6pUaiGpPc/NE6quGSIvJnaQ1eO1sIiIkdEQ6fecy6YHqFTHtRJvKEaWzRovwK0uFgvf6iNGc5cqzwFgrkBxVyA7Lijf7+pbAoVj8Yh2H5P0FwgBttykyDg0D+CY9oHiQybBIohKvv+1ihWqJmT48tJNcGDzf6A= Received: from SN4PR0701CA0002.namprd07.prod.outlook.com (10.161.192.140) by SN1PR0701MB1950.namprd07.prod.outlook.com (10.163.131.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.407.7; Tue, 16 Jan 2018 04:47:08 +0000 Received: from BN1BFFO11FD034.protection.gbl (2a01:111:f400:7c10::1:125) by SN4PR0701CA0002.outlook.office365.com (2603:10b6:803:28::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.407.7 via Frontend Transport; Tue, 16 Jan 2018 04:47:08 +0000 Authentication-Results: spf=fail (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: 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 BN1BFFO11FD034.mail.protection.outlook.com (10.58.144.97) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.345.12 via Frontend Transport; Tue, 16 Jan 2018 04:47:08 +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, 15 Jan 2018 20:46:54 -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 w0G4kt5G020759; Mon, 15 Jan 2018 20:46:55 -0800 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id w0G4ktNs020758; Mon, 15 Jan 2018 20:46:55 -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 7/8] qla2xxx: Add XCB counters to debugfs Date: Mon, 15 Jan 2018 20:46:52 -0800 Message-ID: <20180116044653.20696-8-himanshu.madhani@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20180116044653.20696-1-himanshu.madhani@cavium.com> References: <20180116044653.20696-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)(39860400002)(39380400002)(346002)(396003)(376002)(2980300002)(1109001)(1110001)(339900001)(199004)(189003)(69596002)(110136005)(54906003)(2906002)(6666003)(316002)(76176011)(2950100002)(50466002)(80596001)(47776003)(85426001)(36756003)(48376002)(5660300001)(356003)(305945005)(51416003)(86362001)(81156014)(8676002)(50226002)(478600001)(106466001)(8936002)(105606002)(81166006)(1076002)(72206003)(16586007)(42186006)(4326008)(87636003)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR0701MB1950; 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; BN1BFFO11FD034; 1:G4GpP0oVQVNrgnIsEM6RYRWMbyqYxvwHow3OhSf779IvimnMBjTcCzc3XlTSMbkaidxQBij/bAhLEAzfPRFT4fazMX2POztc5IKYG2aWDKvAwKgvyAyKPAIEe2QLHxAQ X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d6d84522-402e-4cb5-33be-08d55c9c334e X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534125)(4602075)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060); SRVR:SN1PR0701MB1950; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0701MB1950; 3:4qwXzw8fdCFe0QIYlGhK5K4kR56wTtuE6l4KVSRkqIbiry0PnCVAGKaADaJVNbcB8+7i/yu2GpCXtd7UP5kDZHJCJSUMWZ9IwZrMmCwXfY+mqrkrYNIeSOdVoUgCGux6ZuF79XmbcZCckfSNmuP1fLhlY3UAZvKlpo11B0XfstGBRflWwGgWf7GSs6hG0H56PAroVxh+tb7ONlKmzKeTranUH703kzeI49oHXbUen/+7HKZtj2062XhxYWTl7vuEHFfHR9ah3RhyEDWjrmtcqXv9pMG89myIDM+8isSnPzPey1q+NmhnLT2C0sw9GywTXudzpuDnyMe+qbv+lQDRAA==; 25:1T9dk7ZO9k0o6ccVTYZlueO9EqdZC9hQzHiLMbtX6QVOXpcV2QuRQhhRYwlaKI4c79SOim8m8gSbCrHiVGOEBuWMm4hlrWDHeu97h+34+d+hi8MC/RNpMpECn+0QmI8E6bDHt7Sydm98mrE3ZlpdJRe+VjvzObSkD09e+udqYqldiGOCUfXNb88PR9Ibc+6M1O4yPn9d6wsI6LOn60jgoT+TZCceROkhAd1OGFUsP0k3KKnAnAM20vw+BgTJAWYDmLHl1DqIWUE/wwvAKTdovwRNk4E3sCAYANHpP6fYtkRa4y9nU8jwryil0/HXpXmXYv7y19mJjlUrBqcwl7jG8Q==; 31:70kyjudVjFZ0bQsgCWPe6akGFEbyhzVDp2DmjvDSic+UtF/Y82tOmZJHeILlajfqV/ykxPPn+i4tedz0lMTunv1zPuWKNXJXC1mlOZ91mywDxPTPI9iahWjFv0xXPwemujvJ2y4uuN8VU03Njf+JAlOekjtzUgJLw5MMB/HDkGOLdn5BKaJ/UoPokrWzwNHET0VJdy3ctxNYXP23ZZMDu7dLkqObSXRCGA71vGpQ/aw= X-MS-TrafficTypeDiagnostic: SN1PR0701MB1950: X-Microsoft-Exchange-Diagnostics: 1; SN1PR0701MB1950; 20:2TnvVPuszaMRxD+ANA5fC1nGc4WACMpPow52rOAUFxYt2iTOlPamcEJOHJweqsd0eOxh2klqwAhWTuyztMNKvrwG+OW7ou9O4dECsPH8YckhtvT3yUHoV+VHVVGJwoh97RIU/aKDdb0qj/2qKL4MvYH+JyTzDQcqo4Hr9LN5NMpZWjjlnnCArS/6J+YfA8fRiN9wSWRjhLKnfNtXGVa724y8dn3kKVtMwJrs6Kgi8EB+aFvfVPkP2erjwCbrV7S37InIEXx/4AllE5NFbtQhUHxrrh/DXHTsI/x4mS8bXzcHNWWHeOgoCC8vSNO4HrlWf9b7/8tzKHRrK5amG+dTJbeYNVHjKHUFL7D49/Pugkr0u3gnbzT4vBD+bMnp27cuyCynxsBUkNXpsnTk/AdC3EQo5s3tVbU7TgRT9UCjErxMbJKusFv1s+NEEjSzCRGnvvLEykuS5bZSIe77EmdBNuP+x+7bYjYQIG1S4Amoef+sRpUv7D8J6ut53AqJ1mb1; 4:tAzhguaIbHlGDvSbD0MrqIHrZpuBjiX62kzTsmbyAn7mmM0UtFW4L8MiU8ehd8pERTnxsjjLD0pa8v3EpYT8Rs4SJXLiayLwmFmySajklGOLfQrUqH/l64G/tNk9r0tqOPRG+WtsrZoIzvJLp08S5PjzFQWmz8lnMnnvXTti+F+FYlH7xWfOnM+j3cmunOfWtLs6A/61J1Fdk0vP5X/jPOhxewQOrEziaeHK3UhBfuVJIsMobXqPZPgp1vJXfLamkCkRZu8dk10JjHWK3/y++w== X-Microsoft-Antispam-PRVS: <SN1PR0701MB19507A977513D029266B5A06F5EA0@SN1PR0701MB1950.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(3231023)(944501161)(10201501046)(6041268)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(6072148)(201708071742011); SRVR:SN1PR0701MB1950; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:SN1PR0701MB1950; X-Forefront-PRVS: 0554B1F54F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR0701MB1950; 23:SxwN5sgPifd8JNf1LKepjO8B6cipgIMl1P0E9WR?= =?us-ascii?Q?NL1IdHLi4oWwKXVdJ1RwULo/XJoVu7WvMSl4V4OGLxW3N1Q9mjWcichPAzof?= =?us-ascii?Q?lJvTWkuFywf4ICdL+yj6ZABwHVcIQs3RPspDv0MhxHiW4B3pebtwQb72hwGh?= =?us-ascii?Q?87N9ug8AiWNbkjDyTulRBDVbjqwu1xXfhfK4pcRY8XRdutUAX5nfkrPAuX8N?= =?us-ascii?Q?N2unQ1h+05jixC3n5NcoaEmbAAW1TJlcjDCsnuVbWfccAMXyo1Vlyy46YcnQ?= =?us-ascii?Q?MUCxnX/6SoX+Y92EDXs6CF2FLMTCVsdZDmEhPo9i9iz+nwDMRKYWTMKGNbAT?= =?us-ascii?Q?6wi0X9HAVi6mG9MyppUIcw00dtWUd1fEaCJGzMS2En4knWyxTu9fRQQYnYWe?= =?us-ascii?Q?dkWvjn3Ju7C53zCGW3vVNHXi7onHgkZRbIPQDTcVTN01l7hDGoc3r5eYMvTt?= =?us-ascii?Q?xrsZfhi1prZaq7Wxq019hTxLvQh7KpyQfAUUb55Lak2n3VVJvbist7vGSQW0?= =?us-ascii?Q?poxePdOT/XYA9lheNmkuxa9vnXK5hkN1njmM1ppmAhRyOww2Gl31SDRlFSsR?= =?us-ascii?Q?6eLwjsDamF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WSxMgNikk4wIecvU8oS5EqYBLVOtpUYYmJfgf501+NTxIRVOh9RBjwztPZIfCtCYZaS1h0ExwJYYYdSXHND1U4=; 24:MgbsQ2SKpHZUPBtTryLIwpaOLlo4IvB2y9Nk7kkx7yMQHICqlsnzS50j6KmCE3a9WbxyXb+t56xssz2D4R63vQV18cohvd+Z6bhfKLLBTtQ=; 7:OuXPwfqP8DsWl4s2bH5uN9a57Royr0VyLOFpcoeiDgvCGWPb+5BV/R+V8O99dvAdVbjPQMEszPGKaBtI9Pn/M1V96zxoJgobA/2kOMtTiMvAOQ+c27Q1BshFVgGayj62sjbz2KWcvuLGtsgw6w2L4cDlNGvRS4jhG+sKVPLr4QvKuvK7gCI4OAptlWNYZshGFwMyC/NOD1uUxyOxgyXW3kAcO223hfYmc9t5TU6aler/33zmd8500fInu84jQSw8 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jan 2018 04:47:08.4777 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d6d84522-402e-4cb5-33be-08d55c9c334e 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: SN1PR0701MB1950 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 ddb53db61fd2..0b190082aa8d 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;