[ofa-general] [PATCH RFC] rds: add iwarp support
Steve Wise
swise at opengridcomputing.com
Mon Jul 7 14:10:09 PDT 2008
Sean Hefty wrote:
>> Maybe there's a better way?
>>
>
> I would look at using rdma_resolve_ip, or using rdma_resolve_addr as is.
>
> The rdma_cm_id ensures that there's a reference on the ib_device for the pointer
> that's returned. The proposed interface returns a pointer without any way to
> verify that it's still valid, or know when it is no longer usable.
>
>
The rds module already _has_ cm_id's bound to these devices. So they
won't "go away" without rds getting an event. The service in question
was just a quick way to map an ip address to its associated struct
ib_device. Perhaps this just needs to be a function inside the rds
module as opposed to something exported from the cma proper...
Steve.
More information about the general
mailing list