[ofa-general] [PATCH RFC] rds: add iwarp support

Steve Wise swise at opengridcomputing.com
Mon Jul 7 11:07:32 PDT 2008


>>  +struct ib_device *ipaddr_to_ibdev(u32 addr)
>>     
>
> is there a reason why rdma_resolve_addr(NULL, addr, timeout) wouldn't
> do what ipaddr_to_ibdev does?
>
>   
rdma_resolve_addr(NULL,...) doesn't work in the current code. 

Are you suggesting allowing rdma_resolve_addr() with a NULL cm_id? 

The reason for not using rdma_resolve_addr() is to avoid having to 
allocate and free a cm_id each time we just want to find the local ib 
device, given a remote IP addr...

Steve.




More information about the general mailing list