Re: [openib-general] [PATCH] IPoIB: Add API to retrieve ib device, port, and pkey

2005-10-06 Thread Sean Hefty
Hal Rosenstock wrote: The CMA maintains a list of devices. The address translation code takes an IP address and returns the corresponding GID. The CMA looks up the GID against its list of devices. All synchronization for device removal is handled by the CMA. The only way I see is that a use

Re: [openib-general] [PATCH] IPoIB: Add API to retrieve ib device, port, and pkey

2005-10-06 Thread Hal Rosenstock
On Thu, 2005-10-06 at 13:01, Sean Hefty wrote: > Hal Rosenstock wrote: > >>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 return

Re: [openib-general] [PATCH] IPoIB: Add API to retrieve ib device, port, and pkey

2005-10-06 Thread Sean Hefty
Hal Rosenstock wrote: 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 ? The C

Re: [openib-general] [PATCH] IPoIB: Add API to retrieve ib device, port, and pkey

2005-10-06 Thread Hal Rosenstock
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 retriev

Re: [openib-general] [PATCH] IPoIB: Add API to retrieve ib device, port, and pkey

2005-10-06 Thread Sean Hefty
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. For SDP,

[openib-general] [PATCH] IPoIB: Add API to retrieve ib device, port, and pkey

2005-10-06 Thread Hal Rosenstock
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.) Signed-off-by: Hal Rosenstock <[EMAIL PROTECTED]> Index: ipoib.h ==