[openib-general] [PATCH] IPoIB: Add API to retrieve ib device, port, and pkey
Hal Rosenstock
halr at voltaire.com
Thu Oct 6 09:45:39 PDT 2005
On Thu, 2005-10-06 at 12:34, Sean Hefty wrote:
> Hal Rosenstock wrote:
> > IPoIB: Add API to retrieve ib device, port, and pkey
> >
> > (I'm also attaching my patch to at.c which uses this; If this is
> > accepted, I will make up a patch for SDP as well.)
>
> I didn't see any other way to retrieve the pkey associated with an IP address
> without this.
Yes, and I looked at getting the ib_device but there is no easy way so I
added them into the structure returned. Is CMA keeping a list of
ib_devices that it walks for this ?
> For SDP, if we layered it over the CMA, would it still need to access this
> information?
I'm not 100% sure. It partially depends on the CMA APIs. How is the
PathRecord request done ? That's what it's needed for.
-- Hal
More information about the general
mailing list