Message ID | 1486064558-365-8-git-send-email-himanshu.madhani@cavium.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <target-devel-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 A348460236 for <patchwork-target-devel@patchwork.kernel.org>; Thu, 2 Feb 2017 19:45:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 967242831B for <patchwork-target-devel@patchwork.kernel.org>; Thu, 2 Feb 2017 19:45:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8B0CB2849B; Thu, 2 Feb 2017 19:45:07 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 1D5F62831B for <patchwork-target-devel@patchwork.kernel.org>; Thu, 2 Feb 2017 19:45:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751632AbdBBTpB (ORCPT <rfc822;patchwork-target-devel@patchwork.kernel.org>); Thu, 2 Feb 2017 14:45:01 -0500 Received: from mail-by2nam01on0078.outbound.protection.outlook.com ([104.47.34.78]:52939 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750940AbdBBTot (ORCPT <rfc822;target-devel@vger.kernel.org>); Thu, 2 Feb 2017 14:44:49 -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=2xJkNaMU8N15X/Y0d8aa2+Ug8lgq02kNbBNeM3Lz+BI=; b=kA/CIB40pTVnJJKC1G1/y5tbIIviL/nj3Lfq07O0IssUUQjcL3cIZsX7NZGAQmIYMx7GPzj7YaE/OfqZxK+q9kMdP263S32rdjULirdZBo3BDjGswoBWU66tBZSnsKS+IOvHAiXpavbQZ//WRNidnNZy4DVTIESfKvZQsVG7GZY= Received: from MWHPR07CA0040.namprd07.prod.outlook.com (10.169.230.26) by BN1PR07MB198.namprd07.prod.outlook.com (10.242.216.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16; Thu, 2 Feb 2017 19:43:20 +0000 Received: from BY2FFO11FD017.protection.gbl (2a01:111:f400:7c0c::163) by MWHPR07CA0040.outlook.office365.com (2603:10b6:300:1c::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16 via Frontend Transport; Thu, 2 Feb 2017 19:43:19 +0000 Authentication-Results: spf=none (sender IP is 50.232.66.26) smtp.mailfrom=cavium.com; linux-iscsi.org; dkim=none (message not signed) header.d=none; linux-iscsi.org; dmarc=none action=none header.from=cavium.com; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BY2FFO11FD017.mail.protection.outlook.com (10.1.14.105) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.874.2 via Frontend Transport; Thu, 2 Feb 2017 19:43:19 +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.309.2; Thu, 2 Feb 2017 11:43:09 -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 v12JgsVJ000424; Thu, 2 Feb 2017 11:42:54 -0800 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id v12JgsD5000423; Thu, 2 Feb 2017 11:42:54 -0800 From: Himanshu Madhani <himanshu.madhani@cavium.com> To: <target-devel@vger.kernel.org>, <Bart.VanAssche@sandisk.com>, <hch@infradead.org>, <nab@linux-iscsi.org> CC: <giridhar.malavali@cavium.com>, <linux-scsi@vger.kernel.org>, <himanshu.madhani@cavium.com> Subject: [PATCH 07/15] qla2xxx: Export DIF stats via debugfs Date: Thu, 2 Feb 2017 11:42:30 -0800 Message-ID: <1486064558-365-8-git-send-email-himanshu.madhani@cavium.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1486064558-365-1-git-send-email-himanshu.madhani@cavium.com> References: <1486064558-365-1-git-send-email-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)(6009001)(7916002)(39450400003)(2980300002)(428002)(189002)(199003)(4720700003)(92566002)(50466002)(6666003)(356003)(626004)(305945005)(69596002)(105586002)(106466001)(5660300001)(101416001)(47776003)(36756003)(1691005)(2950100002)(8936002)(80596001)(48376002)(50986999)(42186005)(76176999)(81166006)(50226002)(4326007)(54906002)(8656002)(2906002)(5003940100001)(8676002)(38730400001)(81156014)(33646002)(4001430100002)(86362001)(5001770100001)(2201001)(189998001)(107886002)(87636001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR07MB198; H:CAEXCH02.caveonetworks.com; FPR:; SPF:None; PTR:50-232-66-26-static.hfc.comcastbusiness.net; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD017; 1:MwmIQvx9j6qPgJaQOWL1B+EgZguN3D1P/rHrWhSR7tEb/MAkwbpZkcEVesUfq4pwp3mNAA1sUf+YvUbXh+fc3HWX25U7/L/Vuj8+XaJg9sXjRU9hAIUCDyJYs9ANzhB6zAdIWBMSuye5plAXot5VIgukXVRqzXz48KDPpEaS5V5QqtLyUWpOPMYiTDi0TiKw+GEJF/shKiiAO0URp2vMrwPKdHL7XcVjgiuNOeUzI8+UJNrR+g2ep6WCbdlrMQqTFDvKBlClKlBAr4dSokMq/vTIMAbzeNIqsD3nzIi5koCD2Mk8RWsmCcDPs9igJNaWFeQerGrHaFYoRshoHT+44+n2U9MAcKV0IWfaq++VedaHYC3gO49hid+yHdgJmiuwI+IbWib5InjewgOol03j6pqptD+7z8qCDQ8X1t88xzRb/kJz6RNSZNa0vYqIUCrSJmttZfRXujEckeUS0PSySuySoHhSLreJ+MoEoBJYXkg1Vwl+5DYFfH553+atuWslM5DV3yMhS52EXH+X7BzGu3VvRKBeAUt+zh+0yOUHEpM= X-MS-Office365-Filtering-Correlation-Id: 0287b2ab-c880-4354-379b-08d44ba3bd77 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BN1PR07MB198; X-Microsoft-Exchange-Diagnostics: 1; BN1PR07MB198; 3:E7IeLuDXpbbboF4vf5xR2296/ZIOeAijRMgbTq+GuYxNWA8DIB36jdOthoKx5M83NUspnZ7CMPmPIjXYisosH59w9D83HuBF4SvEp9lehZEx/zJboF2c6N6avZEQN5YcTczLtTuu4/dM+wDoarz5VrhtSNFyfhGYT+LfLZeW1WZdgqu5FiYhwvysjlVPV9T1gN52oEqgG8bU2LyInb4oLRxubwJNAMflNbkMacXr4Er/nGfK7or/Up01D5fZYq04CUV0Sr6m+w0KUV1eNlg2A/K1p1m+Xne4M58YyomG03k0VyURvgVJrevyZOQX9lmVjMSrvX90Pzh4f9G3nJK4nFgJpFBO52CE1RI255yi3j4JFYB2pin8HG0lAgVQ63Da X-Microsoft-Exchange-Diagnostics: 1; BN1PR07MB198; 25:yGR/WZh1hCSstQzI+IYvmJm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omSUqSJfgB3fTs0XhibMpya8EQNJ3nx73FM=; 20:AXu5TZ5ddwCfwFc/bkvNvhpqR0MZUWORNRNsUx81nQ+wX5eswCj67pVcYabxC+2inQKR0WjjMyFy1E6vdBtv9NtAvRZ5n3swyjHXlCz7Z0SbKf+Egq4BUy9b4ub6FBIY8uHAIf6F3GRwFE+bEFH/ZRuavM6jzWAxPMRzNcqwqA4ywmbwlx0RfKPDRNWyTZ30xmyH6KmGOA+y0c5nIndOCivhfJ6prE0OVPKhDV6056h2LzsMCCuUSQnFE6DMLw0PMUzCLzPxpDvBRbsUYQDRmLAcIg+oqlCSHa8t1y/V6FwMGtenOGAaKBDzET4BpUdljF21xApGMl5TipL+NHMx7T+rfbsPAbMapp2QYwywD0E9/dkUAjT27zv/m6c0XwGltLS78SmsY0ojFWthNDEK+rBhE0mzSRefPCGuh/xyMLbwENJlcemiauuCgnqCSIU2aWG0hkPRUs7f5N3C7c9T22h1OssXdaYqE7xGI722keRmj/FmvjOzKltmrju5fTul X-Microsoft-Antispam-PRVS: <BN1PR07MB198B1A16D3A9D68E0EB2908F54C0@BN1PR07MB198.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(13017025)(13015025)(13018025)(5005006)(8121501046)(13023025)(13024025)(3002001)(10201501046)(6041248)(20161123558025)(20161123564025)(20161123560025)(20161123562025)(20161123555025)(6072148); SRVR:BN1PR07MB198; BCL:0; PCL:0; RULEID:; SRVR:BN1PR07MB198; X-Microsoft-Exchange-Diagnostics: 1; BN1PR07MB198; 4:aSm9+8L/JbBIRZc9kjxwFTR5tFhGDN9mY2gLjllGi0oxeyTtwjpmHMWIJI38IfQvSqzL85I7FNp0Z5Lqp2JOGjYP/BRQuRFX3U0m9S1VjIaC5p5nfXSCoH57SwQfxC1OBf/ds5EimAppPnjfanA+wWNeq2C7HIRhzluET2sYZp3or4tvnkZ4ZuuOl7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Sstgmh5FORcG53b6teTmf9q?= =?us-ascii?Q?CN4sv7wzCtAnPluxIYFXzYKSnrGgucobqRXCP59+PDcOLKEP3/m6XLp5wDHH?= =?us-ascii?Q?cJHtPtYSdKEKyR8g5rGCiZLxuMk/ZfHF/DRGBybt/RCmMfK7QY9Mb7WH9kgU?= =?us-ascii?Q?qyYDSe0cvhYYZ3jW1cg2QRFpcIIWeOmto8T1bbuOv7bZIgPo7MGDxLsSI15c?= =?us-ascii?Q?+XQ7WAiC143XdsUoePOJxOHOZQRkobY1iepyczp8G+kAKrJDi3j5uboN3l0I?= =?us-ascii?Q?Oi+jhs5y7+3vpQLWA+YXhwvzWzn7bf4rCGYkIeGboHtnWXQzvK4grPWd53KK?= =?us-ascii?Q?29l9ylAYPDcDrLAmi+G/u2AmAL2Xxw7EEYyi6lNDHuA6vcp2t4J11WOoeroY?= =?us-ascii?Q?F8C/jSs8KKY6+EhNWuZzmsXFNTYwo71w2JAw3ykjAQYB6303hFSPcUPVnPr6?= =?us-ascii?Q?TB3MH7czMuReVCRra4Le6NMA5vzuH87h0Fo249OndpgnS7I0XQeE5EFi8oMF?= =?us-ascii?Q?40P3fkYCYh6Iv3FVxtuTSJgMy+boMUXapzZMXEoxc8qTqKlLB13D65wZACh/?= =?us-ascii?Q?swYBGzuEbYWJSAO26W7VD4euD+in9ZdU+dxIXMB92CWBCEF2hK4mlltnx9VW?= =?us-ascii?Q?xKGc30s5TYa/pxA79lJ5dKDXpps/Hu47+6nliYdKZuSdHuS28CaqJ2B0YTnN?= =?us-ascii?Q?geTzDOvuYoSHrrYZXYDXqWW001V2Obbb+fh1GVEmRTrazKGLFKMrPH9VFJRk?= =?us-ascii?Q?uY0jYYPo/5KO5BJouwLr92BZpGatszqaPNqGR3sEy/8Whb/syoiA=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN1PR07MB198; 6:VSPcsd/mVkaXIlBS62JRkDj8n9qHCKSm55X2F1cQhHsW+8a28SHVUleufcmb98R0vZlpXX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AfhXyCkUS3Pj2UNXfEcZcmywLiQfdQKNacxHgnvKqo2ZDwPWCXVrJtVB75DHMHSVxx9tzNIs+8OivhBjNkaTB8YJaUgK5cNBglb4AvVkgocVcTVGOOLkbDzeCmLvEieJvXq7ITrm0hrYettfNT65wbpxZ+2Qw== X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2017 19:43:19.2953 (UTC) 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: BN1PR07MB198 Sender: target-devel-owner@vger.kernel.org Precedence: bulk List-ID: <target-devel.vger.kernel.org> X-Mailing-List: target-devel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index e98bce4..f16ee3e 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h @@ -3130,6 +3130,16 @@ struct qla_chip_state_84xx { uint32_t gold_fw_version; }; +struct qla_dif_statistics { + uint64_t dif_input_bytes; + uint64_t dif_output_bytes; + uint64_t dif_input_requests; + uint64_t dif_output_requests; + uint32_t dif_guard_err; + uint32_t dif_ref_tag_err; + uint32_t dif_app_tag_err; +}; + struct qla_statistics { uint32_t total_isp_aborts; uint64_t input_bytes; @@ -3142,6 +3152,8 @@ struct qla_statistics { uint32_t stat_max_pend_cmds; uint32_t stat_max_qfull_cmds_alloc; uint32_t stat_max_qfull_cmds_dropped; + + struct qla_dif_statistics qla_dif_stats; }; struct bidi_statistics { diff --git a/drivers/scsi/qla2xxx/qla_dfs.c b/drivers/scsi/qla2xxx/qla_dfs.c index 0fb33e6..989e17b 100644 --- a/drivers/scsi/qla2xxx/qla_dfs.c +++ b/drivers/scsi/qla2xxx/qla_dfs.c @@ -185,6 +185,21 @@ seq_printf(s, "num Q full sent = %lld\n", vha->tgt_counters.num_q_full_sent); + /* DIF stats */ + seq_printf(s, "DIF Inp Bytes = %lld\n", + vha->qla_stats.qla_dif_stats.dif_input_bytes); + seq_printf(s, "DIF Outp Bytes = %lld\n", + vha->qla_stats.qla_dif_stats.dif_output_bytes); + seq_printf(s, "DIF Inp Req = %lld\n", + vha->qla_stats.qla_dif_stats.dif_input_requests); + seq_printf(s, "DIF Outp Req = %lld\n", + vha->qla_stats.qla_dif_stats.dif_output_requests); + seq_printf(s, "DIF Guard err = %d\n", + vha->qla_stats.qla_dif_stats.dif_guard_err); + seq_printf(s, "DIF Ref tag err = %d\n", + vha->qla_stats.qla_dif_stats.dif_ref_tag_err); + seq_printf(s, "DIF App tag err = %d\n", + vha->qla_stats.qla_dif_stats.dif_app_tag_err); return 0; }