From patchwork Mon Apr 22 05:44:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saurav Kashyap X-Patchwork-Id: 10910671 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 06290161F for ; Mon, 22 Apr 2019 05:45:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EDC6328668 for ; Mon, 22 Apr 2019 05:45:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E24EF2866D; Mon, 22 Apr 2019 05:45:33 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, 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 9540E28668 for ; Mon, 22 Apr 2019 05:45:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726718AbfDVFpd (ORCPT ); Mon, 22 Apr 2019 01:45:33 -0400 Received: from mail-eopbgr800042.outbound.protection.outlook.com ([40.107.80.42]:44640 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726645AbfDVFpd (ORCPT ); Mon, 22 Apr 2019 01:45:33 -0400 Received: from SN4PR0701CA0011.namprd07.prod.outlook.com (2603:10b6:803:28::21) by BN4PR07MB2164.namprd07.prod.outlook.com (2a01:111:e400:59c6::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1813.11; Mon, 22 Apr 2019 05:45:30 +0000 Received: from DM3NAM05FT021.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e51::208) by SN4PR0701CA0011.outlook.office365.com (2603:10b6:803:28::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1813.12 via Frontend Transport; Mon, 22 Apr 2019 05:45:29 +0000 Authentication-Results: spf=fail (sender IP is 199.233.58.38) smtp.mailfrom=marvell.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=fail action=none header.from=marvell.com; Received-SPF: Fail (protection.outlook.com: domain of marvell.com does not designate 199.233.58.38 as permitted sender) receiver=protection.outlook.com; client-ip=199.233.58.38; helo=CAEXCH02.caveonetworks.com; Received: from CAEXCH02.caveonetworks.com (199.233.58.38) by DM3NAM05FT021.mail.protection.outlook.com (10.152.98.130) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.20.1792.7 via Frontend Transport; Mon, 22 Apr 2019 05:45:29 +0000 Received: from dut1171.mv.qlogic.com (10.112.88.18) by CAEXCH02.caveonetworks.com (10.67.98.110) with Microsoft SMTP Server (TLS) id 14.2.347.0; Sun, 21 Apr 2019 22:45:21 -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 x3M5jKI2003283; Sun, 21 Apr 2019 22:45:20 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id x3M5jK8T003282; Sun, 21 Apr 2019 22:45:20 -0700 From: Saurav Kashyap To: CC: , Subject: [PATCH 06/12] qedf: Add comment to display logging levels. Date: Sun, 21 Apr 2019 22:44:55 -0700 Message-ID: <20190422054501.3224-7-skashyap@marvell.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20190422054501.3224-1-skashyap@marvell.com> References: <20190422054501.3224-1-skashyap@marvell.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Matching-Connectors: 132003855295829942;(abac79dc-c90b-41ba-8033-08d666125e47);(abac79dc-c90b-41ba-8033-08d666125e47) X-Forefront-Antispam-Report: CIP:199.233.58.38;IPV:CAL;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(136003)(396003)(346002)(39860400002)(376002)(2980300002)(1110001)(339900001)(189003)(199004)(76176011)(48376002)(81166006)(81156014)(8676002)(50226002)(4744005)(70586007)(51416003)(85426001)(68736007)(50466002)(8936002)(70206006)(26005)(97736004)(105606002)(86362001)(336012)(47776003)(11346002)(446003)(26826003)(87636003)(80596001)(2616005)(486006)(126002)(476003)(4326008)(53936002)(36756003)(69596002)(6862004)(36906005)(305945005)(76130400001)(2906002)(42186006)(16586007)(5660300002)(2351001)(1076003)(54906003)(498600001)(316002)(356004)(6666004);DIR:OUT;SFP:1101;SCL:1;SRVR:BN4PR07MB2164;H:CAEXCH02.caveonetworks.com;FPR:;SPF:Fail;LANG:en;PTR:InfoDomainNonexistent;MX:1;A:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3f537143-003c-41ee-893e-08d6c6e5ba5a X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(5600141)(711020)(4605104)(2017052603328);SRVR:BN4PR07MB2164; X-MS-TrafficTypeDiagnostic: BN4PR07MB2164: X-Microsoft-Antispam-PRVS: X-Forefront-PRVS: 00159D1518 X-Microsoft-Antispam-Message-Info: QWusm3i53Qn4XPfDCLfc+tk/vv2dqqhs7BIMq+YwApsBfGUA8ogrxcdr9/MfPjwXzQ21eOL+hujNu9H3sFLOZMykit0PHEHQgG69HKWZEeLC47QNtSpXRXHfpeX2bsPeWKAUSqUs+BWlCadGZqmPKicc6OcEIMuxKpfyWcSyO76gPA3uzMD18rupaC9nCsW/ivQf69ZjAfyTr0La+h7BHdQqZdTtG85R0BHrHO16shSr5b5QNW59LWUtrXBSA6SlUWS4yLaGc2GjAE2W9Osw3hkpNhuz+czzC8dbgIylZtvj/dLTfjRMH5kGzcMVJeqVJnEMelpT6aZVTdmGpWlRFQMCILGKP43MMIkOnKwsnPi1Gt2aC/wuP7xAUdOo1abThNJGZ4i25Ao7OpkNQ72t4rp92YqZ4ze0AF4XCXCyX4I= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2019 05:45:29.2317 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3f537143-003c-41ee-893e-08d6c6e5ba5a X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[199.233.58.38];Helo=[CAEXCH02.caveonetworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN4PR07MB2164 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 - Comment will help in decoding the logging level. Signed-off-by: Saurav Kashyap Signed-off-by: Chad Dupuis --- drivers/scsi/qedf/qedf.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/scsi/qedf/qedf.h b/drivers/scsi/qedf/qedf.h index f647817..2c08f6f 100644 --- a/drivers/scsi/qedf/qedf.h +++ b/drivers/scsi/qedf/qedf.h @@ -458,6 +458,12 @@ static inline void qedf_stop_all_io(struct qedf_ctx *qedf) /* * Externs */ + +/* + * (QEDF_LOG_NPIV | QEDF_LOG_SESS | QEDF_LOG_LPORT | QEDF_LOG_ELS | QEDF_LOG_MQ + * | QEDF_LOG_IO | QEDF_LOG_UNSOL | QEDF_LOG_SCSI_TM | QEDF_LOG_MP_REQ | + * QEDF_LOG_EVT | QEDF_LOG_CONN | QEDF_LOG_DISC | QEDF_LOG_INFO) + */ #define QEDF_DEFAULT_LOG_MASK 0x3CFB6 extern const struct qed_fcoe_ops *qed_ops; extern uint qedf_dump_frames;