Re: [PATCH] IB/core: Make ib_mad_client_id atomic

From: Jason Gunthorpe
Date: Mon Apr 30 2018 - 10:49:43 EST


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