Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2952735imm; Sun, 10 Jun 2018 05:27:27 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJb5RIX2wCerhlqMTlX+mRdDHktzi73Q9p3WNx4FUhR3VfAC2twP4DjtpmhRmsKJ49v/i6M X-Received: by 2002:a17:902:740a:: with SMTP id g10-v6mr14374109pll.246.1528633647669; Sun, 10 Jun 2018 05:27:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528633647; cv=none; d=google.com; s=arc-20160816; b=eeQ8Q88Me8zPGYRLlQgIcl9tmWLjgbNYj5T1UHR00hp60j+NLOjaZ5r0vUzq6L6VlN Xq4ONtQkZyWxm//j/WDNkcBeyC0NzUWC3alrs50PIjH0WDAEise4//K0fsOhqwyBvNaT 5MoE2/W5A0kAw3RIwHmZyw2DjMD0aFMZr0MjZDdLo+WKhvYVB52Bn1wYyCIAx0sjC/oi I8Lqo2tPmavq9mLHfOXYX0G3quovwvVI4JvGv/AtXEXAfxdunGMCVwvhzNWeeqNqbXJI rzg2hGd2DM7SamkticGUTKi+o85cq5tMqgueQZz7yXh7spza908vX3Vcdy2AMlQDbWU8 /Dwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=U/XgOWUo3PbBdUj3tGfB0dB7Z7E6Oxuxm6mzbSbXkKg=; b=V008VZCtKGEtsLlV+pAnoGCdtILZS1d0Vsq/or8yRig7xFKgYU8P/LKOI1qpC8qwiF /nMSRwBxESuHK0WICPEwf/fSOponpKBibG1ohEDBAulQT8DP/kE1ZulJppBrlgSWArZm SNra92LNTELy1TcOzLXGUg9uysxg9cc/J1PGLSwKBN35pHN+pleQB8aLn3+pAgGtaVC2 fq/qtVJCtZ5avyjHRMBgmUehPbv3DU2O/XJyOChXwxBMYpNg0UDY88RBpJHU9mVYBDFl S+FZPqvuC+AjSubPmUUZ+tloXXwEYmZfzqjtJO+gnpzsttt5xUzNXCDH1NmsK8Od1zbz Ry1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=nhU1puW6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m21-v6si5443711pgn.599.2018.06.10.05.26.43; Sun, 10 Jun 2018 05:27:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=nhU1puW6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753926AbeFJMZK (ORCPT + 99 others); Sun, 10 Jun 2018 08:25:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:51200 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753899AbeFJMZJ (ORCPT ); Sun, 10 Jun 2018 08:25:09 -0400 Received: from localhost (unknown [193.47.165.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 621A320858; Sun, 10 Jun 2018 12:25:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1528633509; bh=xJq0wIlGVkcvIwc8xZOFLUreEwnzLuyg/umrNdSnZ9Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nhU1puW66AHfD5TPMjuQWdkyCIltFJxuZWVHQd3tZgY0iqNkrUVPfiHlyfK0PL3AN g68PTqNML3r4G74+ss6DivdxrQCCfEHl+iuy8wRsLCvyhowRg6LsmD1jKocM1gOonX QWjqmzyi409DZ9D8hlcF1A1JWQsNhZ0YYU5Nugo0= Date: Sun, 10 Jun 2018 15:25:05 +0300 From: Leon Romanovsky To: Matthew Wilcox Cc: hans.westgaard.ry@oracle.com, Doug Ledford , Jason Gunthorpe , Matthew Wilcox , linux-rdma@vger.kernel.org, =?iso-8859-1?Q?H=E5kon?= Bugge , Parav Pandit , Jack Morgenstein , Pravin Shedge , linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] IB/mad: Use IDR for agent IDs Message-ID: <20180610122505.GM12407@mtr-leonro.mtl.com> References: <20180608174218.32455-1-willy@infradead.org> <20180608174218.32455-3-willy@infradead.org> <20180610063028.GH12407@mtr-leonro.mtl.com> <20180610104305.GA9284@bombadil.infradead.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="L2Brqb15TUChFOBK" Content-Disposition: inline In-Reply-To: <20180610104305.GA9284@bombadil.infradead.org> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --L2Brqb15TUChFOBK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Jun 10, 2018 at 03:43:05AM -0700, Matthew Wilcox wrote: > On Sun, Jun 10, 2018 at 09:30:28AM +0300, Leon Romanovsky wrote: > > 1. IBTA spec doesn't talk at all about the size of TransactionID, more > > on that in section "13.4.6.4 TRANSACTION ID USAGE", the specification > > says: "The contents of the TransactionID (TID) field are implementation- > > dependent. So let's don't call it mlx4 bug. > > I was loosely paraphrasing the original bug report; suggested rewording > of the comments gratefully accepted. Just replace "mlx4 bug" with something like "to comply with mlx4 implementation". > > > 2. The current implementation means that in mlx5-only network we will > > still have upto (1 << 24) TIDs. I don't know if it is really important, > > but worth to mention. > > Actually, the TIDs will be up to 2^56. We're limited to 2^24 clients, > each of which can send up to 2^32 messages. It sounds like more than enough. Thanks > --L2Brqb15TUChFOBK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJbHRihAAoJEORje4g2clinYlkP/0vfiftoDnbAo2tWAQm2FfxV y0PPkTiSeI0o+uFp0R37d0iQnaUoiAqTnfEE48rDY7OEzIvp39+CE5KDuTKH3H0T jIEuTKSEZoVyWkNIg+ukL1ihgQdBVFB4v9N+LWyj3ZqxP0DCtOA/QegNel99DPFR nLFPWJNeGAVMCQTSxuhZrmY5ms3pC83N7PjdddHT2BSXDAFFRjRRa+Q9gG7QcrGV vH+YFs3QOvipR2dCOOIcS797FxSYbtTHQTceooNjp+IoC5Vf/Uu3vYSshsQALvZT piCo+RUBbQbBdKIqh/OQBw+bIxSiUWNbUVMFNw74aehXhLJld9BBw+Y8ldNDlUkN scGeuT3ODU/fqcLtOurpbJ4Kt2m8C3itGRDhKFwJzLqBwpMJwGCcBwN1SPUf5Fti eJLpWkP9e74Uypx981f41GooC9SApsEGG80t7QZ1pa7Xief5yRbAI9PcrvNV5xxz 9w1/5LiFwL0jF7mYzzqytorKun/lfxIkP2FI2AQoDkedQTaa+q3/Kll10rYvLo9m OeSHsPtpyKhGbiHXQLHpgm0Rsl1ss77xlNKEhsSVFO62rwoeJQCobHfUfwPGkzOp tlyrH3c1O+yQqH21U25YrZz1qWJ66gUTJYER7oAD2XpgLj/+xwj+ZNGl5STv5qgP eNr1RB5Ci9qra1cpHlgO =x3xM -----END PGP SIGNATURE----- --L2Brqb15TUChFOBK--