> > > > For userspace, a tuple of the filehandle and existing the per-file > > > handle # would make some sense as a unique ID, but userspace is going > > > to have a pointer not necessarily the handle number :( > > > > I'm not following you here. Who does filehandle/handle# pertain to rdmatool > > fetching objects via netlnk and possibly setting them? > > It is the other side of the question - when rdmatool presents me an > object how do I figure out what it is in 'my world' as userspace. > > Like a PD for instance.. If I have two in a process how do I know > which is which compared to a dump? You don't. :) As it stands now, you can tell only if a given PD is in your process or not based on the process id. Even if we create a device-unique ID for each restrack object, to make it useful to for userspace analysis would require exposing that ID in the various user object structures (or via query methods). EG having pd->res_id, cq->res_id, etc... Steve. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html