Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3616751imm; Sun, 10 Jun 2018 21:36:00 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJnFkVqrg1yK07KFTr69fIlOreANHdPmSX+5ayGJbxV9f15BzSJmi4HKQFTu90XKAwu/luw X-Received: by 2002:a65:6147:: with SMTP id o7-v6mr6196677pgv.163.1528691760601; Sun, 10 Jun 2018 21:36:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528691760; cv=none; d=google.com; s=arc-20160816; b=ye0uSiGfFV3+t+TXgee9LbC0BKhFa0Ahf23S69MpCEEOHf+Tza6DVxsoNv/zRAoFyK q4L1SUiJ5tSE7NF2bsV8VXu7TmfwP9VHTPCV5XW5sZeXvf3uiILOGNh2htZ7wOt22osj 3sD1IV5gcYM44wM0MY2qEv7fE4GhPaRVDe2/Tf5ubdZbUHAFJeM+5HpHaAYaBgaZSCSw WcGc5HYPCnFPT/wRtMt0CG4e9ZGq382X4qTC82vUAXRG1V2yhtSzbnqk8Jwjh5KN0CP7 Czgevh4Ukx41Df8kU7qIUUWNeHhEACtKAwqwMYkUKzU1vnRQ7CzOZZ1YVe2H7Cxu4kXc Qhcw== 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=1evqEWNTDARlzbR3+4JuYbS7eYy1Hn9zY9EUrTAwwpQ=; b=lk1Bst/ta5fRjkz6feZs3tEmONst8RlSQLeL+rJvd5An6617iqpRpg1YEo7owVvfo2 cKs5a9xSQWuMmodUtnx5VRRRXluA1j+V2tqxkX537Rvx5RVP+iZ/+Z9nZ2HV08qZCoxQ HaMsoy0YZf1FR66971WSFhi7BAUaCd7PNC9AvAkDYQG7QHt19HuFuUejJyqHvMlNUAnI CcZxHe1OQn2omlWaquIXCI16X5nB/21leKY3CePD1pFPaU7eoJ+wylZcNoTS1Wn6Uc/3 CDc87mFzuoDamHpdBJpLLVJbiyYimJY1J5KLgSB8F5BF0H5K9AVSAEsoHHlts84o9MB/ ajvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=W770NeD6; 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 t23-v6si24363374plr.498.2018.06.10.21.35.45; Sun, 10 Jun 2018 21:36:00 -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=W770NeD6; 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 S932295AbeFKEea (ORCPT + 99 others); Mon, 11 Jun 2018 00:34:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:35480 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753736AbeFKEe3 (ORCPT ); Mon, 11 Jun 2018 00:34:29 -0400 Received: from localhost (unknown [5.29.173.205]) (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 6C1202087E; Mon, 11 Jun 2018 04:34:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1528691668; bh=c7B3k/s09DDBUC3zbvKJqiVeHAG7jK6poExxvAei3hc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=W770NeD6TFOl2Bdn5SQful9SGwNC80Hjg+45muzw1u8M8r1AJC1gvs5TmtEgbwF+I euxg4zb2bwn4IqZUG7Ak9QC+Di5AS15DnOmotKpvqxP15tisbe1VqDf+U6NWHHoFUm qlVpE/YhSSORPT2/LDR3hv+/v6tubUQ98HHOCaTc= Date: Mon, 11 Jun 2018 07:34:25 +0300 From: Leon Romanovsky To: Jason Gunthorpe Cc: Matthew Wilcox , hans.westgaard.ry@oracle.com, Doug Ledford , 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: <20180611043425.GA21382@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> <20180610122505.GM12407@mtr-leonro.mtl.com> <20180610203027.GF5560@mellanox.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline In-Reply-To: <20180610203027.GF5560@mellanox.com> 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 --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Jun 10, 2018 at 02:30:27PM -0600, Jason Gunthorpe wrote: > On Sun, Jun 10, 2018 at 03:25:05PM +0300, Leon Romanovsky wrote: > > 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". > > Well, it is a bug. Blindly replacing the upper 8 bits of the TID in a > driver without accommodation from the core is totally, bonkers wrong. I provided cite from spec that says that TID can be whatever you want as long as you success to do it unique. > > The original concept was that the 1<<24 limit would come from the > driver and only mlx4 would have less than 1<<32, because only mlx4 > does this thing.. > > Thanks Matt, > Jason > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJbHfvRAAoJEORje4g2clink8EQAMv8h8rJtH/TZ5k8S1PM3SR7 SY1qRYNfEmigAWjwP2PwJu6Um314Azrap93axOdAIVkPFfErfQdbg3vAAVq+RN3n FgshwxAzoqUAlfDWN0O///rNFg2f4t2ynrzuw4v43JowjwaUq3MPJzt/4EiZx4SN nGiTUmtAa+aHcxTLo7/j55+ACRF1CfcADGDeDJ7F5LI6FBqqztduqtydpbS5QxgP eraDcrpm2NP1fNlflnY+Xc05tAUJGKOWc0f9qrM6/evA6o6zmVMN5pnmTgyS8diG yo8HuKzjDnCGEAAuS8kapS7zJMvshMsgHZWqeh7wvjkot9736RfdnCrbsnp31/aO E3mSPtMW5AkKrLD+ZOOd0Qk2YE0oO6HirRHwYmdI0108V4pon9V18gIn7NmWa/AB MfCwz5CjL1K7dE0/FNso/GIMSN3VPc3k654P3IH9ZbZZIPv7yLOhwvMiqu0NPC2Z /SMzInu+FXdAZy8Kf0p+fc6FTjGStUpBasuPJj8lsLfIW14hA0sMWFT37boS9OCt ipWvsqtmd7TcXoHb5Mgk68jmZ6tZ+m2+oSNsh2bqum1AxCOFNVOPisQFNRvMJ42I rPNBiDHH9six4p6X5k7wxP79dTPA9EoAzsmtVIllRV+D2WP1ejdM99QOVVtgIxKu WMCaFGuhsHjoiQ8CRZUR =l0ox -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm--