From patchwork Tue Dec 6 01:19:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9461839 Return-Path: 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 2AB5260236 for ; Tue, 6 Dec 2016 01:20:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1494A28306 for ; Tue, 6 Dec 2016 01:20:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 064962831B; Tue, 6 Dec 2016 01:20:00 +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 6EA0028306 for ; Tue, 6 Dec 2016 01:19:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751847AbcLFBT6 (ORCPT ); Mon, 5 Dec 2016 20:19:58 -0500 Received: from mail-cys01nam02on0046.outbound.protection.outlook.com ([104.47.37.46]:22394 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751636AbcLFBT5 (ORCPT ); Mon, 5 Dec 2016 20:19:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=K96Qhfr0S9qwdBSYrK3GLU7Vc6TK/WFn4G7jeznqeY0=; b=AEF1JK5dfYPeCODZyJNSdt8B6YAZS3lCd0e3fAHHBBwBlGNiVz2DRM8B5mMTdZB5I4TrU3KdiWKuMUE2Y2smYnlemWlOuijSiBcG2fGwbjplrefjnL9SU37ttIJm5V+g0hGCcpTrzb7XfmpQwoxkbjvaPTJgeKiw8bz2NtrVjcI= Received: from MWHPR02CA0022.namprd02.prod.outlook.com (10.168.209.160) by CY1PR0201MB0971.namprd02.prod.outlook.com (10.160.165.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.747.13; Tue, 6 Dec 2016 01:19:55 +0000 Received: from BN1BFFO11FD034.protection.gbl (2a01:111:f400:7c10::1:167) by MWHPR02CA0022.outlook.office365.com (2603:10b6:300:4b::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.761.9 via Frontend Transport; Tue, 6 Dec 2016 01:19:54 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.21 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.21; helo=milsmgep15.sandisk.com; Received: from milsmgep15.sandisk.com (63.163.107.21) by BN1BFFO11FD034.mail.protection.outlook.com (10.58.144.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.734.4 via Frontend Transport; Tue, 6 Dec 2016 01:19:53 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:2907; Count:19 Received: from MILHUBIP04.sdcorp.global.sandisk.com (Unknown_Domain [10.201.67.162]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id 4E.26.02899.AFF06485; Mon, 5 Dec 2016 17:10:18 -0800 (PST) Received: from milsmgip11.sandisk.com (10.177.8.100) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Mon, 5 Dec 2016 17:19:52 -0800 X-AuditID: 0ac94369-5f3ff70000000b53-9b-58460ffa5e92 Received: from exp-402881.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id ED.0E.02804.83216485; Mon, 5 Dec 2016 17:19:52 -0800 (PST) Subject: [PATCH 5/5] mlx5, calc_sq_size(): Make a debug message more informative To: Doug Ledford References: <9ff07804-492c-c67a-e729-b31e0f863027@sandisk.com> CC: Eli Cohen , "linux-rdma@vger.kernel.org" From: Bart Van Assche Message-ID: <4387aa0f-5097-d456-eee2-b480dfa5af87@sandisk.com> Date: Mon, 5 Dec 2016 17:19:52 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 MIME-Version: 1.0 In-Reply-To: <9ff07804-492c-c67a-e729-b31e0f863027@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrILMWRmVeSWpSXmKPExsXCddJ5ke4vfrcIgyvd5hYvz39gtfh2MMLi 2aFeFgdmj2fTDzN5vN93lc3j8ya5AOYoLpuU1JzMstQifbsErox1TbOZCpZwVCy89I+pgfEX WxcjJ4eEgInEjUk97CC2kMBSJokJ+6u7GLmA7O2MEvP3HmSFKZq/5BYzRGIxo8SVltOMIAlh gSCJb7d/gk0SEVCT2PRqEdQkO4nXC3YzgdjMArES5z83g9lsAkYS397PZAGxeYFqVi+ZAdbL IqAicartBjOILSoQIdE/5RFUjaDEyZlPwGxOAXuJozPuAM3hAJqpKbF+lz7EeHmJ7W/ngN0m ITCJVeLw29dQN6hLnFwyn2kCo/AsJKNmIbTPQtK+gJF5FaNYbmZOcW56aoGhqV5xYl5KZnG2 XnJ+7iZGSMBn7mC8+8T7EKMAB6MSD++HBtcIIdbEsuLK3EOMEhzMSiK8j3jcIoR4UxIrq1KL 8uOLSnNSiw8xSnOwKInzut37EiYkkJ5YkpqdmlqQWgSTZeLglGpgPKUu9yh+7U4zZYNVnEce dTnLv7MOq9WaJbX37qMo5xUcDntyf/xXD1V//8dFzva80beP61PyhP9uupZbW/7iVmut87Zb KTEGzKWrWl+I7rfe/P83s3j6Db4nRe6Hptx0mBP5r6N5jpTCmfUn3A43+i7y7E3MLK3edo5T +MS2VXLvHFpZEhiklViKMxINtZiLihMBrvKpjXQCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrJJMWRmVeSWpSXmKPExsXCtZGTTddCyC3C4PBMIYuX5z+wWnw7GGHx 7FAviwOzx7Pph5k83u+7yubxeZNcAHMUl01Kak5mWWqRvl0CV8a6ptlMBUs4KhZe+sfUwPiL rYuRk0NCwERi/pJbzF2MXBxCAgsZJaZN+sgMkhAWCJL4dvsnWJGIgJrEpleL2EFsIQE7idcL djOB2MwCsRKnl7SzgthsAkYS397PZAGxeYFqVi+ZAdbLIqAicartBthMUYEIif4pj6BqBCVO znwCZnMK2EscnXEHaqa6xJ95l5ghbHmJ7W/nME9g5JuFpGUWkrJZSMoWMDKvYhTLzcwpzk3P LDA01CtOzEvJLM7WS87P3cQICbzIHYxPJ5ofYmTi4JRqYFRx8jqxcPvkromLeJwuRcl6iyxL /25//pzY8gqXw/L+7U9NkzISvbbaKfnaHrz0ab9esn+dNfNJJR4vS1u1jRW8De8Oh3I9TMli L4rQX8cQIr1zhmDtl4y32hd2rL7Cy92tGnX+yoMTExn9d/y/4y6a7eXNepvxccsfBt/n5bUW zTtbWY1OKrEUZyQaajEXFScCABgk7XvsAQAA X-IncomingHeaderCount: 19 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(199003)(189002)(4001350100001)(97736004)(23676002)(47776003)(92566002)(189998001)(53416004)(31686004)(33646002)(54356999)(50986999)(76176999)(305945005)(2270400002)(64126003)(106466001)(39850400001)(31696002)(69596002)(36756003)(110136003)(50466002)(86362001)(65826007)(83506001)(68736007)(356003)(5660300001)(4326007)(2950100002)(77096006)(38730400001)(65806001)(65956001)(7846002)(39860400001)(39840400001)(39450400002)(8676002)(81166006)(81156014)(2906002)(6916009)(230700001)(626004)(8936002)(39410400001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0201MB0971; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD034; 1:SYiAHkKBcbOokLPtcDUJMRWr/iNqrS0czM3CxB9UTfjzPnP36GIsYBXZvStuRzyvFrxCl7Dw/+i1iCg1t/Bjc04HtsnEMlJdP1lup538uKzYERD2S7AuMS5hlZ7j9ZIpgZHKRyvVhK4z2OBpJbX8YAfdWNBqhDPUKKHYKxRYE2Zg+D+O8ldAywuYyQ0iAt+hLnNG80PmfaPOCtvX9B5c5+VjZtIDHdCtRwtxKzw7Umy2OlIcbMT5Ojip43qBOt+fJdB+iCYwqe5YV53oc3P4mw2Qi/hDGRq3LYmMBRkkXVu5VqcXWmmwu0N6gEgNFZC36AGAQTzLY0+LKNbrr/QLySBlIRbNwYIEIUcXn/93L/lp5c+pIhoHleM/eEUTWj30acDl++0dLE3mp1d7XhYjLUFKUpEfuG15+HJDJPzMY5PLU0NRaADE+vA4TPKRTfbufPo94ZyCYoopiX+lguXfFxe1GBhXOokRkIyVH5DbH+LKvh8Tdb5L1QnUZoAU1pVSHM2h3VqcfUhVIWo20YwChA== X-MS-Office365-Filtering-Correlation-Id: e5210c2f-e4d0-4d44-50f8-08d41d75fbda X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:CY1PR0201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-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(13016025)(13018025)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(20161123562025)(20161123564025)(20161123555025)(6072148); SRVR:CY1PR0201MB0971; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0201MB0971; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0201MB0971; 4:0ez8e/4KsdWqIzmNQCndQdJtsCgRICn6W5yxdZXbrftYR3W7f5yt479jARwF7aR4e/wZwpije6wEp2HWhCP4e85wwvo5PlOzrQfagOQXKEm8M8famSUM4Y1zXuVmCJuqCNh9UGr2geaCfGkQPI4rhAqiaggZag62d/ZptzPkmpuxSQa/PI1idO9cZqQpaY6f0KcO6HdX+v3MyD+QCuwVfG6y+Ne01yV4wKJt0q3n0Htgc4OIu6SCAfSg5LWGgivrTAry69JoZzMvvEl04Nn0MK9kBjuEhU9p5cu2R7bAbhTOQ1ccYRk1qaSI0xiUmWG9ATvSeBiUunQG043FzuqhFvTl7r9jqk73nh+jn0oq4JbYgTL7LDPKZD5MfG+c+5TekLZ13IvUSdWaR+mkH66siUFHb5ucKX5PzkSiEjSFfW8Wg6m37WVTCZRNY0gYmnS5xg8U1UwXX934TcdLHJiwtPDjbKwRRY9mVuls3sx4EFEKskkTYo1tNhTKKObUPtCoNR1vAQZyEnkwkxFitskoPfaiqHwZuLhMSP6d3pb4ByA8+b7Jgp7Yh+q/gTsacJ07WbqykET6VfpbdVfUb+nFdNumFeB/ZGBVUrx5GpksCxKAWwpG5QWEeTesiY2g76mJ/fCJzRGBQoWhQ51l4v1VQkjoI4Bz2iwhzmZD3Vh6yHY= X-Forefront-PRVS: 01480965DA X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTFQUjAyMDFNQjA5NzE7MjM6V0FscWgwNE1tb3JlOHBVTWxKYkRIOXVN?= =?utf-8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aX+3ehiFJdxIv36qT0j11RrnmqPB8ScVO0f0PLLDtUc7bQ2liwjn2ubtbyb7KYlP+qIUPJBWcc+XS7pvvpB7zb7ec4uWeixgq454PmaBkpMPflm+8VtKx4bNNHtZ6VHCBwLV9sEjOE7s2gupkJvNw12O8L+REBrb7Ob2jc6L/mmpAqcELqFSs/s8XjHQq5x5OvQ==; 20:ccQittp5psG8IYTHRd9wCZyfUeyrjSEJwKnaiGzQFCQ8b9rF9ZdTIzeToi+luv2sLQkGfhVFcvRIhJfpUpgYpDS/aMxBe5Tm0CXvZUwW5IfyqCyenoATNc+c+UIo5WBc5hWmMQYL1blkOtDpffqpnaj7UIBsEDUuglJazJQ8suPBLsKWzDaSoqgL1+E0psGsmd3LtBEjJJMAUV6jbP/FlUTZFZkZfK/VcjwFdYmJNhdkfWVE1k48f9Ri0XrVBvpz X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Dec 2016 01:19:53.6106 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.21]; Helo=[milsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0201MB0971 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Make it clear that qp->sq.wqe_cnt is not the number of WQEs. Signed-off-by: Bart Van Assche Cc: Eli Cohen Acked-by: Leon Romanovsky --- drivers/infiniband/hw/mlx5/qp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/mlx5/qp.c b/drivers/infiniband/hw/mlx5/qp.c index b2c6c13d44ac..735b8aadb84c 100644 --- a/drivers/infiniband/hw/mlx5/qp.c +++ b/drivers/infiniband/hw/mlx5/qp.c @@ -381,7 +381,8 @@ static int calc_sq_size(struct mlx5_ib_dev *dev, struct ib_qp_init_attr *attr, wq_size = roundup_pow_of_two(attr->cap.max_send_wr * wqe_size); qp->sq.wqe_cnt = wq_size / MLX5_SEND_WQE_BB; if (qp->sq.wqe_cnt > (1 << MLX5_CAP_GEN(dev->mdev, log_max_qp_sz))) { - mlx5_ib_dbg(dev, "wqe count(%d) exceeds limits(%d)\n", + mlx5_ib_dbg(dev, "send queue size (%d * %d / %d -> %d) exceeds limits(%d)\n", + attr->cap.max_send_wr, wqe_size, MLX5_SEND_WQE_BB, qp->sq.wqe_cnt, 1 << MLX5_CAP_GEN(dev->mdev, log_max_qp_sz)); return -ENOMEM;