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

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to