[openib-general] [PATCH] rdma_cm oops: rdma_destroy_id

Sean Hefty mshefty at ichips.intel.com
Wed Mar 15 09:51:20 PST 2006


Roland Dreier wrote:
>     Michael> Given that iwarp support on trunk is for now just a stub
>     Michael> ...  I guess we can just fix the IB part, and worry about
>     Michael> the iWARP part when its there.
> 
> My confusion comes from the fact that rdma_resolve_addr() just calls
> rdma_resolve_ip() unconditionally (except for loopback addresses),
> even on the iWARP branch.  So I'm confused about the design, since I
> thought ib_addr was IB-specific.

ib_addr is IB specific, but making it generic only requires a fairly small 
patch.  The code originally converted a IP address to a GID, but it now converts 
an IP address to device address.  The only IB specific portion is checking that 
a given net_device has a device type of ARPHRD_INFINIBAND, so that the RDMA 
device type can be set appropriately.

- Sean




More information about the general mailing list