Re: [PATCH v1 00/24] Shared PD and MR

Yuval Shaia
2019-08-26T10:11:18Z

>
> >
> > >
> > > Why is SCM_RIGHTS on the rdma context FD not sufficient to share the entire
> > > context, PD, and all MR's?
> >
> > Well, this SCM_RIGHTS is great, one can share the IB context with another.
> > But it is not enough, because:
> > - What API the second process can use to get his hands on one of the PDs or
> > MRs from this context?
>
> MRs can be passed by {PD,key} through any number of mechanisms. All you need
> is an ID for them. Maybe this is clear in the code. If so sorry about that.

So given an ID of a PD, what is the function is can use to get the pointer
to the ibv_pd object?

>