Received: by 10.192.165.148 with SMTP id m20csp3874180imm; Mon, 30 Apr 2018 07:51:22 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp97gYi18/G3v4/uWz8I8APXaCbp1LUbl21o5yyRTWedNrxwOIl9YohVLfIagfCY1NRA0XV X-Received: by 10.98.70.155 with SMTP id o27mr12221808pfi.124.1525099881998; Mon, 30 Apr 2018 07:51:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525099881; cv=none; d=google.com; s=arc-20160816; b=L48BqyTwJfIAd3ow69NYjy2zzJpjZL5xLgbwMPLBEXP70x/rpBkBPhpxbGE0Ke5wC0 4AofY2Cp8SjhYPXMFpPSlWz8wM8PDlvMOpXAbtP2n8PzJGG7Bag9+TmqR5dl7ueLxjGd sztQadSaEzfWvIAoK9YSFtPTV/RQajLMxLcCbPInNvswc10azKJttHwzhqDtJa/7tPna 6osI1S34plZwDJSOTGTizs4yKdR3W31bzeu5ILLfNwK3+ffDOjJpIxidLB090q5WKaUG 8jhXo3mzhSbdAJW45s3Qz2SujDtsb9QkenWCXM+1bs6WXiHq1w3SlMLWTwKRz8P6LRgd VPyA== 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=xcJX1r1zXs2ix1X3EsN+dyE/65hb1rNtVv1an07u8x0=; b=mpvbB7wxKIkmLzgBADznhB4qu+q3DU8WhscmUZQGuAT5zXKuD//gDAqQEvWC9E3fG1 Ig+2+HZe7cZAYsBPnAFrGH0iTGSXp5B0vTC+YOUDM3GnHwTkDIb3vhPg+sgVuCNAX8nx xli+914EPUj92Wp4xGzr6133fPwj9A8uclFLqLnnpPGH4dYDBAOnbSV9Ah7v70qvLwss dvCdocBe/8+qH5o1Wxwa/NPeqls7odF3/U6jrrz/dPLU9w8Jr+2xtNMEChlGBLwMA5km nnoOKzPaLsfar2Z4dHf+5dQL29bj84ithTKZX0u8ZT/DsBD/qv7X4e9zK928rczgdEqg os6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=hLUQ9Jpx; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h187-v6si6337843pgc.100.2018.04.30.07.51.06; Mon, 30 Apr 2018 07:51:21 -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=@ziepe.ca header.s=google header.b=hLUQ9Jpx; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754460AbeD3Otg (ORCPT + 99 others); Mon, 30 Apr 2018 10:49:36 -0400 Received: from mail-pf0-f179.google.com ([209.85.192.179]:38706 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754354AbeD3Otd (ORCPT ); Mon, 30 Apr 2018 10:49:33 -0400 Received: by mail-pf0-f179.google.com with SMTP id o76so6914199pfi.5 for ; Mon, 30 Apr 2018 07:49:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=xcJX1r1zXs2ix1X3EsN+dyE/65hb1rNtVv1an07u8x0=; b=hLUQ9JpxCEnPgfaFVZQZ5ma+neiP+/QxpxR8g2pSykvm5nNKUjNN7DqWOs6jkLOfFd ehIWjVxLdMNEX4jqJyfBUnGZsj/opVqpGsjc7/prp6z8oyJpaOiK3ILf8RGs/itRxdKf wX81MKpBkvNBBaWBSHgAwePpqWnPpPw5dmThuAt4IuXh0TDgW0PxEE5vt3KUtm/rhY5j iIpv5hSrI7bqZ6RSPRVH/044Hq2YD5A6F7O8aocwUc5a1xM0qZJXIP8uTr0iEsp2rSRG ViXIsK/EMouTS4u/cBJ6U3ymR/d8GwtlLVTgPAbKK5LGXDquWpadmQJLHVKl8Z4+E58Y w/gA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=xcJX1r1zXs2ix1X3EsN+dyE/65hb1rNtVv1an07u8x0=; b=mXN/uNDJKQPZbJsb1ztB2srSrOJWS6QJfzVpN5Bw3uUFpS8RkZYU+zG5l7xR4JEs/c FTEJFp/7bE9+Q7Qt08gWL/54ZeMk3GXeFWF1CZvk0H1iPd8ZMSA+/1rxtoMlAVppS1cs Y6tPcmlyOqHbPb+oUTImP+TR8MgqA1NW7PvARhl4IaHsconnf4xa55SmrbvqrbEYMNMh GWN6IbuJV6DRBhxyH+7ERngLet58wAh62RckxH98TM20GTYsjN0G/BVbjJpTZX73lDw8 vriOYAJBGiCgSVxR6YZUI49cGn9qQmXyY/PMJwWt30tOZfqttxwA2y3lt+GuTBGm4VZz mQHQ== X-Gm-Message-State: ALQs6tD5W4CkvnHuAToo1/8rvlP/IhSNYq8jrHLL2BoQ2Oxo9HhvO/A8 a3tS9pKY3oSoGdtJMHFi6okROw== X-Received: by 10.98.59.24 with SMTP id i24mr12115678pfa.246.1525099772456; Mon, 30 Apr 2018 07:49:32 -0700 (PDT) Received: from ziepe.ca (S010614cc2056d97f.ed.shawcable.net. [174.3.196.123]) by smtp.gmail.com with ESMTPSA id r81sm16940338pfj.79.2018.04.30.07.49.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Apr 2018 07:49:31 -0700 (PDT) Received: from jgg by mlx.ziepe.ca with local (Exim 4.86_2) (envelope-from ) id 1fDA7O-0007H1-Qn; Mon, 30 Apr 2018 08:49:30 -0600 Date: Mon, 30 Apr 2018 08:49:30 -0600 From: Jason Gunthorpe To: jackm Cc: =?utf-8?B?SMOla29u?= Bugge , Doug Ledford , Don Hiatt , Dasaratharaman Chandramouli , Ira Weiny , Sean Hefty , OFED mailing list , linux-kernel@vger.kernel.org Subject: Re: [PATCH] IB/core: Make ib_mad_client_id atomic Message-ID: <20180430144930.GB26895@ziepe.ca> References: <20180418142450.15581-1-Haakon.Bugge@oracle.com> <1524196555.11756.30.camel@redhat.com> <20180420153451.GF30433@ziepe.ca> <50E3FE4A-2C6E-4493-92E1-383C349FAE3A@oracle.com> <20180423221618.0000795d@dev.mellanox.co.il> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180423221618.0000795d@dev.mellanox.co.il> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 23, 2018 at 10:16:18PM +0300, jackm wrote: > > > TIDs need to be globally unique on the entire machine. > Jason, that is not exactly correct. The expecation for /dev/umad users is that they all receive locally unique TID prefixes. The kernel may be OK to keep things port-specific but it is slightly breaking the API we are presenting to userspace to allow them to alias.. Jason