From patchwork Mon Apr 22 05:44:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saurav Kashyap X-Patchwork-Id: 10910669 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 8E72D161F for ; Mon, 22 Apr 2019 05:45:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7FE8D28668 for ; Mon, 22 Apr 2019 05:45:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 748922866D; Mon, 22 Apr 2019 05:45:28 +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 25B6628668 for ; Mon, 22 Apr 2019 05:45:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726692AbfDVFp1 (ORCPT ); Mon, 22 Apr 2019 01:45:27 -0400 Received: from mail-eopbgr720070.outbound.protection.outlook.com ([40.107.72.70]:21312 "EHLO NAM05-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726645AbfDVFp1 (ORCPT ); Mon, 22 Apr 2019 01:45:27 -0400 Received: from SN4PR0701CA0011.namprd07.prod.outlook.com (2603:10b6:803:28::21) by BN7PR07MB4401.namprd07.prod.outlook.com (2603:10b6:406:b6::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1813.12; Mon, 22 Apr 2019 05:45:25 +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:25 +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:25 +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:17 -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 x3M5jHge003279; Sun, 21 Apr 2019 22:45:17 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id x3M5jHGm003278; Sun, 21 Apr 2019 22:45:17 -0700 From: Saurav Kashyap To: CC: , Subject: [PATCH 05/12] qedf: Add port_id for fcport into initiate_cleanup debug message. Date: Sun, 21 Apr 2019 22:44:54 -0700 Message-ID: <20190422054501.3224-6-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: 132003855254306963;(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)(346002)(396003)(136003)(376002)(39860400002)(2980300002)(1110001)(339900001)(199004)(189003)(86362001)(50226002)(76176011)(80596001)(51416003)(85426001)(305945005)(36906005)(47776003)(42186006)(8936002)(54906003)(316002)(26005)(36756003)(81166006)(81156014)(16586007)(8676002)(87636003)(4326008)(69596002)(2351001)(97736004)(1076003)(498600001)(105606002)(4744005)(5660300002)(50466002)(6862004)(2906002)(53936002)(446003)(2616005)(48376002)(336012)(6666004)(356004)(70586007)(70206006)(486006)(126002)(68736007)(26826003)(76130400001)(11346002)(476003);DIR:OUT;SFP:1101;SCL:1;SRVR:BN7PR07MB4401;H:CAEXCH02.caveonetworks.com;FPR:;SPF:Fail;LANG:en;PTR:InfoDomainNonexistent;A:1;MX:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7c6f7e8a-9cc8-4544-cb48-08d6c6e5b7e0 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(5600141)(711020)(4605104)(2017052603328);SRVR:BN7PR07MB4401; X-MS-TrafficTypeDiagnostic: BN7PR07MB4401: X-Microsoft-Antispam-PRVS: X-Forefront-PRVS: 00159D1518 X-Microsoft-Antispam-Message-Info: 3JmCBGRxWvhkWsYjUgUo1NrXuVAme3TuqQskjszf2iHbSGuoXZX7HF2vxjFEoKQ6gLjMWqIkzXP6fxgWJM2xh0f6S6VTot1DrDVbGG2/9JIURCcYiY4gJHWUqL7D+C+s049TKTfF+pJ7pn2l2HnmzzaWsc/cLToGuh4wsPZymdihIgIjIX0S4cppEN/OXt7lFn+DzDe/T92Z/eu6Tg0CCwl1Zs3CxEE5olOcvBIfW7qvIjQd1DSnKIuWzdZ1p7025XWZB84yMU1QYAV2HOTz3KVHUUeIBq4kJBhG/U/jL76/URBeX3GbbF8QQbFAnLS/LAfm+pOUve52MYynsVc+AO0rLgLvMIVLpLPZ15p4GQ5+DDKE49Icm9p3fmoAwtAznezbnKphQlIJg6F+UZCYyEA1fq3yX1a6SfcCjcBJXTY= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2019 05:45:25.0824 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7c6f7e8a-9cc8-4544-cb48-08d6c6e5b7e0 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: BN7PR07MB4401 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 From: Chad Dupuis - port id will help in debugging. Signed-off-by: Chad Dupuis Signed-off-by: Saurav Kashyap --- drivers/scsi/qedf/qedf_io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/qedf/qedf_io.c b/drivers/scsi/qedf/qedf_io.c index 29b456d..42f9f2a 100644 --- a/drivers/scsi/qedf/qedf_io.c +++ b/drivers/scsi/qedf/qedf_io.c @@ -2154,9 +2154,9 @@ int qedf_initiate_cleanup(struct qedf_ioreq *io_req, refcount = kref_read(&io_req->refcount); QEDF_INFO(&qedf->dbg_ctx, QEDF_LOG_IO, - "Entered xid=0x%x sc_cmd=%p cmd_type=%d flags=0x%lx refcount=%d\n", + "Entered xid=0x%x sc_cmd=%p cmd_type=%d flags=0x%lx refcount=%d fcport=%p port_id=0x%06x\n", io_req->xid, io_req->sc_cmd, io_req->cmd_type, io_req->flags, - refcount); + refcount, fcport, fcport->rdata->ids.port_id); /* Cleanup cmds re-use the same TID as the original I/O */ xid = io_req->xid;