Message ID | 1516879400-8000-1-git-send-email-Michal.Kalderon@cavium.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <linux-rdma-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 E213F60388 for <patchwork-linux-rdma@patchwork.kernel.org>; Thu, 25 Jan 2018 11:23:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D2FE228A6F for <patchwork-linux-rdma@patchwork.kernel.org>; Thu, 25 Jan 2018 11:23:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C551128A75; Thu, 25 Jan 2018 11:23:48 +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 7BEA728A6F for <patchwork-linux-rdma@patchwork.kernel.org>; Thu, 25 Jan 2018 11:23:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751082AbeAYLXq (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Thu, 25 Jan 2018 06:23:46 -0500 Received: from mail-by2nam01on0046.outbound.protection.outlook.com ([104.47.34.46]:31569 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750769AbeAYLXo (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Thu, 25 Jan 2018 06:23:44 -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=rpK2tqoZdRdXGKVQVobOrB2HihPx1MtRYbrdMiOIl3k=; b=iw+n4fXkEVx9TYi89AAfDfE4ZNJIdpVkbaW/IzLJVRjqri3h124uaOU/2/JOdUNJQdvmGRXltVJWELqJOXiFrmeXGmChEamF8cz0TBGJP5BsLbpLtdpt9QCJV0taQ1gjOChzp5J3G1iCG6VutTgyMc81tTYHPbVUhH0UlecZ1Sc= Received: from CO2PR07CA0067.namprd07.prod.outlook.com (2603:10b6:100::35) by MWHPR0701MB3820.namprd07.prod.outlook.com (2603:10b6:301:7f::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Thu, 25 Jan 2018 11:23:42 +0000 Received: from BY2FFO11FD042.protection.gbl (2a01:111:f400:7c0c::152) by CO2PR07CA0067.outlook.office365.com (2603:10b6:100::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.444.14 via Frontend Transport; Thu, 25 Jan 2018 11:23:42 +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 BY2FFO11FD042.mail.protection.outlook.com (10.1.14.227) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.428.12 via Frontend Transport; Thu, 25 Jan 2018 11:23:42 +0000 Received: from lb-tlvb-michal.il.qlogic.com.com (10.185.6.89) by CAEXCH02.caveonetworks.com (10.17.4.29) with Microsoft SMTP Server id 14.2.347.0; Thu, 25 Jan 2018 03:23:40 -0800 From: Michal Kalderon <Michal.Kalderon@cavium.com> To: <michal.kalderon@cavium.com>, <dledford@redhat.com>, <jgg@mellanox.com> CC: <linux-rdma@vger.kernel.org>, Michal Kalderon <Michal.Kalderon@cavium.com>, Ariel Elior <Ariel.Elior@cavium.com> Subject: [PATCH] RDMA/qedr: lower print level of flushed CQEs Date: Thu, 25 Jan 2018 13:23:20 +0200 Message-ID: <1516879400-8000-1-git-send-email-Michal.Kalderon@cavium.com> X-Mailer: git-send-email 1.9.3 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)(39380400002)(346002)(376002)(396003)(39860400002)(2980300002)(1110001)(1109001)(339900001)(189003)(199004)(48376002)(8936002)(50466002)(85426001)(26005)(316002)(107886003)(81156014)(81166006)(356003)(86362001)(105606002)(47776003)(305945005)(2906002)(2201001)(69596002)(4326008)(50226002)(54906003)(77096007)(110136005)(186003)(106466001)(72206003)(336011)(5660300001)(6666003)(8676002)(478600001)(51416003)(59450400001)(36756003)(16586007)(104016004); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR0701MB3820; H:CAEXCH02.caveonetworks.com; FPR:; SPF:Fail; PTR:50-232-66-26-static.hfc.comcastbusiness.net; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD042; 1:Ff+hRsFfms1oFPnKPxLN3H/qs8xatD0qXCfUG0rRS/QkkavmsAfOG5TtxRWP2buOLQJUUtQWjZx186BWXtN8llANr8YaUyUfdfej+wZ79mJ/umGSFWuBJrvmsA49eObX X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 58626f40-8539-48be-665c-08d563e61729 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060); SRVR:MWHPR0701MB3820; X-Microsoft-Exchange-Diagnostics: 1; MWHPR0701MB3820; 3:Vmw93rIWyW2DamaveTzasQjje7eLTyjDVFP0qrMYSBU12yhcuAcFk5K1eatuRdzILlXmXVwdh4+Ix8P+dAjknI7gitsLUniz7OgvDbPjcfMmQZ2Od06/jnuY3T4i/cpjYcBHrleo80L2bw9i47C0znWtmlk2WWFS2sGuzdfTFpUyeIQBS8ui/zLdsRJYvk80MUYR4iDrrFtEcBvO8s4UMAZPmZslj8o+Bv+k8E0G7c9PWy8MYRlxav9zskZtaCsS1yGp+AahKhhGW26f5BRgQIxyQRVVoj4mdN7BtSoXIhetdSpOpiE/1uI2FqKm1QkPjl0UHkymrfdnZI5XNu8poosCNIz6lnufGbFRYNspacE=; 25:xj0ObUG3rgzbVKNfSo1iBFr9J6Au4rGj319DkJzMXV/toL/AjApyLiOYtUIXaRkIVcspWmspXWS98Nj/sV5ao1o5Nhtquq1NRKZdWzH306bZy+EZ9/O0IbmYLBPCd6fr8f3IwaNOLdQmwhtm0LOYJHnqMN0RCxV3M835GbSF8TXzehxYM3Tyzn/efREBWgiSOmV9q83B53wTFyKgquv1yB6fcirDdzdGydFejG3+bIImv+zBFISxZdwzVL5KP2taWEGJiY3HlOKn+R13phzWevK7JT7ygbdTl++eVfapGRX/cac5HjLwzUp2c/enpS2ZY1KvGNURCmSFPsv2kpC1ZA== X-MS-TrafficTypeDiagnostic: MWHPR0701MB3820: X-Microsoft-Exchange-Diagnostics: 1; MWHPR0701MB3820; 31:boYaEYbLXTDhLehXADO0Id+sLnMRXd8QLZr8L/zpBY3zdafvDDVP98rsIaDSvlLt7EJjcD4+GdwjWqwqv96FdFdEJUNfD26bGoEOXUGnwFsgpKuwbG8Bw5ZMmLVCUa/M9CHfjfRk/BMXnAWKMIRrMfMqe4qZ/jLwaGbyDq4mwgHqZpOB6f1NYezAxCnLUP9fuyQMf5oVM33BLX/ZUHG6b4GZXMjOTE3/6fkSRj9WY74=; 20:0svedvvnwF21Dinnq5XOQA4yEnd2xa0WVD6oFauaja1zunsguiO1LFE3FpzRaqd0rIs7vXkkBlFfXsKqrl7cnUzfp+GelhnupYGXdRJ9y3EKp0ff1tyfI2qeMPF91nq5OsBKOjsXp+9GjlNSo0SQXqDzJZqLgPcRhYxWiU2Vfz+4WoXTZgAbawJabptYrifZ9Ra2fJrbUU4/9fa9R4NzjUKMa5xW9+Od08z/aQG6KXoRKYzoo7te4Oxocj035CTvH3HJcsKQVVgHvkDKHbgxNW/vtS2j8OPWTbN9Ln0Kyyvz3NGE05Rs8HjRQw6vxB9j5eJbkAFn9UAFjfkhHJIwZhxjQJjbKX2GQVs8kfAlZKSz0Y6fuPCfs3rDZHOyLOY7mJoTFBUSwRx6LOqdd/bIV8mcbzQHGDRGNjCgUq2eybJz2ryorr/D4swLVHJKbAEnz+nEaDx+hmPQ7S0Nc/QBWvlnAx3ycMbB/GWUF80JFUjBwLNX6k8v86DFGm/Yn/Pz X-Microsoft-Antispam-PRVS: <MWHPR0701MB38207AFAE9A3D19140266BCF88E10@MWHPR0701MB3820.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(3231023)(2400081)(944501161)(3002001)(93006095)(93001095)(10201501046)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:MWHPR0701MB3820; BCL:0; PCL:0; RULEID:; SRVR:MWHPR0701MB3820; X-Microsoft-Exchange-Diagnostics: 1; MWHPR0701MB3820; 4:Fpa6Cq+OMUy09nDA/KiZi3WH5E0MO0YFro+eMesaMn2V6Z6KBKm/DDdD+fC/Pbg+gQOpSJFavJJVQL7yTunXj9xxWkH6992GSTyLoClh+rHZHzIhkoSYESEqSxs/CufYAd1HXRYc04BgM2RLVBvGy9PL+ViH5Ax27Y9uNCRt21SVcmmdgmv+qx6UWl/iY+VJJsnqio3uKN0lfwLO8pNsI8PEOb7FDpo6/agqKCvATrpw2D6cN5COiDRl4FXsRC00hJwKYtnyKrAz1MvMNWk6Fg== X-Forefront-PRVS: 0563F2E8B7 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR0701MB3820; 23:3SXam0egwoKc3MZdezdLx+gmveVHsiUHfiEjyAu?= =?us-ascii?Q?ToclmwItEkr6KoMrpuXKLkhD0CAacZt1pNNoCFx6GOtehxxyFkAI9yjpa+Gn?= =?us-ascii?Q?fFRDv3e47R/KMlfGo4Wwxm2H6Lz7cFqbugTImfF9zQbcYta9prY/QlyoZA+2?= =?us-ascii?Q?h3x9gPBWn/CSp6k579v5jnZIeSrWCAZUiwB+/mFsdP/NQhU4PHSsd3v/WTK6?= =?us-ascii?Q?+3ThhABMSRlpAdmLMLb58GLrCJq4ksbcYWo+DhyRYJENZtqSL0bwTbHQWkUJ?= =?us-ascii?Q?NnC6RxPlNU52zZotwZ+ooqAh4+suF4JhTXjk3//hFb7XzIhkHfcA6NW0JUOo?= =?us-ascii?Q?0Xdq6fYhUqhUTS56qfL/xJPtGTS0x0L5QR2UkyMz+/xxZyAuoj4uGKJHHZEc?= =?us-ascii?Q?ywHfHp9F/VaLov2Ub1KOYI4n3s19U91BDco4aIbymgO0i0oEDQGdK71In92O?= =?us-ascii?Q?WjICRWvBuHufkAo0sFpSgR2gzTgrHWSWDGQGP8iIPGX92VACkrbnXDu1dUIr?= =?us-ascii?Q?Zweum48KxI+WMEleo9XjrbhwkwaIoJfebwHamiEJA4F1+83yFl/evZRkKYNy?= =?us-ascii?Q?S4I97yuPQpkJ9zpZ1ot0wigDdc5Ft8SY8qcueW6PyPKgm1Y2dUB/s/T2/kId?= =?us-ascii?Q?uibUfH3dEd1oKq4ksjM0m05ZJUf66gWj2xaVIy9AB5x9jMbj9aVRybGyK9BB?= =?us-ascii?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GAfONsw1t5JxB2I8XwAMuPd0XGphYXrMcUNgWXu7vZmwuHlO2o4B584WgDXuEcupauA5CoUP65XhlJ4rk=; 7:PbNBUf8A4HOdNaH4C75lG+Y3HT+ESOB70Y59yKBT8bOyaMY5OpCQX5RiPFWiHudvDA9bv0fvHKq5CkbzbO3cA2qqe0LpkTULwbB8A3Ompw79m33fhJNiJsm/CdkEhWH4IN5+R39pt59mSry1G71xLRez1Np2v2LG6l7pq5pnw5McLPb6O4Ldw5jkJybgU43Rnbj4WHrcRrGYDI+zS2uwIBckGd7nsCKZg42Sa2Ea1+OcfhAxk/5+pvqixXVsmCQi SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2018 11:23:42.2982 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 58626f40-8539-48be-665c-08d563e61729 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: MWHPR0701MB3820 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: <linux-rdma.vger.kernel.org> X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
On Thu, 2018-01-25 at 13:23 +0200, Michal Kalderon wrote: > There are races where can still get flush on CQEs before the QP enters > error state. This is not an error and should be treated as > debug information. > > Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com> > Signed-off-by: Ariel Elior <Ariel.Elior@cavium.com> Thanks, applied.
diff --git a/drivers/infiniband/hw/qedr/verbs.c b/drivers/infiniband/hw/qedr/verbs.c index b26aa88..9f72164 100644 --- a/drivers/infiniband/hw/qedr/verbs.c +++ b/drivers/infiniband/hw/qedr/verbs.c @@ -3471,9 +3471,9 @@ static int qedr_poll_cq_req(struct qedr_dev *dev, break; case RDMA_CQE_REQ_STS_WORK_REQUEST_FLUSHED_ERR: if (qp->state != QED_ROCE_QP_STATE_ERR) - DP_ERR(dev, - "Error: POLL CQ with RDMA_CQE_REQ_STS_WORK_REQUEST_FLUSHED_ERR. CQ icid=0x%x, QP icid=0x%x\n", - cq->icid, qp->icid); + DP_DEBUG(dev, QEDR_MSG_CQ, + "Error: POLL CQ with RDMA_CQE_REQ_STS_WORK_REQUEST_FLUSHED_ERR. CQ icid=0x%x, QP icid=0x%x\n", + cq->icid, qp->icid); cnt = process_req(dev, qp, cq, num_entries, wc, req->sq_cons, IB_WC_WR_FLUSH_ERR, 1); break;